protected class NewFolderWizard.FolderPage extends Object implements NewFolderWizard.IFolderPage
| Modifier and Type | Field and Description |
|---|---|
protected FileNamePanel |
panel_ |
| Constructor and Description |
|---|
NewFolderWizard.FolderPage() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
FileNamePanel |
getPanel() |
FolderTreePanel.FolderTreeSelection |
getSelectedPath() |
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.
|
protected FileNamePanel panel_
public String getEnteredName()
getEnteredName in interface NewFolderWizard.IFolderPagepublic FolderTreePanel.FolderTreeSelection getSelectedPath()
getSelectedPath in interface NewFolderWizard.IFolderPagepublic FileNamePanel getPanel()
getPanel in interface NewFolderWizard.IFolderPagepublic 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