|
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.wizard.LeftPane com.jidesoft.wizard.GraphicLeftPane com.jidesoft.wizard.StepsPane com.jidesoft.wizard.JavaStepsPane
public class JavaStepsPane
JavaStepsPane is a pane used by Java L&F wizard standard to display a a list of steps in the left pane.
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 JList |
_contentList
The JList contains the steps. |
protected boolean |
_contentNumbered
|
protected JavaWizardHeader |
_header
|
protected boolean |
_navigable
|
protected Color |
_selectionBackground
|
protected Color |
_selectionForeground
|
protected WizardDialogPane |
_wizardDialogPane
|
Fields inherited from class com.jidesoft.wizard.GraphicLeftPane |
---|
_image, _imageHeight, _imageWidth |
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 | |
---|---|
JavaStepsPane()
Creates JavaStepsPane. |
|
JavaStepsPane(Image image)
|
Method Summary | |
---|---|
protected String |
getResourceString(String key)
Gets the localized string from resource bundle. |
Color |
getSelectionBackground()
Gets the selection background in the step list. |
Color |
getSelectionForeground()
Gets the selection foreground in the step list. |
JList |
getStepsList()
Gets the JList that shows the steps. |
WizardDialogPane |
getWizardDialogPane()
|
boolean |
isNavigable()
|
void |
setNavigable(boolean navigable)
Makes the StepsPane navigable. |
void |
setPageList(List<String> list)
Sets the page list. |
void |
setPageList(PageList list)
Sets the page list. |
void |
setSelectedIndex(int index)
|
void |
setSelectedIndex(int index,
boolean fireEvent)
Sets the selected page using the index. |
void |
setSelectedPage(String title)
|
void |
setSelectedPage(String title,
boolean fireEvent)
Sets the selected page in the list. |
void |
setSelectionBackground(Color selectionBackground)
Sets the selection background. |
void |
setSelectionForeground(Color selectionForeground)
Sets the selection foreground. |
void |
setWizardDialogPane(WizardDialogPane wizardDialogPane)
|
Methods inherited from class com.jidesoft.wizard.GraphicLeftPane |
---|
getPreferredSize, paintComponent |
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 Color _selectionBackground
protected Color _selectionForeground
protected boolean _contentNumbered
protected boolean _navigable
protected WizardDialogPane _wizardDialogPane
protected JList _contentList
protected JavaWizardHeader _header
Constructor Detail |
---|
public JavaStepsPane()
public JavaStepsPane(Image image)
Method Detail |
---|
public void setPageList(PageList list)
setPageList
in class StepsPane
list
- PageListpublic void setPageList(List<String> list)
setPageList
in class StepsPane
list
- a list of titlesprotected String getResourceString(String key)
key
- the resource key.
public void setSelectedPage(String title)
setSelectedPage
in class StepsPane
public void setSelectedPage(String title, boolean fireEvent)
setSelectedPage
in class StepsPane
title
- the selected page title.fireEvent
- true to call setCurrentPage to set the current page in the wizard. False to select the step in the list only and do not call setCurrentPage.public void setSelectedIndex(int index)
setSelectedIndex
in class StepsPane
public void setSelectedIndex(int index, boolean fireEvent)
setSelectedIndex
in class StepsPane
index
- the selected page index.fireEvent
- true to call setCurrentPage to set the current page in the wizard. False to select the step in the list only and do not call setCurrentPage.public Color getSelectionBackground()
public void setSelectionBackground(Color selectionBackground)
selectionBackground
- the new selection background when the step in the list is selected.public Color getSelectionForeground()
public void setSelectionForeground(Color selectionForeground)
selectionForeground
- the new selection foreground when the step in the list is selected.public JList getStepsList()
public boolean isNavigable()
isNavigable
in class StepsPane
public void setNavigable(boolean navigable)
setNavigable
in class StepsPane
navigable
- true or false.public WizardDialogPane getWizardDialogPane()
getWizardDialogPane
in class StepsPane
public void setWizardDialogPane(WizardDialogPane wizardDialogPane)
setWizardDialogPane
in class StepsPane
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |