|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGTaskMenuList
This class is used to hold the keys and weights that make up the labels in the various levels of a pull-down or fly-out menu for tasks and their subtasks.
Constructor Summary | |
---|---|
TWGTaskMenuList()
Default constructor. |
|
TWGTaskMenuList(java.lang.String list)
Constructor accepting a string which is a key/sort factor pair list for pull-down or fly-out menu entries. |
|
TWGTaskMenuList(TWGByteArrayInputStream buffer)
Constructor for creating a MenuList from an input byte stream. |
Method Summary | |
---|---|
void |
flatten(TWGByteArrayOutputStream data,
MultiLocaleBundle bundle,
java.util.Locale locale)
Save the contents of this TWGTaskMenuList to an output byte stream. |
java.lang.String |
getKeyAt(int index)
Obtain the menu text key for the nth level of this TWGTaskMenuList. |
int |
getNestedCount()
Obtain a count of the number of list entries for this TWGTaskMenuList. |
int |
getWeightAt(int index)
Obtain the menu weight for the nth level of this TWGTaskMenuList. |
java.lang.String |
toString()
Obtain a string representation of this TWGTaskMenuList. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGTaskMenuList()
public TWGTaskMenuList(java.lang.String list) throws TWGTaskException
TWGTask#setLabel
public TWGTaskMenuList(TWGByteArrayInputStream buffer) throws TWGPersistentObjectRestoreException
buffer
- input byte stream from which to read this Subtasks dataMethod Detail |
public void flatten(TWGByteArrayOutputStream data, MultiLocaleBundle bundle, java.util.Locale locale)
data
- the output byte stream where data should be writtenlocale
- the locale to use for retrieving the label text. For
persistant object saves, this is null, for shadow
images, this is the requested locale.public java.lang.String toString()
public int getNestedCount()
public java.lang.String getKeyAt(int index)
public int getWeightAt(int index)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |