public class NewFileWizard.NewFilePage extends SimpleWizardPage implements IFileNamePanelListener
| Constructor and Description |
|---|
NewFileWizard.NewFilePage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFinish()
Should return true, if the wizard can be finished after that page
|
boolean |
canGoToPrevoius()
Is called to determine whether the user can go a step back.
|
void |
focusGainedOnName()
Notifies the listener that the name field has the focus now.
|
void |
focusGainedOnPathTree()
Notifies the listener that the folder panel has the focus now.
|
void |
focusLost()
Notifies the listener that neither the name nor the path field has the
focus now.
|
JComponent |
getContent()
Must return the component that should be displayed in the client area of
the dialog.
|
String |
getEnteredName() |
Image |
getImage()
Should return the image that is displayed in the right top corner of the
dialog.
|
String |
getMainDescription()
Is called to get the main description for the dialog page.
|
FolderTreePanel.FolderTreeSelection |
getSelectedPath() |
boolean |
isPageValid()
Should return true, if the page is valid.
|
void |
nameNotValid()
Notifies the listener that no name is given or that the given name is
invalid.
|
void |
validated()
Notifies the listener that the user has now entered a name and a path and
that both information is valid.
|
addSimpleWizardPageListener, firePageInvalidEvent, firePageValidEvent, removeSimpleWizardPageListenerpublic FolderTreePanel.FolderTreeSelection getSelectedPath()
public String getEnteredName()
public boolean canFinish()
SimpleWizardPagecanFinish in class SimpleWizardPagepublic boolean isPageValid()
SimpleWizardPageisPageValid in class SimpleWizardPagepublic boolean canGoToPrevoius()
IWizardPagecanGoToPrevoius in interface IWizardPagepublic JComponent getContent()
IWizardPagegetContent in interface IWizardPagepublic Image getImage()
IWizardPagegetImage in interface IWizardPagepublic String getMainDescription()
IWizardPagegetMainDescription in interface IWizardPagepublic void focusGainedOnName()
IFileNamePanelListenerfocusGainedOnName in interface IFileNamePanelListenerpublic void focusGainedOnPathTree()
IFileNamePanelListenerfocusGainedOnPathTree in interface IFileNamePanelListenerpublic void focusLost()
IFileNamePanelListenerfocusLost in interface IFileNamePanelListenerpublic void nameNotValid()
IFileNamePanelListenernameNotValid in interface IFileNamePanelListenerpublic void validated()
IFileNamePanelListenervalidated in interface IFileNamePanelListener