|
|||||||||
| Home >> All >> org >> mrbook >> mrpostman >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mrbook.mrpostman.gui
Class HelpBrowser

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.mrbook.mrpostman.gui.HelpBrowser
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class HelpBrowser
- extends javax.swing.JFrame
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
static java.lang.String |
CVSID
|
private java.util.Stack |
history
Stores the history of previous pages as URL objects. |
private java.net.URL |
homeLocation
Our home location |
(package private) javax.swing.JEditorPane |
htmlPane
This frame's HTML panel |
private java.awt.Image |
img
|
private static int |
INITIAL_HEIGHT
|
private static int |
INITIAL_WIDTH
|
private static java.util.logging.Logger |
logger
Logger |
private java.awt.Toolkit |
toolkit
|
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
HelpBrowser(java.lang.String homeUrlStr,
java.lang.String startUrlStr,
java.awt.Component parent)
|
|
| Method Summary | |
void |
clearHistory()
Clear the history list. |
javax.swing.event.HyperlinkListener |
createHyperLinkListener()
Return a new HyperlinkListener |
private void |
initialise(java.lang.String homeUrlStr,
java.lang.String showUrlStr)
|
private void |
initialiseGui(java.net.URL location)
|
static void |
main(java.lang.String[] args)
Debug method |
void |
setLocation(java.lang.String location,
boolean clearHistory)
Set the current location of the help browser. |
void |
setLocation(java.net.URL location)
Set the current location of the help browser. |
| Methods inherited from class java.awt.Frame |
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
CVSID
public static final java.lang.String CVSID
- See Also:
- Constant Field Values
logger
private static java.util.logging.Logger logger
- Logger
INITIAL_WIDTH
private static final int INITIAL_WIDTH
- See Also:
- Constant Field Values
INITIAL_HEIGHT
private static final int INITIAL_HEIGHT
- See Also:
- Constant Field Values
htmlPane
javax.swing.JEditorPane htmlPane
- This frame's HTML panel
history
private java.util.Stack history
- Stores the history of previous pages as URL objects.
homeLocation
private java.net.URL homeLocation
- Our home location
toolkit
private java.awt.Toolkit toolkit
img
private java.awt.Image img
| Constructor Detail |
HelpBrowser
public HelpBrowser(java.lang.String homeUrlStr, java.lang.String startUrlStr, java.awt.Component parent)
| Method Detail |
initialise
private void initialise(java.lang.String homeUrlStr, java.lang.String showUrlStr)
initialiseGui
private void initialiseGui(java.net.URL location) throws java.io.IOException, java.net.MalformedURLException
createHyperLinkListener
public javax.swing.event.HyperlinkListener createHyperLinkListener()
- Return a new HyperlinkListener
setLocation
public void setLocation(java.net.URL location)
- Set the current location of the help browser.
setLocation
public void setLocation(java.lang.String location, boolean clearHistory)
- Set the current location of the help browser. This also optionally clears the history list.
clearHistory
public void clearHistory()
- Clear the history list.
main
public static void main(java.lang.String[] args)
- Debug method
|
|||||||||
| Home >> All >> org >> mrbook >> mrpostman >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC