|
|||||||||
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 org.freixas.jwizard.JWizardPanel
public class JWizardPanel
This class creates a panel that can be used for a single step in a Wizard dialog. See the class documentation for JWizardDialog for more information on using this class together with JWizardDialog.
Components added to this panel should be added to the panel returned by getContentPanel().
JWizardDialog
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
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 | |
---|---|
JWizardPanel()
Creates a new JWizardPanel with a double buffer and a flow layout. |
|
JWizardPanel(boolean isDoubleBuffered)
Creates a new JWizardPanel a flow layout and the specified buffering strategy. |
|
JWizardPanel(LayoutManager layout)
Create a new buffered JWizardPanel with the specified layout manager. |
|
JWizardPanel(LayoutManager layout,
boolean isDoubleBuffered)
Creates a new JWizardPanel with the specified layout manager and buffering strategy. |
Method Summary | |
---|---|
void |
addNotify()
Do not call directly. |
protected void |
back()
Called when the Back button is pressed. |
int |
getBackStep()
Get the wizard step to go to when the Back button is pressed. |
JPanel |
getContentPane()
Get a JPanel to use for adding your own components to this WizardPanel. |
int |
getNextStep()
Get the wizard step to go to when the Next button is pressed. |
String |
getStepTitle()
Get the step title to use for this step. |
JWizardDialog |
getWizardParent()
Returns the JWizardDialog in which this JWizardPanel resides. |
protected void |
help()
Called when the Help button is pressed. |
protected void |
makingVisible()
Called just prior to making this panel visible. |
protected void |
next()
Called when the Next button is pressed. |
void |
setBackStep(int backStep)
Set the wizard step to go to when the Back button is pressed. |
void |
setNextStep(int nextStep)
Set the wizard step to go to when the Next button is pressed. |
void |
setStepTitle(String stepTitle)
Set the title to use for this step. |
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 |
Constructor Detail |
---|
public JWizardPanel()
public JWizardPanel(LayoutManager layout)
layout
- The LayoutManager for the content pane.public JWizardPanel(boolean isDoubleBuffered)
isDoubleBuffered
- True for double-buffering, which uses
additional memory space to achieve fast, flicker-free updates.public JWizardPanel(LayoutManager layout, boolean isDoubleBuffered)
layout
- The LayoutManager for the content pane.isDoubleBuffered
- True for double-buffering, which uses
additional memory space to achieve fast, flicker-free updates.Method Detail |
---|
public void setStepTitle(String stepTitle)
stepTitle
- The title to use for this step.public String getStepTitle()
public JPanel getContentPane()
public int getBackStep()
public void setBackStep(int backStep)
backStep
- The wizard step to go to when the Back button is pressed.public int getNextStep()
public void setNextStep(int nextStep)
nextStep
- The wizard step to go to when the Next button is pressed.public JWizardDialog getWizardParent()
public void addNotify()
addNotify
in class JComponent
protected void makingVisible()
protected void back()
setBackStep(int)
protected void next()
setNextStep(int)
protected void help()
|
Copyright © 2004-2005 Antonio Freixas Licensed under the Artistic License |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |