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


javax.swing.JPanel
   com.izforge.izpack.installer.IzPanel
      com.izforge.izpack.panels.CompilePanel

CompilePanel
public class CompilePanel extends IzPanel implements ActionListener,CompileHandler(Code)
The compile panel class. This class allows .java files to be compiled after installation. Parts of the code have been taken from InstallPanel.java and modified a lot.
author:
   Tino Schwarze
author:
   Julien Ponge

Inner Class :protected class CompilerErrorDialog extends JDialog implements ActionListener

Field Summary
protected  JComboBoxargumentsComboBox
     The combobox for compiler argument selection.
protected  JButtonbrowseButton
     The browse button.
protected  JComboBoxcompilerComboBox
     The combobox for compiler selection.
protected  JLabelopLabel
     The operation label .
protected  JLabeloverallLabel
     The operation label .
protected  JProgressBaroverallProgressBar
     The overall progress bar.
protected  JProgressBarpackProgressBar
     The pack progress bar.
protected  JButtonstartButton
     The start button.
protected  JLabeltipLabel
     The tip label.

Constructor Summary
public  CompilePanel(InstallerFrame parent, InstallData idata)
     The constructor.

Method Summary
public  voidactionPerformed(ActionEvent e)
     Action function, called when the start button is pressed.
protected  voidblockGUI()
     Block the GUI - disalow input.
public  voidhandleCompileError(CompileResult error)
     An error was encountered.
public  booleanisValidated()
     Indicates wether the panel has been validated or not.
public  voidmakeXMLData(XMLElement panelRoot)
     Create XML data for automated installation.
public  voidnextStep(String jobName, int max, int jobNo)
     Job changing.
public  voidpanelActivate()
     Called when the panel becomes active.
public  voidprogress(int val, String msg)
     Normal progress indicator.
protected  voidreleaseGUI(boolean allowconfig)
     Release the GUI - allow input.
public  voidsetSubStepNo(int max)
    
public  voidstartAction(String name, int noOfJobs1)
    
public  voidstopAction()
     The compiler stops.

Field Detail
argumentsComboBox
protected JComboBox argumentsComboBox(Code)
The combobox for compiler argument selection.



browseButton
protected JButton browseButton(Code)
The browse button.



compilerComboBox
protected JComboBox compilerComboBox(Code)
The combobox for compiler selection.



opLabel
protected JLabel opLabel(Code)
The operation label .



overallLabel
protected JLabel overallLabel(Code)
The operation label .



overallProgressBar
protected JProgressBar overallProgressBar(Code)
The overall progress bar.



packProgressBar
protected JProgressBar packProgressBar(Code)
The pack progress bar.



startButton
protected JButton startButton(Code)
The start button.



tipLabel
protected JLabel tipLabel(Code)
The tip label.




Constructor Detail
CompilePanel
public CompilePanel(InstallerFrame parent, InstallData idata) throws IOException(Code)
The constructor.
Parameters:
  parent - The parent window.
Parameters:
  idata - The installation data.
throws:
  IOException -




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)
Action function, called when the start button is pressed.



blockGUI
protected void blockGUI()(Code)
Block the GUI - disalow input.



handleCompileError
public void handleCompileError(CompileResult error)(Code)
An error was encountered.
Parameters:
  error - The error information.
See Also:   com.izforge.izpack.installer.CompileHandler



isValidated
public boolean isValidated()(Code)
Indicates wether the panel has been validated or not. The validation state.



makeXMLData
public void makeXMLData(XMLElement panelRoot)(Code)
Create XML data for automated installation.



nextStep
public void nextStep(String jobName, int max, int jobNo)(Code)
Job changing.
Parameters:
  jobName - The job name.
Parameters:
  max - The new maximum progress.
Parameters:
  jobNo - The job number.



panelActivate
public void panelActivate()(Code)
Called when the panel becomes active.



progress
public void progress(int val, String msg)(Code)
Normal progress indicator.
Parameters:
  val - The progression value.
Parameters:
  msg - The progression message.



releaseGUI
protected void releaseGUI(boolean allowconfig)(Code)
Release the GUI - allow input.
Parameters:
  allowconfig - allow the user to enter new configuration



setSubStepNo
public void setSubStepNo(int max)(Code)



startAction
public void startAction(String name, int noOfJobs1)(Code)



stopAction
public void stopAction()(Code)
The compiler stops.



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)

Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.