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, removeSimpleWizardPageListener
public FolderTreePanel.FolderTreeSelection getSelectedPath()
public String getEnteredName()
public boolean canFinish()
SimpleWizardPage
canFinish
in class SimpleWizardPage
public boolean isPageValid()
SimpleWizardPage
isPageValid
in class SimpleWizardPage
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