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.IFolderPage
public FolderTreePanel.FolderTreeSelection getSelectedPath()
getSelectedPath
in interface NewFolderWizard.IFolderPage
public FileNamePanel getPanel()
getPanel
in interface NewFolderWizard.IFolderPage
public boolean canGoToPrevoius()
IWizardPage
canGoToPrevoius
in interface IWizardPage
public JComponent getContent()
IWizardPage
getContent
in interface IWizardPage
public Image getImage()
IWizardPage
getImage
in interface IWizardPage
public String getMainDescription()
IWizardPage
getMainDescription
in interface IWizardPage
public void focusGainedOnName()
IFileNamePanelListener
focusGainedOnName
in interface IFileNamePanelListener
public void focusGainedOnPathTree()
IFileNamePanelListener
focusGainedOnPathTree
in interface IFileNamePanelListener
public void focusLost()
IFileNamePanelListener
focusLost
in interface IFileNamePanelListener
public void nameNotValid()
IFileNamePanelListener
nameNotValid
in interface IFileNamePanelListener
public void validated()
IFileNamePanelListener
validated
in interface IFileNamePanelListener