|
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
Base class for common code for JCSplitWizard and JCWizard.
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 ActionListener |
cancelListener
A listener on the "cancel" button that is implemented as an anonymous inner class; it simply invokes the containing classes cancel()
method. |
protected CardLayout |
cardLayout
Layout used. |
protected Container |
cardOwner
Handle for the container which has the cardlayout. |
protected ActionListener |
finishListener
A listener on the "finish" button that is implemented as an anonymous inner class; it simply invokes the containing classes finish()
method. |
protected ActionListener |
helpListener
A listener on the "help" button that is implemented as an anonymous inner class; it simply invokes the containing classes help()
method. |
protected com.klg.jclass.util.JCListenerList |
listeners
List of wizard listeners registered with the Bean. |
protected ActionListener |
nextListener
A listener on the "next" button that is implemented as an anonymous inner class; it simply invokes the containing classes next()
method. |
protected ActionListener |
previousListener
A listener on the "previous" button that is implemented as an anonymous inner class; it simply invokes the containing classes previous()
method. |
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 | |
BaseWizard()
No argument constructor for the baseWizard, called by subclasses. |
Method Summary | |
void |
addWizardListener(com.klg.jclass.swing.JCWizardListener l)
Adds a new WizardListener to the list. |
abstract boolean |
cancel()
Invokes the registered "cancel" action. |
abstract boolean |
finish()
Invokes the registered "finish" action |
void |
first()
Moves to the first page in the Wizard. |
String |
getAbout()
Returns vendor information. |
protected abstract Component |
getCurrentPage()
Should return the last page. |
abstract void |
help()
Invokes the registered "help" action. |
boolean |
isLastPage(Component comp)
Returns true if the given component is the last page. |
void |
last()
Moves to the last page in the Wizard. |
abstract boolean |
next()
Advances to the next page. |
abstract boolean |
previous()
Moves to the previous page. |
void |
removeWizardListener(com.klg.jclass.swing.JCWizardListener l)
Removes a ValidateListener from the list. |
void |
setAbout(String s)
Provided for Beans property editors - has no effect. |
void |
show(String name)
Moves to the wizard page with the specified name. |
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 CardLayout cardLayout
protected Container cardOwner
protected transient com.klg.jclass.util.JCListenerList listeners
protected transient ActionListener nextListener
next()
method.
next()
protected transient ActionListener previousListener
previous()
method.
previous()
protected transient ActionListener finishListener
finish()
method.
finish()
protected transient ActionListener cancelListener
cancel()
method.
cancel()
protected transient ActionListener helpListener
help()
method.
help()
Constructor Detail |
public BaseWizard()
Method Detail |
public void setAbout(String s)
s
- public String getAbout()
public boolean isLastPage(Component comp)
comp
-
public void show(String name)
name
- name of the page when it was added to the JCWizard
first()
,
last()
protected abstract Component getCurrentPage()
public void first()
last()
,
show(java.lang.String)
public void last()
first()
,
show(java.lang.String)
public abstract boolean next()
previous()
,
finish()
,
cancel()
public abstract boolean previous()
next()
,
finish()
,
cancel()
public abstract boolean cancel()
next()
,
previous()
,
finish()
public abstract void help()
next()
,
previous()
,
finish()
,
cancel()
public abstract boolean finish()
next()
,
previous()
,
cancel()
public void addWizardListener(com.klg.jclass.swing.JCWizardListener l)
WizardListener
to the list.
l
- public void removeWizardListener(com.klg.jclass.swing.JCWizardListener l)
ValidateListener
from the list.
l
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |