com.izforge.izpack.panels
Class ShortcutData

java.lang.Object
  extended bycom.izforge.izpack.panels.ShortcutData
All Implemented Interfaces:
java.lang.Cloneable

public class ShortcutData
extends java.lang.Object
implements java.lang.Cloneable

This class serves as a data structure in ShortcutPanel

Version:
0.0.1 / 4/1/02
Author:
Elmar Grom

Field Summary
 boolean addToGroup
           
 java.lang.String commandLine
           
 java.lang.String description
           
 java.lang.String iconFile
           
 int iconIndex
           
 int initialState
           
 java.lang.String name
           
 java.lang.String subgroup
           
 java.lang.String target
           
 int type
           
 java.lang.String workingDirectory
           
 
Constructor Summary
ShortcutData()
           
 
Method Summary
 java.lang.Object clone()
          Returns a clone (copy) of this object.
private  java.lang.String cloneString(java.lang.String original)
          Clones a String, that is it makes a copy of the content, not of the reference.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

description

public java.lang.String description

target

public java.lang.String target

commandLine

public java.lang.String commandLine

type

public int type

addToGroup

public boolean addToGroup

subgroup

public java.lang.String subgroup

iconFile

public java.lang.String iconFile

iconIndex

public int iconIndex

initialState

public int initialState

workingDirectory

public java.lang.String workingDirectory
Constructor Detail

ShortcutData

public ShortcutData()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.OutOfMemoryError
Returns a clone (copy) of this object.

Returns:
a copy of this object
Throws:
java.lang.OutOfMemoryError

cloneString

private java.lang.String cloneString(java.lang.String original)
Clones a String, that is it makes a copy of the content, not of the reference. In addition, if the original is null then an empty String is returned rather than null.

Parameters:
original - the String to clone
Returns:
a clone of the original