com.izforge.izpack.panels
Class ShortcutData

java.lang.Object
  extended by com.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.Boolean createForAll
           
 java.lang.String description
           
 java.lang.String deskTopEntryLinux_Encoding
           
 java.lang.String deskTopEntryLinux_MimeType
           
 java.lang.String deskTopEntryLinux_Terminal
           
 java.lang.String deskTopEntryLinux_TerminalOptions
           
 java.lang.String deskTopEntryLinux_Type
           
 java.lang.String deskTopEntryLinux_URL
           
 java.lang.String deskTopEntryLinux_X_KDE_SubstituteUID
           
 java.lang.String iconFile
           
 int iconIndex
           
 int initialState
           
 java.lang.String name
           
 java.lang.String subgroup
           
 java.lang.String target
           
 int type
           
 int userType
           
 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

userType

public int userType

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

deskTopEntryLinux_MimeType

public java.lang.String deskTopEntryLinux_MimeType

deskTopEntryLinux_Terminal

public java.lang.String deskTopEntryLinux_Terminal

deskTopEntryLinux_TerminalOptions

public java.lang.String deskTopEntryLinux_TerminalOptions

deskTopEntryLinux_Type

public java.lang.String deskTopEntryLinux_Type

deskTopEntryLinux_URL

public java.lang.String deskTopEntryLinux_URL

deskTopEntryLinux_Encoding

public java.lang.String deskTopEntryLinux_Encoding

deskTopEntryLinux_X_KDE_SubstituteUID

public java.lang.String deskTopEntryLinux_X_KDE_SubstituteUID

createForAll

public java.lang.Boolean createForAll
Constructor Detail

ShortcutData

public ShortcutData()
Method Detail

clone

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

Overrides:
clone in class java.lang.Object
Returns:
a copy of this object
Throws:
java.lang.CloneNotSupportedException
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