| javax.swing.JPanel com.izforge.izpack.installer.IzPanel com.izforge.izpack.panels.ShortcutPanel
ShortcutPanel | public class ShortcutPanel extends IzPanel implements ActionListener,ListSelectionListener(Code) | | 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.
version: $Revision: 2061 $ |
AUTO_ATTRIBUTE_COMMAND | final public static String AUTO_ATTRIBUTE_COMMAND(Code) | | AUTO_ATTRIBUTE_COMMAND = "commandLine"
|
AUTO_ATTRIBUTE_DESCRIPTION | final public static String AUTO_ATTRIBUTE_DESCRIPTION(Code) | | AUTO_ATTRIBUTE_DESCRIPTION = "description"
|
AUTO_ATTRIBUTE_GROUP | final public static String AUTO_ATTRIBUTE_GROUP(Code) | | AUTO_ATTRIBUTE_GROUP = "group"
|
AUTO_ATTRIBUTE_ICON | final public static String AUTO_ATTRIBUTE_ICON(Code) | | AUTO_ATTRIBUTE_ICON = "icon"
|
AUTO_ATTRIBUTE_ICON_INDEX | final public static String AUTO_ATTRIBUTE_ICON_INDEX(Code) | | AUTO_ATTRIBUTE_ICON_INDEX = "iconIndex"
|
AUTO_ATTRIBUTE_INITIAL_STATE | final public static String AUTO_ATTRIBUTE_INITIAL_STATE(Code) | | AUTO_ATTRIBUTE_INITIAL_STATE = "initialState"
|
AUTO_ATTRIBUTE_NAME | final public static String AUTO_ATTRIBUTE_NAME(Code) | | AUTO_ATTRIBUTE_NAME = "name"
|
AUTO_ATTRIBUTE_TARGET | final public static String AUTO_ATTRIBUTE_TARGET(Code) | | AUTO_ATTRIBUTE_TARGET = "target"
|
AUTO_ATTRIBUTE_TYPE | final public static String AUTO_ATTRIBUTE_TYPE(Code) | | AUTO_ATTRIBUTE_TYPE "type"
|
AUTO_ATTRIBUTE_WORKING_DIR | final public static String AUTO_ATTRIBUTE_WORKING_DIR(Code) | | AUTO_ATTRIBUTE_WORKING_DIR = "workingDirectory"
|
AUTO_KEY_PROGRAM_GROUP | final public static String AUTO_KEY_PROGRAM_GROUP(Code) | | AUTO_KEY_PROGRAM_GROUP = SPEC_KEY_PROGRAM_GROUP = "programGroup"
|
AUTO_KEY_SHORTCUT | final public static String AUTO_KEY_SHORTCUT(Code) | | AUTO_KEY_SHORTCUT = SPEC_KEY_SHORTCUT = "shortcut"
|
CREATE_FOR_ALL | final public static String CREATE_FOR_ALL(Code) | | CREATE_FOR_ALL = "createForAll"
|
SPEC_ATTRIBUTE_ENCODING | final public static String SPEC_ATTRIBUTE_ENCODING(Code) | | SPEC_ATTRIBUTE_ENCODING = "encoding"
|
SPEC_ATTRIBUTE_KDE_SUBST_UID | final public static String SPEC_ATTRIBUTE_KDE_SUBST_UID(Code) | | SPEC_ATTRIBUTE_KDE_SUBST_UID = "KdeSubstUID"
|
SPEC_ATTRIBUTE_KDE_USERNAME | final public static String SPEC_ATTRIBUTE_KDE_USERNAME(Code) | | SPEC_ATTRIBUTE_KDE_USERNAME ="KdeUsername"
|
SPEC_ATTRIBUTE_MIMETYPE | final public static String SPEC_ATTRIBUTE_MIMETYPE(Code) | | SPEC_ATTRIBUTE_MIMETYPE = "mimetype"
|
SPEC_ATTRIBUTE_TERMINAL | final public static String SPEC_ATTRIBUTE_TERMINAL(Code) | | SPEC_ATTRIBUTE_TERMINAL = "terminal"
|
SPEC_ATTRIBUTE_TERMINAL_OPTIONS | final public static String SPEC_ATTRIBUTE_TERMINAL_OPTIONS(Code) | | SPEC_ATTRIBUTE_TERMINAL_OPTIONS = "terminalOptions"
|
SPEC_ATTRIBUTE_TYPE | final public static String SPEC_ATTRIBUTE_TYPE(Code) | | SPEC_ATTRIBUTE_TYPE = "type"
|
SPEC_ATTRIBUTE_URL | final public static String SPEC_ATTRIBUTE_URL(Code) | | SPEC_ATTRIBUTE_URL = "url"
|
SPEC_CATEGORIES | final public static String SPEC_CATEGORIES(Code) | | SPEC_CATEGORIES = "categories"
|
SPEC_TRYEXEC | final public static String SPEC_TRYEXEC(Code) | | SPEC_TRYEXEC = "tryexec"
|
USER_TYPE | final public static String USER_TYPE(Code) | | USER_TYPE = "usertype" to store this information in the automated.xml
|
col | int col(Code) | | internal column counter
|
create | static boolean create(Code) | | internal flag: create
|
createImmediately | public static boolean createImmediately(Code) | | May be switched by an installerlistener to false.
Installerlistener may then perform the creation of the shortcuts after the files have been installed...
Default is true.
|
line | int line(Code) | | internal line counter
|
ShortcutPanel | public ShortcutPanel(InstallerFrame parent, InstallData installData)(Code) | | Constructor.
Parameters: parent - reference to the application frame Parameters: installData - shared information about the installation |
actionPerformed | public void actionPerformed(ActionEvent event)(Code) | | This method represents the ActionListener interface, invoked when an action occurs.
Parameters: event - the action event. |
createAndRegisterShortcuts | public void createAndRegisterShortcuts()(Code) | | Enables Shortcutcreation from outside, e.g. from an InstallerListener.
The Installerlistener can switch the flag "createImmediately" to false on initialisation, and call this method when afterpacks is performed.
This makes only sense, if the ShorcutPanel is displayed before the files are copied onto the disk.
|
getSize | public Dimension getSize()(Code) | | Overriding the superclass implementation. This method returns the size of the container.
the size of the container |
isValidated | public boolean isValidated()(Code) | | Returns true when all selections have valid settings. This indicates that it is legal to
procede to the next panel.
true if it is legal to procede to the next panel, otherwise false. |
panelActivate | public void panelActivate()(Code) | | Called when the panel is shown to the user.
|
valueChanged | public void valueChanged(ListSelectionEvent event)(Code) | | This method is called by the groupList when the user makes a selection. It updates the
content of the programGroup with the result of the selection.
Parameters: event - the list selection event |
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)
|
|
|