|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.izforge.izpack.installer.gui.IzPanel
com.izforge.izpack.panels.compile.CompilePanel
public class CompilePanel
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.
| Nested Class Summary | |
|---|---|
protected class |
CompilePanel.CompilerErrorDialog
Show a special dialog for compiler errors. |
| Nested classes/interfaces inherited from class com.izforge.izpack.installer.gui.IzPanel |
|---|
IzPanel.Filler |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.izforge.izpack.installer.gui.IzPanel |
|---|
DELIMITER, HEADLINE, headLineLabel, initialFocus, installData, layoutHelper, parent |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.izforge.izpack.api.handler.AbstractUIHandler |
|---|
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CompilePanel(Panel panel,
InstallerFrame parent,
GUIInstallData installData,
Resources resources,
VariableSubstitutor variableSubstitutor,
IUnpacker unpacker,
PlatformModelMatcher matcher)
Constructs a CompilePanel. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Action function, called when the start button is pressed. |
void |
handleCompileError(CompileResult error)
An error was encountered. |
boolean |
isValidated()
|
void |
nextStep(String jobName,
int max,
int jobNo)
|
void |
panelActivate()
|
void |
progress(int val,
String msg)
|
void |
progress(String message)
|
void |
restartAction(String name,
String overallMessage,
String tip,
int steps)
|
void |
setSubStepNo(int max)
|
void |
startAction(String name,
int noOfJobs1)
|
void |
stopAction()
|
| Methods inherited from class com.izforge.izpack.installer.gui.IzPanel |
|---|
askQuestion, askQuestion, askWarningQuestion, canShowHelp, createInstallationRecord, createLabel, createMultiLineLabel, createMultiLineLabelLang, emitError, emitNotification, emitNotificationFeedback, emitWarning, getControlTextFont, getI18nStringForClass, getI18nStringForClass, getImageIcon, getInitialFocus, getInstallerFrame, getLAF, getLayoutHelper, getMetadata, getResources, getString, getSummaryBody, getSummaryCaption, initLayoutHelper, panelDeactivate, panelValidated, parseText, saveData, setHelpUrl, setInitialFocus, showHelp, toString |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.izforge.izpack.api.handler.AbstractUIHandler |
|---|
askQuestion, askQuestion, askWarningQuestion, emitError, emitNotification, emitWarning |
| Constructor Detail |
|---|
public CompilePanel(Panel panel,
InstallerFrame parent,
GUIInstallData installData,
Resources resources,
VariableSubstitutor variableSubstitutor,
IUnpacker unpacker,
PlatformModelMatcher matcher)
throws IOException
panel - the panel meta-dataparent - the parent windowvariableSubstitutor - the variable substituterinstallData - the installation dataresources - the resourcesunpacker - the unpacker
IOException - for any I/O error| Method Detail |
|---|
public boolean isValidated()
isValidated in class IzPanelpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void handleCompileError(CompileResult error)
CompileHandler
handleCompileError in interface CompileHandlererror - the error to handle
public void startAction(String name,
int noOfJobs1)
startAction in interface ProgressListenerpublic void stopAction()
stopAction in interface ProgressListener
public void progress(int val,
String msg)
progress in interface ProgressListener
public void nextStep(String jobName,
int max,
int jobNo)
nextStep in interface ProgressListenerpublic void setSubStepNo(int max)
setSubStepNo in interface ProgressListenerpublic void progress(String message)
progress in interface ProgressListener
public void restartAction(String name,
String overallMessage,
String tip,
int steps)
restartAction in interface ProgressListenerpublic void panelActivate()
panelActivate in class IzPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||