|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JSplitPane | +--com.klg.jclass.util.swing.JCHelpPane
Class that contains two JCHTMLPane
s. Clicks on links in the pane
on the left will cause the clicked-on URL to be loaded in the pane
on the right.
Nested Class Summary |
Nested classes inherited from class javax.swing.JSplitPane |
JSplitPane.AccessibleJSplitPane |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected com.klg.jclass.util.swing.JCAction |
backAction
|
protected JButton |
backButton
|
protected com.klg.jclass.util.swing.JCHTMLPane |
contentsPane
|
protected int |
currentStackPosition
|
protected com.klg.jclass.util.swing.JCAction |
forwardAction
|
protected JButton |
forwardButton
|
protected JSplitPane |
horizontalPane
|
protected int |
movingThroughStack
|
protected com.klg.jclass.util.swing.JCHelpPane.PageListener |
pageListener
|
protected com.klg.jclass.util.swing.JCHTMLPane |
titlePane
|
protected JToolBar |
toolBarButtonsAddedTo
|
protected JToolBar |
toolBarCreated
|
protected JToolBar |
toolBarListenersAddedTo
|
protected Stack |
urlStack
|
protected boolean |
useToolBar
|
protected JSplitPane |
verticalPane
|
protected com.klg.jclass.util.swing.JCHTMLPane |
viewPane
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JCHelpPane()
|
|
JCHelpPane(String contents,
String view)
|
|
JCHelpPane(String contents,
String view,
String title)
|
|
JCHelpPane(URL contents,
URL view)
|
|
JCHelpPane(URL contents,
URL view,
URL title)
|
Method Summary | |
void |
addNotify()
When this object is added to its parent. |
protected void |
back()
|
protected void |
connectToToolBar()
Implementation of toolbar activation behavior as described in setUseToolBar . |
protected void |
enableButtons()
|
protected void |
forward()
|
String |
getAbout()
Returns vendor information. |
URL |
getContentsPage()
Returns the URL displayed in the contents pane. |
com.klg.jclass.util.swing.JCHTMLPane |
getContentsPane()
Returns the HTML pane on the left hand side. |
JSplitPane |
getHorizontalPane()
|
URL |
getTitlePage()
Returns the URL displayed in the title pane. |
JSplitPane |
getVerticalPane()
|
URL |
getViewPage()
Returns the URL displayed in the contents pane. |
com.klg.jclass.util.swing.JCHTMLPane |
getViewPane()
Returns the HTML pane on the right hand side. |
boolean |
isUseToolBar()
|
void |
resetHelpStack()
|
void |
setAbout(String s)
Provided for Beans property editors - has no effect. |
void |
setContentsPage(URL page)
Sets the contents page. |
void |
setTitlePage(URL page)
Sets the title page. |
protected void |
setupPanes()
|
void |
setUseToolBar(boolean use)
If this method returns true , the component traverses up the tree
to find its root pane container and adds a tool bar to it if one does not
exist. |
void |
setViewPage(URL page)
Sets the view page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.klg.jclass.util.swing.JCHTMLPane contentsPane
protected com.klg.jclass.util.swing.JCHTMLPane viewPane
protected com.klg.jclass.util.swing.JCHTMLPane titlePane
protected JSplitPane horizontalPane
protected JSplitPane verticalPane
protected boolean useToolBar
protected JToolBar toolBarCreated
protected JToolBar toolBarButtonsAddedTo
protected JToolBar toolBarListenersAddedTo
protected JButton forwardButton
protected JButton backButton
protected com.klg.jclass.util.swing.JCAction forwardAction
protected com.klg.jclass.util.swing.JCAction backAction
protected com.klg.jclass.util.swing.JCHelpPane.PageListener pageListener
protected Stack urlStack
protected int currentStackPosition
protected int movingThroughStack
Constructor Detail |
public JCHelpPane()
public JCHelpPane(URL contents, URL view)
public JCHelpPane(URL contents, URL view, URL title)
public JCHelpPane(String contents, String view)
public JCHelpPane(String contents, String view, String title)
Method Detail |
public JSplitPane getHorizontalPane()
public JSplitPane getVerticalPane()
public void resetHelpStack()
public void setAbout(String s)
s
- public String getAbout()
public com.klg.jclass.util.swing.JCHTMLPane getContentsPane()
public com.klg.jclass.util.swing.JCHTMLPane getViewPane()
public void setContentsPage(URL page)
page
- public URL getContentsPage()
public void setViewPage(URL page)
page
- public URL getViewPage()
public void setTitlePage(URL page)
page
- public URL getTitlePage()
public void setUseToolBar(boolean use)
true
, the component traverses up the tree
to find its root pane container and adds a tool bar to it if one does not
exist. If one exists, it will add the HTML navigation buttons to the
existing toolbar. If two buttons exist in the tool bar named
HelpHTMLBack and HelpHTMLForward, then it will not add the
buttons, but rather add listeners to those buttons.
use
- public boolean isUseToolBar()
public void addNotify()
addNotify
in class JComponent
protected void connectToToolBar()
setUseToolBar
.
setUseToolBar(boolean)
protected void setupPanes()
protected void back()
protected void forward()
protected void enableButtons()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |