|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.resource.Presentation
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.
Field Summary | |
static java.lang.String |
DESCRIPTION_TEXT
Constant indicating the presentation key for description text. |
static java.lang.String |
FULL_NAME
Constant indicating the presentation key for full name. |
static java.lang.String |
HELP_TEXT
Constant indicating the presentation key for help text. |
static java.lang.String |
ICON_COLOR_16x16
Constant indicating the presentation key for a 16x16 color icon. |
static java.lang.String |
ICON_COLOR_32x32
Constant indicating the presentation key for a 32x32 color icon. |
static java.lang.String |
NAME
Constant indicating the presentation key for abbreviated name. |
Constructor Summary | |
Presentation()
Constructs a Presentation object. |
|
Presentation(java.lang.String name)
Constructs a Presentation object. |
|
Presentation(java.lang.String name,
java.lang.String fullName)
Constructs a Presentation object. |
Method Summary | |
java.lang.String |
getFullName()
Returns the full name. |
java.lang.String |
getName()
Returns the abbreviated name. |
java.lang.Object |
getValue(java.lang.Object key)
Returns a presentation value. |
void |
setFullName(java.lang.String fullName)
Sets the full name. |
void |
setName(java.lang.String name)
Sets the abbreviated name. |
void |
setValue(java.lang.Object key,
java.lang.Object value)
Sets a presentation value. |
java.lang.String |
toString()
Returns the abbreviated name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
public static final java.lang.String FULL_NAME
public static final java.lang.String DESCRIPTION_TEXT
public static final java.lang.String HELP_TEXT
public static final java.lang.String ICON_COLOR_16x16
public static final java.lang.String ICON_COLOR_32x32
Constructor Detail |
public Presentation()
public Presentation(java.lang.String name)
name
- The abbreviated name.public Presentation(java.lang.String name, java.lang.String fullName)
name
- The abbreviated name.fullName
- The full name.Method Detail |
public java.lang.String getFullName()
public java.lang.String getName()
public java.lang.Object getValue(java.lang.Object key)
key
- The presentation key.public void setFullName(java.lang.String fullName)
fullName
- The full name.public void setName(java.lang.String name)
name
- The abbreviated name.public void setValue(java.lang.Object key, java.lang.Object value)
key
- The presentation key.value
- The presentation value.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |