|
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.JPanel | +--com.klg.jclass.swing.BaseWizard | +--com.klg.jclass.swing.JCSplitWizard
This class creates a wizard with two panes, and a bottom button panel. The left panel can optionally contain an automatically generated Steps list or, like the right panel, any component of the developer's choosing.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
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 JPanel |
rightPanel
The right panel which holds developer content |
protected com.klg.jclass.swing.SplitWizardPage |
splitWizardPage
The SplitWizardPage that fills this panel |
Fields inherited from class com.klg.jclass.swing.BaseWizard |
cancelListener, cardLayout, cardOwner, finishListener, helpListener, listeners, nextListener, previousListener |
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 | |
JCSplitWizard()
Default constructor which creates a SplitWizard, with standard buttons, and no stepslist. |
|
JCSplitWizard(int buttons,
String stepsTitle)
Constructor needs to know which buttons to display, and the progress list title. |
Method Summary | |
void |
addPage(Component page,
String title)
Adds a page to the rightPanel. |
boolean |
cancel()
Invokes the registered "cancel" action. |
boolean |
finish()
Invokes the registered "finish" action |
void |
first()
Moves to the first page in the Wizard. |
JButton |
getCancelButton()
|
Component |
getCurrentPage()
Retireves the current visible page. |
JButton |
getFinishButton()
|
JButton |
getHelpButton()
|
JPanel |
getLeftPanel()
|
JButton |
getNextButton()
|
JButton |
getPreviousButton()
|
void |
help()
Invokes the registered "help" action. |
boolean |
next()
Advances to the next page. |
boolean |
previous()
Moves to the previous page. |
protected void |
updatePage()
updates splicWizard page items like current list item, if any and enabling/disabling next and previous buttons depending upn which page is visible. |
Methods inherited from class com.klg.jclass.swing.BaseWizard |
addWizardListener, getAbout, isLastPage, last, removeWizardListener, setAbout, show |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected com.klg.jclass.swing.SplitWizardPage splitWizardPage
protected JPanel rightPanel
Constructor Detail |
public JCSplitWizard()
public JCSplitWizard(int buttons, String stepsTitle)
buttons
- which buttons to use - integer values
from BaseWizardPagestepsTitle
- The title to use for an automatically generated
progressList displayed in the left panel. If null, no list is created.Method Detail |
public JButton getNextButton()
public JButton getPreviousButton()
public JButton getFinishButton()
public JButton getCancelButton()
public JButton getHelpButton()
public JPanel getLeftPanel()
public void first()
first
in class BaseWizard
BaseWizard.last()
,
BaseWizard.show(java.lang.String)
public boolean next()
next
in class BaseWizard
previous()
,
finish()
,
cancel()
public boolean previous()
previous
in class BaseWizard
next()
,
finish()
,
cancel()
protected void updatePage()
public boolean cancel()
cancel
in class BaseWizard
next()
,
previous()
,
finish()
public void help()
help
in class BaseWizard
next()
,
previous()
,
finish()
,
cancel()
public boolean finish()
finish
in class BaseWizard
next()
,
previous()
,
cancel()
public Component getCurrentPage()
getCurrentPage
in class BaseWizard
public void addPage(Component page, String title)
page
- Component which will populate the right paneltitle
- Title for the right panel, which will appear
above the right panel, and in the progresslist, if used.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |