| com.izforge.izpack.installer.IzPanel com.izforge.izpack.panels.UserPathInputPanel
All known Subclasses: com.izforge.izpack.panels.UserPathPanel,
UserPathInputPanel | public class UserPathInputPanel extends IzPanel implements ActionListener(Code) | | Base class for panels which asks for paths.
author: Klaus Bartz author: Jeff Gordon |
_existFiles | protected String[] _existFiles(Code) | | Files which should be exist
|
_loadedDefaultDir | protected boolean _loadedDefaultDir(Code) | | |
_mustExist | protected boolean _mustExist(Code) | | Flag whether the choosen path must exist or not
|
UserPathInputPanel | public UserPathInputPanel(InstallerFrame parent, InstallData idata, String targetPanel, String variableName)(Code) | | The constructor.
Parameters: parent - The parent window. Parameters: idata - The installation data. |
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Actions-handling method.
Parameters: e - The event. |
createLayoutBottom | public void createLayoutBottom()(Code) | | This method does nothing. It is called from ctor of UserPathInputPanel, to give in a derived
class the possibility to add more components under the path input components.
|
getDefaultDir | public String getDefaultDir()(Code) | | Returns the default for the directory.
the default for the directory |
getExistFiles | public String[] getExistFiles()(Code) | | Returns the array of strings which are described the files which must exist.
paths of files which must exist |
getTargetPanel | public String getTargetPanel()(Code) | | Returns the panel name extending this class.
Used for looking up localized text and resources.
the default for the directory |
isMustExist | public boolean isMustExist()(Code) | | Returns the must exist state.
the must exist state |
isValidated | public boolean isValidated()(Code) | | Indicates whether the panel has been validated or not.
Whether the panel has been validated or not. |
isWriteable | public boolean isWriteable()(Code) | | This method determines whether the chosen dir is writeable or not.
whether the chosen dir is writeable or not |
pathIsValid | protected boolean pathIsValid()(Code) | | Returns whether the chosen path is true or not. If existFiles are not null, the existence of
it under the choosen path are detected. This method can be also implemented in derived
classes to handle special verification of the path.
true if existFiles are exist or not defined, else false |
setDefaultDir | public void setDefaultDir(String string)(Code) | | Sets the default for the directory to the given string.
Parameters: string - path for default directory |
setExistFiles | public void setExistFiles(String[] strings)(Code) | | Sets the paths of files which must exist under the chosen path.
Parameters: strings - paths of files which must exist under the chosen path |
setMustExist | public void setMustExist(boolean b)(Code) | | Sets the must exist state. If it is true, the path must exist.
Parameters: b - must exist state |
setTargetPanel | public void setTargetPanel(String string)(Code) | | Sets the panel name extending this class.
Used for looking up localized text and resources.
Parameters: string - path for default directory |
Methods inherited from com.izforge.izpack.installer.IzPanel | public int askQuestion(String title, String question, int choices)(Code)(Java Doc) public int askQuestion(String title, String question, int choices, int default_choice)(Code)(Java Doc) protected boolean buildHeadline(String imageIconName, int instanceNumber)(Code)(Java Doc) public void completeGridBagLayout()(Code)(Java Doc) public JLabel createLabel(String subkey, String alternateClass, String iconId, int pos)(Code)(Java Doc) public JLabel createLabel(String subkey, String alternateClass, String iconId, int pos, boolean isFullLine)(Code)(Java Doc) public JLabel createLabel(String textId, String iconId, int pos)(Code)(Java Doc) public JLabel createLabel(String textId, String iconId, int pos, boolean isFullLine)(Code)(Java Doc) public MultiLineLabel createMultiLineLabel(String text)(Code)(Java Doc) public MultiLineLabel createMultiLineLabel(String text, String iconId, int pos)(Code)(Java Doc) public MultiLineLabel createMultiLineLabelLang(String textId)(Code)(Java Doc) public void emitError(String title, String message)(Code)(Java Doc) public void emitNotification(String message)(Code)(Java Doc) public boolean emitNotificationFeedback(String message)(Code)(Java Doc) public boolean emitWarning(String title, String message)(Code)(Java Doc) protected void getClassName()(Code)(Java Doc) public Font getControlTextFont()(Code)(Java Doc) public GridBagConstraints getDefaultGridBagConstraints()(Code)(Java Doc) public String getI18nStringForClass(String subkey)(Code)(Java Doc) public String getI18nStringForClass(String subkey, String alternateClass)(Code)(Java Doc) public ImageIcon getImageIcon(String iconName)(Code)(Java Doc) public Component getInitialFocus()(Code)(Java Doc) public InstallerFrame getInstallerFrame()(Code)(Java Doc) protected static MetalLookAndFeel getLAF()(Code)(Java Doc) public LayoutHelper getLayoutHelper()(Code)(Java Doc) public Panel getMetadata()(Code)(Java Doc) public GridBagConstraints getNewGridBagConstraints(int gridx, int gridy)(Code)(Java Doc) public GridBagConstraints getNewGridBagConstraints(int gridx, int gridy, int gridwidth, int gridheight)(Code)(Java Doc) public GridBagConstraints getNextXGridBagConstraints()(Code)(Java Doc) public GridBagConstraints getNextYGridBagConstraints()(Code)(Java Doc) public GridBagConstraints getNextYGridBagConstraints(int gridwidth, int gridheight)(Code)(Java Doc) public String getString(String key)(Code)(Java Doc) public String getSummaryBody()(Code)(Java Doc) public String getSummaryCaption()(Code)(Java Doc) protected void init(InstallerFrame parent, InstallData idata)(Code)(Java Doc) protected void initLayoutHelper()(Code)(Java Doc) public boolean isHidden()(Code)(Java Doc) public boolean isValidated()(Code)(Java Doc) public void makeXMLData(XMLElement panelRoot)(Code)(Java Doc) public void panelActivate()(Code)(Java Doc) public void panelDeactivate()(Code)(Java Doc) public void resetGridCounter()(Code)(Java Doc) public void setDefaultGridBagConstraints(GridBagConstraints constraints)(Code)(Java Doc) public void setHidden(boolean hidden)(Code)(Java Doc) public void setInitialFocus(Component component)(Code)(Java Doc) public void setMetadata(Panel p)(Code)(Java Doc) public void startGridBagLayout()(Code)(Java Doc)
|
|
|