|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.alertmgr.TWGActionParm
com.tivoli.twg.alertmgr.TWGActionParmListBox
com.tivoli.twg.alertmgr.TWGActionParmStringSpinner
A class for designating that an Event Action parameter should take the form of a rotaing list of strings. The spinner only allows one selection at a time.
Field Summary |
---|
Fields inherited from class com.tivoli.twg.alertmgr.TWGActionParmListBox |
---|
itemsBundle |
Fields inherited from class com.tivoli.twg.alertmgr.TWGActionParm |
---|
ACTION_PARM_DROPDOWN, ACTION_PARM_FLOAT_SPINNER, ACTION_PARM_KEYED_DROPDOWN, ACTION_PARM_KEYED_MULTI_SEL_LIST, ACTION_PARM_LONG_SPINNER, ACTION_PARM_MULTI_SEL_LIST, ACTION_PARM_STRING_SPINNER, ACTION_PARM_STRING_TREE, ACTION_PARM_TEXTAREA, ACTION_PARM_TEXTBOX |
Constructor Summary | |
---|---|
TWGActionParmStringSpinner(IntelByteBuffer buf)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGActionParmStringSpinner(int index,
java.lang.String label,
java.lang.String labelBundle,
java.lang.String sublabel,
java.lang.String sublabelBundle,
java.lang.String[] choices,
java.lang.String choicesBundle,
int defaultChoice)
Constructor for a rotating list of string values action parameter where one pre-selection are made. |
|
TWGActionParmStringSpinner(TWGActionParmStringSpinner apss)
Copy constructor. |
Method Summary | |
---|---|
java.awt.Component |
getGuiComponent()
Get the graphical component associated with this TWGActionParm subclass. |
void |
saveValues(java.awt.Component spinner)
Save the user customized value(s) of this action parameter. |
boolean |
wasModified(java.awt.Component spinner)
Determine if the user modified the value(s) of this action parameter. |
Methods inherited from class com.tivoli.twg.alertmgr.TWGActionParmListBox |
---|
getItem, getItemsBundle, getListOfItems, getListOfItems, getNumSelectedItems, getSelected, getSelectedItems, print, readTWGActionParmListBox, setItem, setItemsBundle, setListOfItems, setSelected, setSelectedItems, sizeOf, sizeOfHdr, sizeOfTWGActionParmListBox, toIntelByteBuffer, writeIntelByteBuffer, writeIntelByteBuffer |
Methods inherited from class com.tivoli.twg.alertmgr.TWGActionParm |
---|
getCapturedValues, getCapturedValues, getIndex, getLabel, getLabel, getLabelBundle, getSubLabel, getSubLabel, getSubLabelBundle, readTWGActionParm, setIndex, setLabel, setLabel, setLabelBundle, setSubLabel, setSubLabel, setSubLabelBundle, setType, sizeOfTWGActionParm, traceString, traceValue, unwrap, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGActionParmStringSpinner(int index, java.lang.String label, java.lang.String labelBundle, java.lang.String sublabel, java.lang.String sublabelBundle, java.lang.String[] choices, java.lang.String choicesBundle, int defaultChoice)
index
- Index of action parameter (used as a reference key)label
- Label (or associated bundle keyword if label bundle non-null).choices
- Array of choices presented to the user.
Literal strings or associated bundle keywords if choices bundle non-null. array of choices presented to the userchoicesBundle
- Bundle containing choices referenced choices keywordsdefaultChoice
- Index that references the array of choices indicating the
pre-selected value.public TWGActionParmStringSpinner(TWGActionParmStringSpinner apss)
public TWGActionParmStringSpinner(IntelByteBuffer buf)
buf
- IntelByteBuffer from which data should be readMethod Detail |
public java.awt.Component getGuiComponent()
getGuiComponent
in class TWGActionParmListBox
public void saveValues(java.awt.Component spinner)
saveValues
in class TWGActionParmListBox
spinner
- instance of the Swing component this subclass uses to display the action parameterpublic boolean wasModified(java.awt.Component spinner)
wasModified
in class TWGActionParmListBox
spinner
- instance of the Swing component this subclass uses to display the action parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |