|
||||||||||
| 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
info.aduna.swing.wizard.WizardSheet
info.aduna.clustermap.export.ExportSheet
info.aduna.clustermap.export.AnimationExportSheet
public class AnimationExportSheet
| Nested Class Summary | |
|---|---|
class |
AnimationExportSheet.ExportThread
|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class info.aduna.clustermap.export.ExportSheet |
|---|
contentChangeActionListener, contentChangeDocumentListener |
| 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 | |
|---|---|
AnimationExportSheet(ExportWizard wizard)
|
|
| Method Summary | |
|---|---|
void |
clear()
A WizardSheet is cleared by the Wizard that contains it when the Wizard is reset to its initial sheet. |
protected JPanel |
createPanel()
|
boolean |
finish()
Invoked when the user wants to finish the Wizard. |
protected Set<WizardSheet> |
getSubsequentSheets()
Returns a List that contains all WizardSheet instances that may possibly be returned by the next() method of this WizardSheet. |
boolean |
hasNext()
Determines whether there is a next WizardSheet coming after this WizardSheet. |
void |
initialize()
This method is invoked just before the WizardSheet is shown, so that it can initialize itself. |
boolean |
isCloseable()
Returns true when the user should be able to finish the Wizard at this point. |
boolean |
isComplete()
Determine whether the current state of the input components of this WizardSheet should allow the user to proceed to the next sheet or allow the wizard to finish. |
WizardSheet |
next()
Returns the next sheet that should be displayed. |
boolean |
prepareForNext()
This method is called just before next() is invoked. |
void |
undoIntermediateSettings()
Undoes possible settings applied so far by this WizardSheet. |
| Methods inherited from class info.aduna.clustermap.export.ExportSheet |
|---|
createImageButton, createLabel, createRadioButton, createTextArea, ensureFileWritePermission, getExportWizard, setTitledBorder |
| Methods inherited from class info.aduna.swing.wizard.WizardSheet |
|---|
addWizardSheetListener, getAllSheets, getWizard, madeVisible, notifyStateChanged, removeWizardSheetListener |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnimationExportSheet(ExportWizard wizard)
| Method Detail |
|---|
protected JPanel createPanel()
createPanel in class ExportSheetprotected Set<WizardSheet> getSubsequentSheets()
WizardSheetThis method and its intended use imply that, before a WizardSheet is shown to the user, all possible WizardSheets are created in advance.
getSubsequentSheets in class WizardSheetpublic boolean isComplete()
WizardSheet
isComplete in class WizardSheetpublic boolean hasNext()
WizardSheetThe outcome of this method is only applicable when isComplete returns true, since the appropriateness of a subsequent WizardSheet may depend on the input entered in this WizardSheet (e.g. depending on the selection of a button in a set of radio buttons, this may or may not be the last WizardSheet).
hasNext in class WizardSheetpublic boolean prepareForNext()
WizardSheetThis method returns false when something went wrong while applying these intermediate settings (e.g. when the file just entered did not exist). The Wizard should not move to the next WizardSheet when this happens. The WizardSheet itself however is still responsible for taking appropriate actions when this happens (e.g. for reporting the error to the user). The Wizard should respond to this case by not progressing to the next WizardSheet.
The undoIntermediateSettings method of this WizardSheet is required to undo the settings to the underlying component and subsequent WizardSheets that result from the invocation of this method. Of course, the settings done in subsequent WizardSheet may be neglected when they will be overwritten by the next invocation of prepareForNext on this WizardSheet.
Be aware that prepareForNext is never invoked on the last WizardSheet in the Wizard (it is "finish"-ed);
prepareForNext in class WizardSheetpublic WizardSheet next()
WizardSheetNote that this method is never invoked on the last WizardSheet in the Wizard.
next in class WizardSheetpublic void initialize()
WizardSheet
initialize in class WizardSheetpublic void undoIntermediateSettings()
WizardSheetThis method is invoked on all WizardSheets, starting from the current WizardSheet to the first WizardSheet when the entire Wizard is cancelled, or only on the current WizardSheet when the "back" button is used.
This default implementation does nothing.
undoIntermediateSettings in class WizardSheetpublic void clear()
WizardSheet
clear in class WizardSheetpublic boolean isCloseable()
WizardSheet
isCloseable in class WizardSheetpublic boolean finish()
WizardSheetThis default implementation simply throws an UnsupportedOperationException.
finish in class WizardSheet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||