public class GenerateIntermediatePage
extends javax.swing.JPanel
implements com.lf.commons.wizard.WizardPage, java.awt.event.ItemListener, javax.swing.event.DocumentListener, com.lf.commons.model.ConfigurableUnit
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
BUTTON_EXPONENTIAL
Mask value for option.
|
static int |
BUTTON_LINEAR
Mask value for option.
|
static int |
BUTTON_NO_INTERMEDIATES
Mask value for option.
|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
GenerateIntermediatePage()
Constructor of this form.
|
Modifier and Type | Method and Description |
---|---|
void |
changedUpdate(javax.swing.event.DocumentEvent e)
Gives notification that an attribute or set of attributes changed.
|
void |
configureUnit(java.lang.String id,
com.lf.commons.config.Configuration config)
Restores values from persistent data stores.
|
java.awt.Component |
getComponent()
Provides the GUI component to be displayed.
|
com.lf.commons.config.Configuration |
getConfiguration()
Provides the current user settings specified by user interaction.
|
javax.swing.ImageIcon |
getIcon()
Provides the graphical icon of the page used for display.
|
com.lf.commons.wizard.WizardPage |
getNextPage()
Provides the next page to be displayed by the dialog.
|
java.lang.String |
getOverviewText()
Provides the text displayed by the overview (shorter than title).
|
com.lf.commons.wizard.WizardPage[] |
getPossibleNextPages()
Provides the set of pages that are possibly displayed next.
|
java.lang.String |
getTitle()
Provides the title of the page used for display.
|
void |
insertUpdate(javax.swing.event.DocumentEvent e)
Gives notification that there was an insert into the document.
|
void |
itemStateChanged(java.awt.event.ItemEvent event)
Reacts on check box selections.
|
void |
pageAdded(com.lf.commons.wizard.WizardDialog parent)
Informs the wizard page that it will soon be used by the wizard dialog.
|
void |
pageBecomesHidden()
Informs the wizard page that it will be made invisible by the dialog.
|
void |
pageBecomesShown()
Informs the wizard page that it will be made visible by the dialog.
|
void |
pageIsHiding()
Informs the wizard page that it was made invisible by the wizard.
|
void |
pageIsShowing()
Informs the wizard page that it was made visible by the dialog.
|
void |
removeUpdate(javax.swing.event.DocumentEvent e)
Gives notification that a portion of the document has been removed.
|
void |
setEmptyBorder(javax.swing.border.EmptyBorder border)
Sets the border to align the check boxes.
|
void |
setNextPage(com.lf.commons.wizard.WizardPage page)
Sets the next page to be displayed by the dialog.
|
void |
setSelection(int mask)
Sets the selected items, use AND concatenation of static values.
|
void |
setVerticalGap(int gap)
Sets the vertical gap between the check boxes.
|
void |
storeUnit(java.lang.String id,
com.lf.commons.config.Configuration config)
Stores the current configuration values persistently.
|
void |
unitRegistered(com.lf.commons.model.ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was registered with a model.
|
void |
unitUnregistered(com.lf.commons.model.ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was unregistered with a model.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, 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, isPaintingForPrint, isPaintingOrigin, 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
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, transferFocusDownCycle, validate, validateTree
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, transferFocusBackward, transferFocusUpCycle
public static final int BUTTON_NO_INTERMEDIATES
public static final int BUTTON_LINEAR
public static final int BUTTON_EXPONENTIAL
public GenerateIntermediatePage()
public java.lang.String getTitle()
getTitle
in interface com.lf.commons.wizard.WizardPage
public java.lang.String getOverviewText()
getOverviewText
in interface com.lf.commons.wizard.WizardPage
public javax.swing.ImageIcon getIcon()
getIcon
in interface com.lf.commons.wizard.WizardPage
public java.awt.Component getComponent()
getComponent
in interface com.lf.commons.wizard.WizardPage
public void pageAdded(com.lf.commons.wizard.WizardDialog parent)
pageAdded
in interface com.lf.commons.wizard.WizardPage
parent
- The wizard dialogpublic void pageBecomesShown()
pageBecomesShown
in interface com.lf.commons.wizard.WizardPage
public void pageBecomesHidden()
pageBecomesHidden
in interface com.lf.commons.wizard.WizardPage
public void pageIsShowing()
pageIsShowing
in interface com.lf.commons.wizard.WizardPage
public void pageIsHiding()
pageIsHiding
in interface com.lf.commons.wizard.WizardPage
public void setNextPage(com.lf.commons.wizard.WizardPage page)
setNextPage
in interface com.lf.commons.wizard.WizardPage
page
- The next page to be shown, null
means last pagepublic com.lf.commons.wizard.WizardPage getNextPage()
getNextPage
in interface com.lf.commons.wizard.WizardPage
null
means last pagepublic com.lf.commons.wizard.WizardPage[] getPossibleNextPages()
getPossibleNextPages
in interface com.lf.commons.wizard.WizardPage
null
means last pagepublic com.lf.commons.config.Configuration getConfiguration()
getConfiguration
in interface com.lf.commons.wizard.WizardPage
public void setSelection(int mask)
mask
- The selection maskpublic void setEmptyBorder(javax.swing.border.EmptyBorder border)
border
- The borderjava.lang.NullPointerException
- If parameters are invalidpublic void setVerticalGap(int gap)
gap
- The gap in pixelspublic void configureUnit(java.lang.String id, com.lf.commons.config.Configuration config)
configureUnit
in interface com.lf.commons.model.ConfigurableUnit
id
- The unique identifier for the instanceconfig
- The configurationpublic void storeUnit(java.lang.String id, com.lf.commons.config.Configuration config)
storeUnit
in interface com.lf.commons.model.ConfigurableUnit
id
- The unique identifier for the instanceconfig
- The configurationpublic void unitRegistered(com.lf.commons.model.ApplicationModel model, java.lang.String id)
unitRegistered
in interface com.lf.commons.model.ConfigurableUnit
model
- The application modelid
- The unique identifier for the instancepublic void unitUnregistered(com.lf.commons.model.ApplicationModel model, java.lang.String id)
unitUnregistered
in interface com.lf.commons.model.ConfigurableUnit
model
- The application modelid
- The unique identifier for the instancepublic void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged
in interface java.awt.event.ItemListener
event
- The eventpublic void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate
in interface javax.swing.event.DocumentListener
e
- Event object referencepublic void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate
in interface javax.swing.event.DocumentListener
e
- Event object referencepublic void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate
in interface javax.swing.event.DocumentListener
e
- Event object referenceCopyright © 2005-2015 Leisenfels UG. All rights reserved.