Java Doc for InstallationGroupPanel.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.InstallationGroupPanel

InstallationGroupPanel
public class InstallationGroupPanel extends IzPanel implements ListSelectionListener(Code)
A panel which displays the available installGroups found on the packs to allow the user to select a subset of the packs based on the pack installGroups attribute. This panel will be skipped if there are no pack elements with an installGroups attribute.
author:
   Scott.Stark@jboss.org
version:
   $Revision: 1.1.1.1 $

Inner Class :protected static class GroupData


Constructor Summary
public  InstallationGroupPanel(InstallerFrame parent, InstallData idata)
    

Method Summary
protected  voidaddDependents(Pack p, HashMap<String, Pack> packsByName, GroupData data)
    
protected  voidbuildLayout()
     Create the panel ui.
protected  StringgetGroupDescription(String group)
    
protected  StringgetGroupSortKey(String group)
    
protected  HashMapgetInstallGroups(InstallData idata)
     Build the set of unique installGroups data.
protected  StringgetLocalizedGroupName(String group)
    
protected  TableModelgetModel(HashMap groupData)
    
public  booleanisValidated()
    
public  voidmakeXMLData(XMLElement panelRoot)
    
public  voidpanelActivate()
     If there are no packs with an installGroups attribute, this panel is skipped.
public  voidpanelDeactivate()
     Remove all packs from the InstallData availablePacks and selectedPacks that do not list the selected installation group.
protected  voidremoveUnusedPacks()
    
public  voidvalueChanged(ListSelectionEvent e)
     Update the current selected install group index.


Constructor Detail
InstallationGroupPanel
public InstallationGroupPanel(InstallerFrame parent, InstallData idata)(Code)




Method Detail
addDependents
protected void addDependents(Pack p, HashMap<String, Pack> packsByName, GroupData data)(Code)



buildLayout
protected void buildLayout()(Code)
Create the panel ui.



getGroupDescription
protected String getGroupDescription(String group)(Code)
Look for a key = InstallationGroupPanel.description.[group] entry: first using idata.langpack.getString(key+".html") next using idata.langpack.getString(key) next using idata.getVariable(key) lastly, defaulting to group + " installation"
Parameters:
  group - - the installation group name the group description



getGroupSortKey
protected String getGroupSortKey(String group)(Code)
Look for a key = InstallationGroupPanel.sortKey.[group] entry: by using idata.getVariable(key) if this variable is not defined, defaults to group
Parameters:
  group - - the installation group name the group sortkey



getInstallGroups
protected HashMap getInstallGroups(InstallData idata)(Code)
Build the set of unique installGroups data. The GroupData description is taken from the InstallationGroupPanel.description.[name] property where [name] is the installGroup name. The GroupData size is built from the Pack.nbytes sum.
Parameters:
  idata - - the panel install data HashMap of unique install group names



getLocalizedGroupName
protected String getLocalizedGroupName(String group)(Code)
Look for a key = InstallationGroupPanel.group.[group] entry: first using idata.langpackgetString(key+".html") next using idata.langpack.getString(key) next using idata.getVariable(key) lastly, defaulting to group
Parameters:
  group - - the installation group name the localized group name



getModel
protected TableModel getModel(HashMap groupData)(Code)



isValidated
public boolean isValidated()(Code)
There needs to be a valid selectedGroup to go to the next panel true if selectedGroup >= 0, false otherwise



makeXMLData
public void makeXMLData(XMLElement panelRoot)(Code)



panelActivate
public void panelActivate()(Code)
If there are no packs with an installGroups attribute, this panel is skipped. Otherwise, the unique installGroups are displayed in a table.



panelDeactivate
public void panelDeactivate()(Code)
Remove all packs from the InstallData availablePacks and selectedPacks that do not list the selected installation group. Packs without any installGroups are always included.



removeUnusedPacks
protected void removeUnusedPacks()(Code)



valueChanged
public void valueChanged(ListSelectionEvent e)(Code)
Update the current selected install group index.
Parameters:
  e -



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.