Java Doc for UserPathInputPanel.java in  » Installer » IzPack » com » izforge » izpack » panels » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Installer » IzPack » com.izforge.izpack.panels 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
protected  String_createDirMsg
    
protected  String_defaultDir
    
protected  String_defaultPanelName
    
protected  String_emptyTargetMsg
    
protected  String_error
    
protected  String[]_existFiles
    
protected  boolean_loadedDefaultDir
    
protected  boolean_mustExist
    
protected  String_notValidMsg
    
protected  String_notWritableMsg
    
protected  UserPathSelectionPanel_pathSelectionPanel
    
protected  String_reqMsg
    
protected  String_targetPanel
    
protected  String_thisPanel
    
protected  String_variableName
    
protected  String_warn
    
protected  String_warnMsg
    

Constructor Summary
public  UserPathInputPanel(InstallerFrame parent, InstallData idata, String targetPanel, String variableName)
     The constructor.

Method Summary
public  voidactionPerformed(ActionEvent e)
     Actions-handling method.
public  voidcreateLayoutBottom()
     This method does nothing.
public  StringgetDefaultDir()
     Returns the default for the directory.
public  String[]getExistFiles()
     Returns the array of strings which are described the files which must exist.
public  StringgetTargetPanel()
     Returns the panel name extending this class.
public  booleanisMustExist()
     Returns the must exist state.
public  booleanisValidated()
     Indicates whether the panel has been validated or not.
public  booleanisWriteable()
     This method determines whether the chosen dir is writeable or not.
protected  booleanpathIsValid()
     Returns whether the chosen path is true or not.
public  voidsetDefaultDir(String string)
     Sets the default for the directory to the given string.
public  voidsetExistFiles(String[] strings)
     Sets the paths of files which must exist under the chosen path.
public  voidsetMustExist(boolean b)
     Sets the must exist state.
public  voidsetTargetPanel(String string)
     Sets the panel name extending this class.

Field Detail
_createDirMsg
protected String _createDirMsg(Code)



_defaultDir
protected String _defaultDir(Code)



_defaultPanelName
protected String _defaultPanelName(Code)



_emptyTargetMsg
protected String _emptyTargetMsg(Code)



_error
protected String _error(Code)



_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



_notValidMsg
protected String _notValidMsg(Code)



_notWritableMsg
protected String _notWritableMsg(Code)



_pathSelectionPanel
protected UserPathSelectionPanel _pathSelectionPanel(Code)
The path selection sub panel



_reqMsg
protected String _reqMsg(Code)



_targetPanel
protected String _targetPanel(Code)



_thisPanel
protected String _thisPanel(Code)



_variableName
protected String _variableName(Code)



_warn
protected String _warn(Code)



_warnMsg
protected String _warnMsg(Code)




Constructor Detail
UserPathInputPanel
public UserPathInputPanel(InstallerFrame parent, InstallData idata, String targetPanel, String variableName)(Code)
The constructor.
Parameters:
  parent - The parent window.
Parameters:
  idata - The installation data.




Method Detail
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



Fields inherited from com.izforge.izpack.installer.IzPanel
final public static int COLS_1(Code)(Java Doc)
final public static String D(Code)(Java Doc)
final public static String HEADLINE(Code)(Java Doc)
final public static int ROWS_1(Code)(Java Doc)
final public static int X_ORIGIN(Code)(Java Doc)
final public static int Y_ORIGIN(Code)(Java Doc)
final public static String d(Code)(Java Doc)
protected JLabel headLineLabel(Code)(Java Doc)
protected String headline(Code)(Java Doc)
protected boolean hidden(Code)(Java Doc)
protected InstallData idata(Code)(Java Doc)
protected Component initialFocus(Code)(Java Doc)
protected LayoutHelper layoutHelper(Code)(Java Doc)
public Panel metadata(Code)(Java Doc)
protected String myClassname(Code)(Java Doc)
protected String myFullClassname(Code)(Java Doc)
protected String myPrefix(Code)(Java Doc)
protected InstallerFrame parent(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.