public class ShortcutPanel extends IzPanel implements ActionListener, ListSelectionListener
ShellLink
,
Serialized FormIzPanel.Filler
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
private JCheckBox |
allowDesktopShortcut
UI element to allow the user to decide if shortcuts should be placed on the desktop or not.
|
private JRadioButton |
allUsers
UI element instruct this panel to create shortcuts for all users
|
private static String |
AUTO_ATTRIBUTE_COMMAND
AUTO_ATTRIBUTE_COMMAND = "commandLine"
|
private static String |
AUTO_ATTRIBUTE_DESCRIPTION
AUTO_ATTRIBUTE_DESCRIPTION = "description"
|
private static String |
AUTO_ATTRIBUTE_GROUP
AUTO_ATTRIBUTE_GROUP = "group"
|
private static String |
AUTO_ATTRIBUTE_ICON
AUTO_ATTRIBUTE_ICON = "icon"
|
private static String |
AUTO_ATTRIBUTE_ICON_INDEX
AUTO_ATTRIBUTE_ICON_INDEX = "iconIndex"
|
private static String |
AUTO_ATTRIBUTE_INITIAL_STATE
AUTO_ATTRIBUTE_INITIAL_STATE = "initialState"
|
private static String |
AUTO_ATTRIBUTE_NAME
AUTO_ATTRIBUTE_NAME = "name"
|
private static String |
AUTO_ATTRIBUTE_TARGET
AUTO_ATTRIBUTE_TARGET = "target"
|
private static String |
AUTO_ATTRIBUTE_TYPE
AUTO_ATTRIBUTE_TYPE "type"
|
private static String |
AUTO_ATTRIBUTE_WORKING_DIR
AUTO_ATTRIBUTE_WORKING_DIR = "workingDirectory"
|
private static String |
AUTO_KEY_PROGRAM_GROUP
AUTO_KEY_PROGRAM_GROUP = "programGroup"
|
private static String |
AUTO_KEY_SHORTCUT
AUTO_KEY_SHORTCUT = "shortcut"
|
private GridBagConstraints |
constraints
The contraints object to use whan creating the layout
|
(package private) static boolean |
create |
private static String |
CREATE_FOR_ALL |
private JCheckBox |
createShortcuts |
private JRadioButton |
currentUser
UI element instruct this panel to create shortcuts for the current user only
|
private JButton |
defaultButton
UI element to allow the user to revert to the default name of the program group
|
private Vector |
execFiles
a VectorList of Files wich should be make executable
|
private Vector |
files
Holds a list of all the shortcut files that have been created.
|
private boolean |
firstTime
Avoids bogus behaviour when the user goes back then returns to this panel.
|
private JList |
groupList
UI element to present the list of existing program groups for selection
|
private int |
groupLocation
The location for placign the program group.
|
private String |
groupName
The name chosen by the user for the program group,
|
private boolean |
hasDesktopShortcuts
Set to
true by analyzeShortcutSpec() if there are any desktop
shortcuts to create. |
private boolean |
haveShortcutSpec
If
true it indicates that the spec file is existing and could be read. |
private static boolean |
isRootUser |
private File |
itsProgramFolder |
private int |
itsUserType |
private GridBagLayout |
layout
The layout for this panel
|
private JLabel |
listLabel
UI element to label the list of existing program groups
|
private static String |
LOCATION_APPLICATIONS
LOCATION_APPLICATIONS=applications
|
private static String |
LOCATION_START_MENU
LOCATION_START_MENU = "startMenu"
|
private JTextField |
programGroup
UI element to present the default name for the program group and to support editing of this
name.
|
private JButton |
saveButton
UI element to allow the user to save a text file with the shortcut information
|
private static String |
SEPARATOR_LINE
SEPARATOR_LINE =
"--------------------------------------------------------------------------------";
|
private static long |
serialVersionUID |
private Shortcut |
shortcut
the one shortcut instance for reuse in many locations
|
private Vector |
shortcuts
A list of
ShortcutData objects. |
private boolean |
shortcutsToCreate
If
true it indicates that there are shortcuts to create. |
private boolean |
simulteNotSupported
This is set to true if the shortcut spec instructs to simulate running on an operating system
that is not supported.
|
private boolean |
skipIfNotSupported
Tells wether to skip if the platform is not supported.
|
private net.n3.nanoxml.XMLElement |
spec
The parsed result from reading the XML specification from the file
|
private static String |
SPEC_ATTRIBUTE_APPLICATIONS
SPEC_ATTRIBUTE_APPLICATIONS = "applications"
|
private static String |
SPEC_ATTRIBUTE_COMMAND
SPEC_ATTRIBUTE_COMMAND = "commandLine"
|
private static String |
SPEC_ATTRIBUTE_DEFAULT_GROUP
SPEC_ATTRIBUTE_DEFAULT_GROUP = "defaultName"
|
private static String |
SPEC_ATTRIBUTE_DESCRIPTION
SPEC_ATTRIBUTE_DESCRIPTION = "description"
|
private static String |
SPEC_ATTRIBUTE_DESKTOP
SPEC_ATTRIBUTE_DESKTOP = "desktop"
|
private static String |
SPEC_ATTRIBUTE_ENCODING
SPEC_ATTRIBUTE_ENCODING = "encoding"
|
private static String |
SPEC_ATTRIBUTE_ICON
SPEC_ATTRIBUTE_ICON "iconFile"
|
private static String |
SPEC_ATTRIBUTE_ICON_INDEX
SPEC_ATTRIBUTE_ICON_INDEX "iconIndex"
|
private static String |
SPEC_ATTRIBUTE_INITIAL_STATE
SPEC_ATTRIBUTE_INITIAL_STATE = "initialState"
|
private static String |
SPEC_ATTRIBUTE_KDE_SUBST_UID
SPEC_ATTRIBUTE_KDE_SUBST_UID = "KdeSubstUID"
|
private static String |
SPEC_ATTRIBUTE_LOCATION
SPEC_ATTRIBUTE_LOCATION = "location"
|
private static String |
SPEC_ATTRIBUTE_MIMETYPE
SPEC_ATTRIBUTE_MIMETYPE = "mimetype"
|
private static String |
SPEC_ATTRIBUTE_NAME
SPEC_ATTRIBUTE_NAME = "name"
|
private static String |
SPEC_ATTRIBUTE_PROGRAM_GROUP
SPEC_ATTRIBUTE_PROGRAM_GROUP = "programGroup"
|
private static String |
SPEC_ATTRIBUTE_START_MENU
SPEC_ATTRIBUTE_START_MENU = "startMenu"
|
private static String |
SPEC_ATTRIBUTE_STARTUP
SPEC_ATTRIBUTE_STARTUP = "startup"
|
private static String |
SPEC_ATTRIBUTE_SUBGROUP
SPEC_ATTRIBUTE_SUBGROUP = "subgroup"
|
private static String |
SPEC_ATTRIBUTE_TARGET
SPEC_ATTRIBUTE_TARGET = "target"
|
private static String |
SPEC_ATTRIBUTE_TERMINAL
SPEC_ATTRIBUTE_TERMINAL = "terminal"
|
private static String |
SPEC_ATTRIBUTE_TERMINAL_OPTIONS
SPEC_ATTRIBUTE_TERMINAL_OPTIONS = "terminalOptions"
|
private static String |
SPEC_ATTRIBUTE_TYPE
SPEC_ATTRIBUTE_TYPE = "type"
|
private static String |
SPEC_ATTRIBUTE_URL
SPEC_ATTRIBUTE_URL = "url"
|
private static String |
SPEC_ATTRIBUTE_WORKING_DIR
SPEC_ATTRIBUTE_WORKING_DIR = "workingDirectory"
|
private static String |
SPEC_FILE_NAME
The name of the XML file that specifies the shortcuts SPEC_FILE_NAME = "shortcutSpec.xml";
|
private static String |
SPEC_KEY_NOT_SUPPORTED
SPEC_KEY_NOT_SUPPORTED = "notSupported"
|
private static String |
SPEC_KEY_PACKS
SPEC_KEY_PACKS = "createForPack"
|
private static String |
SPEC_KEY_PROGRAM_GROUP
SPEC_KEY_PROGRAM_GROUP = "programGroup"
|
private static String |
SPEC_KEY_SHORTCUT
SPEC_KEY_SHORTCUT = "shortcut"
|
private static String |
SPEC_KEY_SKIP_IFNOT_SUPPORTED |
private static String |
SPEC_VALUE_APPLICATIONS
SPEC_VALUE_APPLICATIONS = "applications"
|
private static String |
SPEC_VALUE_MAXIMIZED
SPEC_VALUE_MAXIMIZED = "maximized"
|
private static String |
SPEC_VALUE_MINIMIZED
SPEC_VALUE_MINIMIZED = "minimized"
|
private static String |
SPEC_VALUE_NO_SHOW
SPEC_VALUE_NO_SHOW = "noShow"
|
private static String |
SPEC_VALUE_NORMAL
SPEC_VALUE_NORMAL = "normal"
|
private static String |
SPEC_VALUE_START_MENU
SPEC_VALUE_START_MENU = "startMenu"
|
private String |
suggestedProgramGroup
The default name to use for the program group.
|
private JList |
targetList
UI element for listing the intended shortcut targets
|
private static String |
TEXT_FILE_NAME
The default file name for the text file in which the shortcut information should be stored,
in case shortcuts can not be created on a particular target system.
|
COLS_1, d, D, defaultGridBagConstraints, gridBagLayoutStarted, gridxCounter, gridyCounter, headline, HEADLINE, headLineLabel, idata, initialFocus, izPanelLayout, myClassname, myFullClassname, myPrefix, parent, ROWS_1, X_ORIGIN, Y_ORIGIN
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
ShortcutPanel(InstallerFrame parent,
InstallData installData)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event)
This method represents the
ActionListener interface, invoked when an action
occurs. |
private void |
addSelectionList(File groups,
int aGridx,
int aGridy,
int aGridwidth,
int aGridheight,
int aFill) |
private void |
addToUninstaller()
Adds all files and directories to the uninstaller.
|
private void |
analyzeShortcutSpec()
This method analyzes the specifications for creating shortcuts and builds a list of all the
Shortcuts that need to be created.
|
private boolean |
attributeIsTrue(net.n3.nanoxml.XMLElement element,
String name)
Determines if the named attribute in true.
|
private void |
buildAlternateUI()
This method creates an alternative UI for this panel.
|
private void |
buildUI(File groups)
This method creates the UI for this panel.
|
private void |
createShortcuts()
Creates all shortcuts based on the information in
shortcuts . |
private String |
fixSeparatorChar(String path)
Replaces any ocurrence of '/' or '\' in a path string with the correct version for the
operating system.
|
private File |
getProgramsFolder(int userType)
Returns the ProgramsFolder for the current User
|
Dimension |
getSize()
Overriding the superclass implementation.
|
boolean |
isValidated()
Returns
true when all selections have valid settings. |
void |
makeXMLData(net.n3.nanoxml.XMLElement panelRoot)
Adds iformation about the shortcuts that have been created during the installation to the XML
tree.
|
void |
panelActivate()
Called when the panel is shown to the user.
|
private void |
readShortcutSpec()
Reads the XML specification for the shortcuts to create.
|
void |
runAutomated(net.n3.nanoxml.XMLElement panelRoot)
Creates shortcuts based on teh information in
panelRoot without UI. |
private void |
saveToFile()
This method saves all shortcut information to a text file.
|
private boolean |
shortcutRequiredFor(Vector packs)
Verifies if the shortcut is required for any of the packs listed.
|
void |
valueChanged(ListSelectionEvent event)
This method is called by the
groupList when the user makes a selection. |
askQuestion, askQuestion, buildHeadline, completeGridBagLayout, createLabel, createLabel, createMultiLineLabel, createMultiLineLabel, createMultiLineLabelLang, emitError, emitNotification, emitWarning, getClassName, getControlTextFont, getDefaultGridBagConstraints, getI18nStringForClass, getImageIcon, getInitialFocus, getInstallerFrame, getLAF, getNewGridBagConstraints, getNewGridBagConstraints, getNextXGridBagConstraints, getNextYGridBagConstraints, getNextYGridBagConstraints, getString, getSummaryBody, getSummaryCaption, init, panelDeactivate, resetGridCounter, setDefaultGridBagConstraints, setInitialFocus, setLayout, startGridBagLayout
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
private static final long serialVersionUID
private static final String SPEC_ATTRIBUTE_KDE_SUBST_UID
private static final String SPEC_ATTRIBUTE_URL
private static final String SPEC_ATTRIBUTE_TYPE
private static final String SPEC_ATTRIBUTE_TERMINAL_OPTIONS
private static final String SPEC_ATTRIBUTE_TERMINAL
private static final String SPEC_ATTRIBUTE_MIMETYPE
private static final String SPEC_ATTRIBUTE_ENCODING
private static final String LOCATION_APPLICATIONS
private static final String LOCATION_START_MENU
private static final String SEPARATOR_LINE
private static final String TEXT_FILE_NAME
private static final String SPEC_FILE_NAME
private static final String SPEC_KEY_SKIP_IFNOT_SUPPORTED
private static final String SPEC_KEY_NOT_SUPPORTED
private static final String SPEC_KEY_PROGRAM_GROUP
private static final String SPEC_KEY_SHORTCUT
private static final String SPEC_KEY_PACKS
private static final String SPEC_ATTRIBUTE_DEFAULT_GROUP
private static final String SPEC_ATTRIBUTE_LOCATION
private static final String SPEC_ATTRIBUTE_NAME
private static final String SPEC_ATTRIBUTE_SUBGROUP
private static final String SPEC_ATTRIBUTE_DESCRIPTION
private static final String SPEC_ATTRIBUTE_TARGET
private static final String SPEC_ATTRIBUTE_COMMAND
private static final String SPEC_ATTRIBUTE_ICON
private static final String SPEC_ATTRIBUTE_ICON_INDEX
private static final String SPEC_ATTRIBUTE_WORKING_DIR
private static final String SPEC_ATTRIBUTE_INITIAL_STATE
private static final String SPEC_ATTRIBUTE_DESKTOP
private static final String SPEC_ATTRIBUTE_APPLICATIONS
private static final String SPEC_ATTRIBUTE_START_MENU
private static final String SPEC_ATTRIBUTE_STARTUP
private static final String SPEC_ATTRIBUTE_PROGRAM_GROUP
private static final String SPEC_VALUE_APPLICATIONS
private static final String SPEC_VALUE_START_MENU
private static final String SPEC_VALUE_NO_SHOW
private static final String SPEC_VALUE_NORMAL
private static final String SPEC_VALUE_MAXIMIZED
private static final String SPEC_VALUE_MINIMIZED
private static final String AUTO_KEY_PROGRAM_GROUP
private static final String AUTO_KEY_SHORTCUT
private static final String AUTO_ATTRIBUTE_NAME
private static final String AUTO_ATTRIBUTE_GROUP
private static final String AUTO_ATTRIBUTE_TYPE
private static final String AUTO_ATTRIBUTE_COMMAND
private static final String AUTO_ATTRIBUTE_DESCRIPTION
private static final String AUTO_ATTRIBUTE_ICON
private static final String AUTO_ATTRIBUTE_ICON_INDEX
private static final String AUTO_ATTRIBUTE_INITIAL_STATE
private static final String AUTO_ATTRIBUTE_TARGET
private static final String AUTO_ATTRIBUTE_WORKING_DIR
private static final String CREATE_FOR_ALL
private JList groupList
private JList targetList
private JTextField programGroup
private JButton defaultButton
private JButton saveButton
private JCheckBox allowDesktopShortcut
private JCheckBox createShortcuts
private JRadioButton currentUser
private JRadioButton allUsers
private GridBagLayout layout
private GridBagConstraints constraints
private String suggestedProgramGroup
private int groupLocation
private net.n3.nanoxml.XMLElement spec
private boolean hasDesktopShortcuts
true
by analyzeShortcutSpec()
if there are any desktop
shortcuts to create.private boolean skipIfNotSupported
private Vector shortcuts
ShortcutData
objects. Each object is the complete specification for
one shortcut that must be created.private Vector files
createShortcuts()
has been called. This list is
created so that the files can be added to the uninstaller.private boolean shortcutsToCreate
true
it indicates that there are shortcuts to create. The value is set by
analyzeShortcutSpec()
private boolean haveShortcutSpec
true
it indicates that the spec file is existing and could be read.private boolean simulteNotSupported
private boolean firstTime
private File itsProgramFolder
private int itsUserType
static boolean create
private static boolean isRootUser
public ShortcutPanel(InstallerFrame parent, InstallData installData)
parent
- reference to the application frameinstallData
- shared information about the installationpublic void actionPerformed(ActionEvent event)
ActionListener
interface, invoked when an action
occurs.actionPerformed
in interface ActionListener
event
- the action event.public boolean isValidated()
true
when all selections have valid settings. This indicates that it
is legal to procede to the next panel.isValidated
in class IzPanel
true
if it is legal to procede to the next panel, otherwise
false
.public void panelActivate()
panelActivate
in class IzPanel
private File getProgramsFolder(int userType)
public void valueChanged(ListSelectionEvent event)
groupList
when the user makes a selection. It
updates the content of the programGroup
with the result of the selection.valueChanged
in interface ListSelectionListener
event
- the list selection eventprivate void readShortcutSpec() throws Exception
Exception
- for any problems in reading the specificationprivate void analyzeShortcutSpec()
private void createShortcuts()
shortcuts
.private boolean shortcutRequiredFor(Vector packs)
true
is always returnd. The same
is true if the packs
list is empty.packs
- a Vector
of String
s. Each of the strings denotes
a pack for which the schortcut should be created if the pack is actually installed.true
if the shortcut is required for at least on pack in the list,
otherwise returns false
.private boolean attributeIsTrue(net.n3.nanoxml.XMLElement element, String name)
false
to be returned.element
- the XMLElement
to search for the attribute.name
- the name of the attribute to test.true
if the attribute value equals one of the pre-defined strings,
false
otherwise.private String fixSeparatorChar(String path)
path
- a system pathprivate void buildUI(File groups)
groups
- A Vector
that contains Strings
with all the names
of the existing program groups. These will be placed in the groupList
.private void addSelectionList(File groups, int aGridx, int aGridy, int aGridwidth, int aGridheight, int aFill)
groups
- private void buildAlternateUI()
public Dimension getSize()
private void saveToFile()
private void addToUninstaller()
public void makeXMLData(net.n3.nanoxml.XMLElement panelRoot)
makeXMLData
in class IzPanel
panelRoot
- the root of the XML treepublic void runAutomated(net.n3.nanoxml.XMLElement panelRoot)
panelRoot
without UI.panelRoot
- the root of the XML treeWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses