|
|||||||||||
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.TWGActionParmLongSpinner
A class for designating that an Event Action parameter should take the form of a rotating list of long values. The spinner only allows one selection at a time.
Field Summary |
---|
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 | |
---|---|
TWGActionParmLongSpinner(IntelByteBuffer buf)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGActionParmLongSpinner(IntelByteBuffer buf,
int off)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGActionParmLongSpinner(int idx,
java.lang.String label,
java.lang.String labelBundle,
java.lang.String sublabel,
java.lang.String sublabelBundle,
long low,
long high,
long inc,
long defaultValue)
Constructor for a rotating list of long values action parameter where one pre-selection are made. |
|
TWGActionParmLongSpinner(TWGActionParmLongSpinner apls)
Copy constructor. |
Method Summary | |
---|---|
java.awt.Component |
getGuiComponent()
Get the graphical component associated with this TWGActionParm subclass. |
long |
getHighRange()
Get the high-end value of the selectable range. |
long |
getIncrement()
Get the incremental value within the selectable range. |
long |
getLowRange()
Get the low-end value of the selectable range. |
long |
getValue()
Get the selected value of the selectable range. |
void |
print()
Print the contents of the TWGActionParmLongSpinner. |
int |
readTWGActionParmLongSpinner(IntelByteBuffer buf,
int off)
Constructor for interpreting a provided IntelByteBuffer. |
void |
saveValues(java.awt.Component spinner)
Save the user customized value(s) of this action parameter. |
void |
setHighRange(long hr)
Set the high-end value of the selectable range. |
void |
setIncrement(long i)
Set the incremental value of the selectable range. |
void |
setLowRange(long lr)
Set the low-end value of the selectable range. |
void |
setValue(long v)
Set the selected value to the value provided. |
int |
sizeOf()
Size of the object. |
static int |
sizeOfHdr()
Size of the header. |
int |
sizeOfTWGActionParmLongSpinner()
Size of the object. |
IntelByteBuffer |
toIntelByteBuffer()
Convert into IntelByteBuffer. |
boolean |
wasModified(java.awt.Component spinner)
Determine if the user modified the value(s) of this action parameter. |
int |
writeIntelByteBuffer(IntelByteBuffer buf)
Write contents of this object into an IntelByteBuffer. |
int |
writeIntelByteBuffer(IntelByteBuffer buf,
int off)
Write action parm into provided IntelByteBuffer. |
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 TWGActionParmLongSpinner(int idx, java.lang.String label, java.lang.String labelBundle, java.lang.String sublabel, java.lang.String sublabelBundle, long low, long high, long inc, long defaultValue)
label
- Label (or associated bundle keyword if label bundle non-null).low
- Long defining the low-end of the values presented to the user.high
- Long defining the high-end of the values presented to the user.inc
- Long defining the increment between values presented to the user.defaultValue
- Index that references the array of choices indicating the
pre-selected value.public TWGActionParmLongSpinner(TWGActionParmLongSpinner apls)
public TWGActionParmLongSpinner(IntelByteBuffer buf)
buf
- IntelByteBuffer from which data should be readpublic TWGActionParmLongSpinner(IntelByteBuffer buf, int off)
Method Detail |
public static int sizeOfHdr()
public int sizeOfTWGActionParmLongSpinner()
public int sizeOf()
sizeOf
in class TWGActionParm
public IntelByteBuffer toIntelByteBuffer()
toIntelByteBuffer
in class TWGActionParm
public int writeIntelByteBuffer(IntelByteBuffer buf)
writeIntelByteBuffer
in class TWGActionParm
buf
- IntelByteBuffer into which data should be written
public int writeIntelByteBuffer(IntelByteBuffer buf, int off)
writeIntelByteBuffer
in class TWGActionParm
buf
- IntelByteBuffer into which data should be writtenoff
- offset from the current relative start of the provided IntelByteBuffer
public int readTWGActionParmLongSpinner(IntelByteBuffer buf, int off)
public java.awt.Component getGuiComponent()
getGuiComponent
in class TWGActionParm
public void saveValues(java.awt.Component spinner)
saveValues
in class TWGActionParm
spinner
- instance of the Swing component this subclass uses to display the action parameterpublic boolean wasModified(java.awt.Component spinner)
wasModified
in class TWGActionParm
spinner
- instance of the Swing component this subclass uses to display the action parameterpublic long getLowRange()
public void setLowRange(long lr)
public long getHighRange()
public void setHighRange(long hr)
public long getIncrement()
public void setIncrement(long i)
public long getValue()
public void setValue(long v)
public void print()
print
in class TWGActionParm
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |