|
||||||||||
| 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.shortcut.ShortcutPanel
public class ShortcutPanel
This class implements a panel for the creation of shortcuts. The panel prompts the user to select a program group for shortcuts, accept the creation of desktop shortcuts and actually creates the shortcuts.
Use LateShortcutInstallListener to create the Shortcuts after the Files have been installed.
| 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 |
|---|
| 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 | |
|---|---|
ShortcutPanel(Panel panel,
InstallerFrame parent,
GUIInstallData installData,
Resources resources,
UninstallData uninstallData,
Housekeeper housekeeper,
TargetFactory factory,
InstallerListeners listeners,
PlatformModelMatcher matcher)
Constructs a ShortcutPanel. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
|
void |
createInstallationRecord(IXMLElement panelRoot)
|
Dimension |
getSize()
|
boolean |
isValidated()
Returns true when all selections have valid settings. |
void |
panelActivate()
|
void |
panelDeactivate()
|
void |
valueChanged(ListSelectionEvent event)
This method is called by the groupList when the user makes a selection. |
| Methods inherited from class com.izforge.izpack.installer.gui.IzPanel |
|---|
askQuestion, askQuestion, askWarningQuestion, canShowHelp, createLabel, createMultiLineLabel, createMultiLineLabelLang, emitError, emitNotification, emitNotificationFeedback, emitWarning, getControlTextFont, getI18nStringForClass, getI18nStringForClass, getImageIcon, getInitialFocus, getInstallerFrame, getLAF, getLayoutHelper, getMetadata, getResources, getString, getSummaryBody, getSummaryCaption, initLayoutHelper, 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 |
| Constructor Detail |
|---|
public ShortcutPanel(Panel panel,
InstallerFrame parent,
GUIInstallData installData,
Resources resources,
UninstallData uninstallData,
Housekeeper housekeeper,
TargetFactory factory,
InstallerListeners listeners,
PlatformModelMatcher matcher)
panel - the panelparent - reference to the application frameinstallData - the installation dataresources - the resourcesuninstallData - the uninstallation datahousekeeper - the house keeperfactory - the factory for platform-specific implementationsmatcher - the platform-model matcher| Method Detail |
|---|
public void panelDeactivate()
panelDeactivate in class IzPanelpublic void panelActivate()
panelActivate in class IzPanelpublic boolean isValidated()
isValidated in class IzPanelpublic void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerpublic void valueChanged(ListSelectionEvent event)
valueChanged in interface ListSelectionListenerevent - the list selection eventpublic Dimension getSize()
getSize in class Componentpublic void createInstallationRecord(IXMLElement panelRoot)
createInstallationRecord in class IzPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||