|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGConObject
com.tivoli.twg.engine.TWGConImageSet
Console object used to shadow the state of a TWGImageSet object in the Director Server.
Field Summary |
---|
Fields inherited from class com.tivoli.twg.engine.TWGConObject |
---|
INVALID_OBJECT_ID |
Constructor Summary | |
---|---|
TWGConImageSet(long obj_id)
Constructor for TWGConImageSet with given object ID |
Method Summary | |
---|---|
javax.swing.ImageIcon |
getImage(int index)
Get image specified by the index to an image name |
javax.swing.ImageIcon |
getImage(int index,
boolean enabled)
Get image specified by the index to an image name |
javax.swing.ImageIcon |
getImage(int index,
boolean enabled,
java.lang.String[] defaultImageIconNames)
Get image specified by the index to an image name |
javax.swing.ImageIcon |
getImage(int index,
java.lang.String[] defaultImageIconNames)
Get image specified by the index to an image name |
java.lang.String |
getImageName(int index)
Get image resource string at given index |
int |
imageCount()
Number of image strings defined in set |
java.lang.String |
toString()
Generate string representation of object |
void |
UpdateUsingShadowRecord(byte[] rec,
int rec_off,
int rec_len)
Update object using shadow record created by the the engine object which is matched with this class. |
Methods inherited from class com.tivoli.twg.engine.TWGConObject |
---|
AllObjects, AllObjects, Delete, DeleteObjects, DeregisterListener, FindObject, getBaseClassName, LookUpShadowClass, ObjectID, ProcessUpdateRequest, RegisterListener, SetObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGConImageSet(long obj_id) throws DuplicateObjectIDException
obj_id
- - object ID of console object
DuplicateObjectIDException
- if ID is duplicate of
existing object IDMethod Detail |
public void UpdateUsingShadowRecord(byte[] rec, int rec_off, int rec_len)
UpdateUsingShadowRecord
in class TWGConObject
rec
- - byte array containing opaque representation of
shadowed attributesrec_off
- - offset of shadow record in byte arrayrec_len
- - length of shadow record in byte arraypublic java.lang.String toString()
toString
in class TWGConObject
public java.lang.String getImageName(int index)
index
- - index of resource string in set (base 0)
public javax.swing.ImageIcon getImage(int index)
index
- - index of image in set (base 0)
public javax.swing.ImageIcon getImage(int index, java.lang.String[] defaultImageIconNames)
index
- - index of image in set (base 0)defaultImageIconNames
- - a string array containing the names of
the default image icon set.
public javax.swing.ImageIcon getImage(int index, boolean enabled)
index
- - index of image in set (base 0)enabled
- - True if task image is rendered enabled, false if task image is rendered disabled (opaque).
public javax.swing.ImageIcon getImage(int index, boolean enabled, java.lang.String[] defaultImageIconNames)
index
- - index of image in set (base 0)enabled
- - True if task image is rendered enabled, false if task image is rendered disabled (opaque).
public int imageCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |