com.ibm.as400.resource
Class Presentation

java.lang.Object
  extended bycom.ibm.as400.resource.Presentation
All Implemented Interfaces:
Serializable

Deprecated. Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

public class Presentation
extends Object
implements Serializable

The Presentation class represents presentation information that describes an object. This may include description text, help text, and icons. In addition, customized information can also be stored.

See Also:
Serialized Form

Field Summary
static String DESCRIPTION_TEXT
          Deprecated. Constant indicating the presentation key for description text.
static String FULL_NAME
          Deprecated. Constant indicating the presentation key for full name.
static String HELP_TEXT
          Deprecated. Constant indicating the presentation key for help text.
static String ICON_COLOR_16x16
          Deprecated. Constant indicating the presentation key for a 16x16 color icon.
static String ICON_COLOR_32x32
          Deprecated. Constant indicating the presentation key for a 32x32 color icon.
static String NAME
          Deprecated. Constant indicating the presentation key for abbreviated name.
 
Constructor Summary
Presentation()
          Deprecated. Constructs a Presentation object.
Presentation(String name)
          Deprecated. Constructs a Presentation object.
Presentation(String name, String fullName)
          Deprecated. Constructs a Presentation object.
 
Method Summary
 String getFullName()
          Deprecated. Returns the full name.
 String getName()
          Deprecated. Returns the abbreviated name.
 Object getValue(Object key)
          Deprecated. Returns a presentation value.
 void setFullName(String fullName)
          Deprecated. Sets the full name.
 void setName(String name)
          Deprecated. Sets the abbreviated name.
 void setValue(Object key, Object value)
          Deprecated. Sets a presentation value.
 String toString()
          Deprecated. Returns the abbreviated name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Deprecated. 
Constant indicating the presentation key for abbreviated name.

See Also:
Constant Field Values

FULL_NAME

public static final String FULL_NAME
Deprecated. 
Constant indicating the presentation key for full name.

See Also:
Constant Field Values

DESCRIPTION_TEXT

public static final String DESCRIPTION_TEXT
Deprecated. 
Constant indicating the presentation key for description text. If avaliable, this represents a String value.

See Also:
Constant Field Values

HELP_TEXT

public static final String HELP_TEXT
Deprecated. 
Constant indicating the presentation key for help text. If avaliable, this represents a String value.

See Also:
Constant Field Values

ICON_COLOR_16x16

public static final String ICON_COLOR_16x16
Deprecated. 
Constant indicating the presentation key for a 16x16 color icon. If avaliable, this represents a java.awt.Image value.

See Also:
Constant Field Values

ICON_COLOR_32x32

public static final String ICON_COLOR_32x32
Deprecated. 
Constant indicating the presentation key for a 32x32 color icon. If avaliable, this represents a java.awt.Image value.

See Also:
Constant Field Values
Constructor Detail

Presentation

public Presentation()
Deprecated. 
Constructs a Presentation object.


Presentation

public Presentation(String name)
Deprecated. 
Constructs a Presentation object.

Parameters:
name - The abbreviated name.

Presentation

public Presentation(String name,
                    String fullName)
Deprecated. 
Constructs a Presentation object.

Parameters:
name - The abbreviated name.
fullName - The full name.
Method Detail

getFullName

public String getFullName()
Deprecated. 
Returns the full name. The length of the full name is usually greater than or equal to the abbreviated name.

Returns:
The full name if a full name has been set, or the abbreviated name if a full name has not been set.

getName

public String getName()
Deprecated. 
Returns the abbreviated name. The length of the abbreviated name is usually less than or equal to the full name.

Returns:
The abbreviated name.

getValue

public Object getValue(Object key)
Deprecated. 
Returns a presentation value.

Parameters:
key - The presentation key.
Returns:
The presentation value, or null if no value for the key is set.

setFullName

public void setFullName(String fullName)
Deprecated. 
Sets the full name. The length of the full name is usually greater than or equal to the abbreviated name.

Parameters:
fullName - The full name.

setName

public void setName(String name)
Deprecated. 
Sets the abbreviated name. The length of the abbreviated name is usually less than or equal to the full name.

Parameters:
name - The abbreviated name.

setValue

public void setValue(Object key,
                     Object value)
Deprecated. 
Sets a presentation value.

Parameters:
key - The presentation key.
value - The presentation value.

toString

public String toString()
Deprecated. 
Returns the abbreviated name.

Returns:
The abbreviated name.