|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ozziefix.jlwizard.AbstractWizardPage
public abstract class AbstractWizardPage
The WizardPage constitutes (a part of) the view of a Wizard.
This is an abstract implementation of a WizardPage, in the form of a JPanel.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.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 | |
---|---|
AbstractWizardPage()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
The description of the page. |
WizardAction |
getFinishAction()
The action that should be executed when the finish button is clicked. |
WizardAction |
getHelpAction()
The action that should be executed when the help button is clicked. |
javax.swing.Icon |
getIcon()
The icon that represents this page. |
WizardAction |
getNextAction()
The action that should be executed when the next button is clicked. |
javax.swing.JComponent |
getPageComponent()
The JComponent that represents this page. |
WizardAction |
getPreviousAction()
The action that should be executed when the previous button is clicked. |
java.lang.String |
getTitle()
The title of this page. |
Wizard |
getWizard()
Get the parent wizard |
void |
setDescription(java.lang.String description)
The description of the page. |
void |
setFinishAction(WizardAction finishAction)
The action that should be executed when the finish button is clicked. |
void |
setHelpAction(WizardAction helpAction)
The action that should be executed when the help button is clicked. |
void |
setIcon(javax.swing.Icon icon)
The icon that represents this page. |
void |
setNextAction(WizardAction nextAction)
The action that should be executed when the next button is clicked. |
void |
setPreviousAction(WizardAction previousAction)
The action that should be executed when the previous button is clicked. |
void |
setTitle(java.lang.String title)
The title of this page. |
void |
setWizard(Wizard wizard)
This method should only be called by JLWizard, when adding a page to it. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ozziefix.jlwizard.WizardPage |
---|
load, store, validateInput |
Constructor Detail |
---|
public AbstractWizardPage()
Method Detail |
---|
public void setDescription(java.lang.String description)
The description of the page. This could be used in a wizard title bar.
description
- the description of this pagepublic java.lang.String getDescription()
WizardPage
The description of the page. This could be used in a wizard title bar.
getDescription
in interface WizardPage
WizardPage.getDescription()
public void setFinishAction(WizardAction finishAction)
The action that should be executed when the finish button is clicked. If the finish button should be disabled on this page, set this to null.
finishAction
- The finishAction to set.public WizardAction getFinishAction()
WizardPage
The action that should be executed when the finish button is clicked. If the finish button should be disabled on this page, then this must return null.
getFinishAction
in interface WizardPage
WizardPage.getFinishAction()
public void setHelpAction(WizardAction helpAction)
The action that should be executed when the help button is clicked. If the help button should be disabled on this page, set this to null.
helpAction
- The helpAction to set.public WizardAction getHelpAction()
WizardPage
The action that should be executed when the help button is clicked. If the help button should be disabled on this page, then this must return null.
getHelpAction
in interface WizardPage
WizardPage.getHelpAction()
public void setIcon(javax.swing.Icon icon)
The icon that represents this page. This icon could be used is a wizard title bar.
icon
- the iconpublic javax.swing.Icon getIcon()
WizardPage
The icon that represents this page. This icon could be used is a wizard title bar. This should be an 64x64 icon.
getIcon
in interface WizardPage
WizardPage.getIcon()
public void setNextAction(WizardAction nextAction)
The action that should be executed when the next button is clicked. If the next button should be disabled on this page, set this to null.
nextAction
- The nextAction to set.public WizardAction getNextAction()
WizardPage
The action that should be executed when the next button is clicked. If the next button should be disabled on this page, then this must return null.
getNextAction
in interface WizardPage
WizardPage.getNextAction()
public javax.swing.JComponent getPageComponent()
WizardPage
The JComponent that represents this page.
getPageComponent
in interface WizardPage
WizardPage.getPageComponent()
public void setPreviousAction(WizardAction previousAction)
The action that should be executed when the previous button is clicked. If the previous button should be disabled on this page, set this to null.
previousAction
- The previousAction to set.public WizardAction getPreviousAction()
WizardPage
The action that should be executed when the previous button is clicked. If the previous button should be disabled on this page, then this must return null.
getPreviousAction
in interface WizardPage
WizardPage.getPreviousAction()
public void setTitle(java.lang.String title)
The title of this page. This could be used in the title bar of a wizard.
title
- the title of the pagepublic java.lang.String getTitle()
WizardPage
The title of this page. This could be used in the title bar of a wizard.
getTitle
in interface WizardPage
WizardPage.getTitle()
public final Wizard getWizard()
WizardPage
Get the parent wizard
getWizard
in interface WizardPage
WizardPage.getWizard()
public void setWizard(Wizard wizard)
WizardPage
This method should only be called by JLWizard, when adding a page to it.
setWizard
in interface WizardPage
wizard
- the wizard this page belongs to.WizardPage.setWizard(com.ozziefix.jlwizard.Wizard)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |