|
JIDE 3.5.15 | ||||||||
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.jidesoft.dialog.AbstractPage com.jidesoft.dialog.AbstractDialogPage com.jidesoft.wizard.AbstractWizardPage
public abstract class AbstractWizardPage
AbstractWizardPage is the base class for wizard page. It extends AbstractDialogPage. In addition, it has two more abstract methods.
Nested 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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected JComponent |
_wizardContent
|
static int |
LEFTPANE_CUSTOM
Show any customized content on left pane. |
static int |
LEFTPANE_EMPTY
Show left pane but with nothing in it. |
static int |
LEFTPANE_GRAPHIC
Show an image on left pane. |
static int |
LEFTPANE_HELP
Show help on left pane. |
static int |
LEFTPANE_NONE
Do not show left pane. |
static int |
LEFTPANE_STEPS
Show steps on left pane. |
Fields inherited from class com.jidesoft.dialog.AbstractDialogPage |
---|
_buttonEvent, _description, _icon, _pageEnabled, _parentPage, _title, DESCRIPTION_PROPERTY, ICON_PROPERTY, PROPERTY_PAGE_ENABLED, TITLE_PROPERTY |
Fields inherited from class com.jidesoft.dialog.AbstractPage |
---|
_pageEvent, INVOKE_ON_ALL, INVOKE_ON_NONE, INVOKE_ON_PAINT, INVOKE_ON_REPAINT, INVOKE_ON_UPDATE, INVOKE_ON_VALIDATE |
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 | |
---|---|
AbstractWizardPage(String title)
Creates a wizard page with title. |
|
AbstractWizardPage(String title,
Icon icon)
Creates a wizard page with title and icon. |
|
AbstractWizardPage(String title,
String description)
Creates a wizard page with title and description. |
|
AbstractWizardPage(String title,
String description,
Icon icon)
Creates a wizard page with title, description and icon. |
Method Summary | |
---|---|
abstract JComponent |
createWizardContent()
Subclass should implement this method to creates content of a wizard page. |
Border |
getContentThickBorder()
Gets the value from UIDefaults with key "Wizard.thickPageBorder". |
Border |
getContentThinBorder()
Gets the value from UIDefaults with key "Wizard.thinPageBorder". |
JComponent |
getCustomLeftPane()
Gets the component that will be displayed on the left pane. |
Image |
getGraphic()
Gets the graphic that will be displayed on the left pane. |
String |
getHelpText()
Gets the help text. |
int |
getLeftPaneItems()
Gets what items to be shown on left pane. |
WizardDialogPane |
getOwner()
Gets the owner of this page. |
int |
getSelectedStepIndex()
Gets the selected step index. |
List<String> |
getSteps()
Gets the steps to be show in step pane. |
JComponent |
getWizardContent()
Retrieves the wizard content. |
void |
lazyInitialize()
Initialize the wizard page. |
void |
setHelpText(String text)
Sets the help text. |
void |
setLeftPaneItems(int leftPaneItems)
Sets what to show in left pane. |
abstract void |
setupWizardButtons()
Subclass should implement this method to setup the buttons. |
boolean |
showBannerPane()
Subclass can implement this method to decide if the banner panel should be visible when this page is displayed in wizard. |
protected void |
updateHeaderPanel(JComponent headerPanel,
AbstractDialogPage page)
Updates the banner panel based on current page. |
Methods inherited from class com.jidesoft.dialog.AbstractDialogPage |
---|
addButtonListener, fireButtonEvent, fireButtonEvent, fireButtonEvent, focusDefaultFocusComponent, getButtonListeners, getDefaultFocusComponent, getDescription, getFullTitle, getIcon, getParentPage, getTitle, isPageEnabled, removeButtonListener, setDefaultFocusComponent, setDescription, setIcon, setPageEnabled, setParentPage, setTitle |
Methods inherited from class com.jidesoft.dialog.AbstractPage |
---|
addPageListener, allowClosing, firePageEvent, firePageEvent, getInvokeCondition, getPageListeners, initialize, invalidate, paint, paintAll, paintComponents, removePageListener, repaint, repaint, repaint, repaint, reset, revalidate, setAllowClosing, setInvokeCondition, update |
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 |
---|
public static final int LEFTPANE_NONE
public static final int LEFTPANE_EMPTY
public static final int LEFTPANE_GRAPHIC
public static final int LEFTPANE_STEPS
public static final int LEFTPANE_HELP
public static final int LEFTPANE_CUSTOM
protected JComponent _wizardContent
Constructor Detail |
---|
public AbstractWizardPage(String title)
title
- the title of the page. It will be displayed in banner (in Wizard 97 standard) or top of the content
page above the separate line (in Java L&F standard)public AbstractWizardPage(String title, String description)
title
- the title of the page. It will be displayed in banner (in Wizard 97 standard) or top of the
content page above the separate line (in Java L&F standard)description
- the description of the page. It will be displayed in banner (in Wizard 97 standard) or top of
the content page below the separate line (in Java L&F standard)public AbstractWizardPage(String title, Icon icon)
title
- the title of the page. It will be displayed in banner (in Wizard 97 standard) or top of the content
page above the separate line (in Java L&F standard)icon
- the icon of the page. It will be displayed in banner (in Wizard 97 standard)public AbstractWizardPage(String title, String description, Icon icon)
title
- the title of the page. It will be displayed in banner (in Wizard 97 standard) or top of the
content page above the separate line (in Java L&F standard)description
- the description of the page. It will be displayed in banner (in Wizard 97 standard) or top of
the content page below the separate line (in Java L&F standard)icon
- the icon of the page. It will be displayed in banner (in Wizard 97 standard)Method Detail |
---|
public WizardDialogPane getOwner()
public abstract JComponent createWizardContent()
public abstract void setupWizardButtons()
public JComponent getWizardContent()
public boolean showBannerPane()
public void lazyInitialize()
protected void updateHeaderPanel(JComponent headerPanel, AbstractDialogPage page)
headerPanel
- the header panelpage
- the dialog pagepublic Border getContentThinBorder()
public Border getContentThickBorder()
public int getLeftPaneItems()
public void setLeftPaneItems(int leftPaneItems)
leftPaneItems
- the left pane item bitmappublic List<String> getSteps()
public int getSelectedStepIndex()
public void setHelpText(String text)
text
- new help textpublic String getHelpText()
public Image getGraphic()
public JComponent getCustomLeftPane()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |