JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.swing
Class BaseWizardPage

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--com.klg.jclass.swing.BaseWizardPage
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
JCWizardPage

public abstract class BaseWizardPage
extends JPanel
implements Serializable

BaseWizardPage is the common ancestor for SplitWizardPage and JCWizardPage, containing common code.

See Also:
Serialized Form

Nested Class Summary
protected  class BaseWizardPage.CancelAction
          Class to handle Cancel actions.
protected  class BaseWizardPage.HelpAction
          Class to handle Help actions.
protected  class BaseWizardPage.NextAction
          Class to handle Next actions.
protected  class BaseWizardPage.PreviousAction
          Class to handle Previous actions.
 
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
static int ALL
          Indicates that all buttons should be added to the page
protected  JPanel buttonBox
           
static int CANCEL
          Indicates that the Cancel button should be added to the page
protected  BaseWizardPage.CancelAction cancelAction
           
protected  JButton cancelButton
           
static int FINISH
          Indicates thate the Finish button should be added to the page
protected  JButton finishButton
           
protected static int GROUP_SPACING
           
static int HELP
          Indicates that the Help button should be added to the page
protected  BaseWizardPage.HelpAction helpAction
           
protected  JButton helpButton
           
protected static int MARGIN
           
static int NEXT
          Indicates that the Next button should be added to the page
protected  BaseWizardPage.NextAction nextAction
           
protected  JButton nextButton
           
static int NO_BUTTONS
          Indicates that no buttons are to be added to the page
static int PREVIOUS
          Indicates that the Previous button should be added to the page
protected  BaseWizardPage.PreviousAction previousAction
           
protected  JButton previousButton
           
protected  JSeparator separator
           
 
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
BaseWizardPage()
           
 
Method Summary
protected  void createButtonBox(int button_flags, boolean old)
          creates the bottom button box with the specified buttons.
 String getAbout()
          Returns vendor information.
 JButton getCancelButton()
          Gets the cancelButton
 JButton getFinishButton()
          gets the finishButton
 JButton getHelpButton()
          Gets the helpButton
 JButton getNextButton()
          Gets the nextButton
 JButton getPreviousButton()
          Gets the previousButton
 void setAbout(String s)
          Provided for Beans property editors - has no effect.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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
 

Field Detail

NO_BUTTONS

public static final int NO_BUTTONS
Indicates that no buttons are to be added to the page

See Also:
Constant Field Values

PREVIOUS

public static final int PREVIOUS
Indicates that the Previous button should be added to the page

See Also:
Constant Field Values

NEXT

public static final int NEXT
Indicates that the Next button should be added to the page

See Also:
Constant Field Values

FINISH

public static final int FINISH
Indicates thate the Finish button should be added to the page

See Also:
Constant Field Values

CANCEL

public static final int CANCEL
Indicates that the Cancel button should be added to the page

See Also:
Constant Field Values

HELP

public static final int HELP
Indicates that the Help button should be added to the page

See Also:
Constant Field Values

ALL

public static final int ALL
Indicates that all buttons should be added to the page

See Also:
Constant Field Values

GROUP_SPACING

protected static final int GROUP_SPACING
See Also:
Constant Field Values

MARGIN

protected static final int MARGIN
See Also:
Constant Field Values

previousButton

protected JButton previousButton

nextButton

protected JButton nextButton

finishButton

protected JButton finishButton

cancelButton

protected JButton cancelButton

helpButton

protected JButton helpButton

nextAction

protected BaseWizardPage.NextAction nextAction

previousAction

protected BaseWizardPage.PreviousAction previousAction

cancelAction

protected BaseWizardPage.CancelAction cancelAction

helpAction

protected BaseWizardPage.HelpAction helpAction

buttonBox

protected JPanel buttonBox

separator

protected JSeparator separator
Constructor Detail

BaseWizardPage

public BaseWizardPage()
Method Detail

createButtonBox

protected void createButtonBox(int button_flags,
                               boolean old)
creates the bottom button box with the specified buttons. This method is for internal use, but is protected for the convenience of subclassers.

Parameters:
button_flags - The static ints from this class that indicate buttons.

getNextButton

public JButton getNextButton()
Gets the nextButton

Returns:
nextButton

getPreviousButton

public JButton getPreviousButton()
Gets the previousButton

Returns:
previousButton

getFinishButton

public JButton getFinishButton()
gets the finishButton

Returns:
finishButton

getCancelButton

public JButton getCancelButton()
Gets the cancelButton

Returns:
cancelButton

getHelpButton

public JButton getHelpButton()
Gets the helpButton

Returns:
helpButton

setAbout

public void setAbout(String s)
Provided for Beans property editors - has no effect.

Parameters:
s -

getAbout

public String getAbout()
Returns vendor information.

Returns:
vendor information

Copyright © 2004 Quest Software Inc..
All rights reserved.