|
||||||||||
| 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.autofocus.gui.sourcewizard.SourceSheet
info.aduna.autofocus.gui.sourcewizard.RemoteAccountSheet
public class RemoteAccountSheet
| Nested Class Summary |
|---|
| 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.autofocus.gui.sourcewizard.SourceSheet |
|---|
contentActionListener, contentChangeListener, contentDocumentListener, INITIAL_DATASOURCE_URI, repositoryConfig, TITLE_COLOR |
| 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 | |
|---|---|
RemoteAccountSheet(SourceWizard 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 JComponent |
createContent()
|
protected Set<? extends 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 |
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. |
void |
madeVisible()
This method is invoked after is has been made visible, so that it can adapt e.g. |
WizardSheet |
next()
Returns the next sheet that should be displayed. |
boolean |
prepareForNext()
This method is called just before next() is invoked. |
| Methods inherited from class info.aduna.autofocus.gui.sourcewizard.SourceSheet |
|---|
createTextArea, getCrawlConfig, getWizard, setRepositoryConfig |
| Methods inherited from class info.aduna.swing.wizard.WizardSheet |
|---|
addWizardSheetListener, finish, getAllSheets, isCloseable, notifyStateChanged, removeWizardSheetListener, undoIntermediateSettings |
| 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 RemoteAccountSheet(SourceWizard wizard)
| Method Detail |
|---|
protected Set<? extends 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 void initialize()
WizardSheet
initialize in class WizardSheetpublic void madeVisible()
WizardSheet
madeVisible 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 clear()
WizardSheet
clear in class WizardSheetprotected JComponent createContent()
createContent in class SourceSheet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||