|
||||||||||
| 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.install.InstallPanel
public class InstallPanel
The install panel class. Launches the actual installation job.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
protected String |
iconName
The icon used. |
protected JLabel |
overallOpLabel
The operation label . |
protected JProgressBar |
overallProgressBar
The progress bar. |
protected JLabel |
packOpLabel
The operation label . |
protected JProgressBar |
packProgressBar
The pack progress bar. |
protected JLabel |
tipLabel
The tip label. |
| 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 | |
|---|---|
InstallPanel(Panel panel,
InstallerFrame parent,
GUIInstallData installData,
Resources resources,
Log log)
Constructs an InstallPanel. |
|
| Method Summary | |
|---|---|
boolean |
isValidated()
Indicates wether the panel has been validated or not. |
void |
nextStep(String packName,
int stepno,
int max)
Pack changing. |
void |
panelActivate()
Called when the panel becomes active. |
void |
progress(int val,
String msg)
Normal progress indicator. |
void |
progress(String message)
Invoked to notify progress. |
void |
restartAction(String name,
String overallMessage,
String tip,
int steps)
Invoked when an action restarts. |
void |
setSubStepNo(int no_of_substeps)
|
void |
startAction(String name,
int noOfJobs)
The unpacker starts. |
void |
stopAction()
The unpacker stops. |
| 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 |
| Field Detail |
|---|
protected JLabel tipLabel
protected JLabel packOpLabel
protected JLabel overallOpLabel
protected String iconName
protected JProgressBar packProgressBar
protected JProgressBar overallProgressBar
| Constructor Detail |
|---|
public InstallPanel(Panel panel,
InstallerFrame parent,
GUIInstallData installData,
Resources resources,
Log log)
panel - the panel meta-dataparent - the parent windowinstallData - the installation dataresources - the resourceslog - the log| Method Detail |
|---|
public boolean isValidated()
isValidated in class IzPanel
public void startAction(String name,
int noOfJobs)
startAction in interface ProgressListenerpublic void stopAction()
stopAction in interface ProgressListener
public void progress(int val,
String msg)
progress in interface ProgressListenerval - The progression value.msg - The progression message.
public void nextStep(String packName,
int stepno,
int max)
nextStep in interface ProgressListenerpackName - The pack name.stepno - The number of the pack.max - The new maximum progress.public void setSubStepNo(int no_of_substeps)
setSubStepNo in interface ProgressListener
public void restartAction(String name,
String overallMessage,
String tip,
int steps)
restartAction in interface ProgressListenername - the name of the actionoverallMessage - a message describing the overall progresstip - a tip describing the current progresssteps - the number of steps the action consists ofpublic void progress(String message)
progress in interface ProgressListenermessage - a message describing the steppublic void panelActivate()
panelActivate in class IzPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||