java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.enhydra.tool.common.TBWizardDialog
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class TBWizardDialog
- extends javax.swing.JDialog
The CodeGenDialog defines a default container for presenting
wizards. To use this class you need to a create one or more
CodeGenPage objects and add them to this dialog. This dialog
supplies action buttons for the Previous, Next, Finish,
Cancel and Help.
This class is used when creating a standalone wizard. Use the
OpenTools BasicWizard when developing JBuilder add-ins.
| Nested classes inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
| Nested classes inherited from class java.awt.Dialog |
java.awt.Dialog.AccessibleAWTDialog |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Fields inherited from class java.awt.Dialog |
|
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| Methods inherited from class javax.swing.JDialog |
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getPreferredSize, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
| Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getGraphicsConfiguration, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
res
static java.util.ResourceBundle res
FILE_WIZARD_JPG
private final java.lang.String FILE_WIZARD_JPG
- See Also:
- Constant Field Values
CHOICE_FINISH
public static final int CHOICE_FINISH
- Indicates user choose to close the dialog with the Finish button.
- See Also:
- Constant Field Values
CHOICE_CANCEL
public static final int CHOICE_CANCEL
- Indicates user choose to close the dialog with the Cancel button.
- See Also:
- Constant Field Values
TITLE
private static final java.lang.String TITLE
border
private transient javax.swing.border.Border border
buttonBack
private transient javax.swing.JButton buttonBack
buttonCancel
private transient javax.swing.JButton buttonCancel
buttonFinish
private transient javax.swing.JButton buttonFinish
buttonHelp
private transient javax.swing.JButton buttonHelp
buttonNext
private transient javax.swing.JButton buttonNext
deck
private transient TBWizardDeck deck
layoutImage
private transient java.awt.BorderLayout layoutImage
layoutConstant
private transient java.awt.GridBagLayout layoutConstant
layoutMain
private transient java.awt.GridBagLayout layoutMain
labelImage
private transient javax.swing.JLabel labelImage
panelConstant
private transient javax.swing.JPanel panelConstant
panelFiller
private transient javax.swing.JPanel panelFiller
panelImage
private transient javax.swing.JPanel panelImage
panelLine
private transient javax.swing.JPanel panelLine
panelMain
private transient javax.swing.JPanel panelMain
buttonListener
private transient TBWizardDialog.LocalButtonListener buttonListener
choice
private transient int choice
TBWizardDialog
public TBWizardDialog(java.awt.Dialog owner)
- Create a wizard dialog as a child of another dialog.
TBWizardDialog
public TBWizardDialog(java.awt.Frame owner)
- Create a wizard dialog as a child of a frame.
TBWizardDialog
public TBWizardDialog()
- Create a wizard dialog without a parent.
show
public void show()
- Overrides JDialog.show() to open the dialog in
the center of the screen.
clearAll
public void clearAll()
- Clear all object references.
getChoice
public int getChoice()
- Get the button choice that was used to close the dialog.
getDeck
public TBWizardDeck getDeck()
setDeck
public void setDeck(TBWizardDeck d)
isHelpEnabled
public boolean isHelpEnabled()
setHelpEnabled
public void setHelpEnabled(boolean b)
getWizardTitle
public java.lang.String getWizardTitle()
- Get the title used for the caption bar.
setWizardTitle
public void setWizardTitle(java.lang.String s)
- Set the title to use in the caption bar.
addWizardPage
public void addWizardPage(TBWizardPage page)
- Add a page to the wizard.
construct
protected void construct()
- Construct the object for either constructor.
finish
protected void finish()
- Method declaration
next
protected void next()
- Method declaration
help
protected void help()
closeDialog
private void closeDialog()
- Close the dialog and release swing references.
pmInit
private void pmInit()
throws java.lang.Exception
- Add listeners and other items that are not generated by
the JBuilder designer.
jbInit
private void jbInit()
throws java.lang.Exception
- UI code generated by JBuilder.
Do not modify the signature of this method.