public class BackupFormatPage extends javax.swing.JPanel implements WizardPage, java.awt.event.ItemListener, javax.swing.event.DocumentListener, ConfigurableUnit
javax.swing.JPanel.AccessibleJPanel
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_PGP
Mask value for option.
|
static int |
FORMAT_XML
Mask value for option.
|
static int |
FORMAT_ZIP
Mask value for option.
|
static int |
FORMAT_ZIP_PASSWORD
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 |
---|
BackupFormatPage()
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,
Configuration config)
Restores values from persistent data stores.
|
java.awt.Component |
getComponent()
Provides the GUI component to be displayed.
|
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.
|
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).
|
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(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(WizardPage next)
Sets the page to follow this page.
|
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,
Configuration config)
Stores the current configuration values persistently.
|
void |
unitRegistered(ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was registered with a model.
|
void |
unitUnregistered(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 FORMAT_XML
public static final int FORMAT_ZIP
public static final int FORMAT_ZIP_PASSWORD
public static final int FORMAT_PGP
public java.lang.String getTitle()
getTitle
in interface WizardPage
public java.lang.String getOverviewText()
getOverviewText
in interface WizardPage
public javax.swing.ImageIcon getIcon()
getIcon
in interface WizardPage
public java.awt.Component getComponent()
getComponent
in interface WizardPage
public void pageAdded(WizardDialog parent)
pageAdded
in interface WizardPage
parent
- The wizard dialogpublic void pageBecomesShown()
pageBecomesShown
in interface WizardPage
public void pageBecomesHidden()
pageBecomesHidden
in interface WizardPage
public void pageIsShowing()
pageIsShowing
in interface WizardPage
public void pageIsHiding()
pageIsHiding
in interface WizardPage
public WizardPage getNextPage()
getNextPage
in interface WizardPage
null
means last pagepublic WizardPage[] getPossibleNextPages()
getPossibleNextPages
in interface WizardPage
null
means last pagepublic Configuration getConfiguration()
getConfiguration
in interface 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, Configuration config)
configureUnit
in interface ConfigurableUnit
id
- The unique identifier for the instanceconfig
- The configurationpublic void storeUnit(java.lang.String id, Configuration config)
storeUnit
in interface ConfigurableUnit
id
- The unique identifier for the instanceconfig
- The configurationpublic void unitRegistered(ApplicationModel model, java.lang.String id)
unitRegistered
in interface ConfigurableUnit
model
- The application modelid
- The unique identifier for the instancepublic void unitUnregistered(ApplicationModel model, java.lang.String id)
unitUnregistered
in interface ConfigurableUnit
model
- The application modelid
- The unique identifier for the instancepublic void setNextPage(WizardPage next)
setNextPage
in interface WizardPage
next
- The next page if id is selected, null
means finishpublic 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-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.