|
|||||||||||
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.TWGActionParmText
An abstract class for designating that an Event Action parameter should take the form of a simple text string.
Field Summary | |
---|---|
static int |
PASSWORD
|
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 | |
---|---|
TWGActionParmText(IntelByteBuffer buf,
int type)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGActionParmText(IntelByteBuffer buf,
int off,
int type)
Constructor for interpreting a provided IntelByteBuffer at a given offset. |
|
TWGActionParmText(int index,
int type,
java.lang.String label,
java.lang.String labelBundle,
java.lang.String sublabel,
java.lang.String sublabelBundle,
java.lang.String defaultValue,
int flags)
Constructor for a simple text string action parameter. |
|
TWGActionParmText(TWGActionParmText apt)
Copy constructor. |
Method Summary | |
---|---|
int |
getFlags()
Get the current flag settings. |
abstract java.awt.Component |
getGuiComponent()
Get the graphical component associated with this TWGActionParm subclass. |
java.lang.String |
getValue()
Get the selected value of the selectable range. |
boolean |
isaPassword()
Check whether the text should be hidden. |
void |
print()
Print the contents of the TWGActionParmText. |
int |
readTWGActionParmText(IntelByteBuffer buf,
int off,
int type)
Method for interpreting a provided IntelByteBuffer at a given offset. |
abstract void |
saveValues(java.awt.Component comp)
Save the user customized value(s) of this action parameter. |
void |
setFlags(int flg)
Set the current flag settings. |
void |
setIsaPassword()
Indicate the text should be hidden. |
void |
setValue(java.lang.String s)
Set the selected value to the value provided. |
int |
sizeOf()
Determine the size of the entire TWGActionParmText object |
static int |
sizeOfHdr()
Determine the size of the header information. |
int |
sizeOfTWGActionParmText()
Determine the size of the entire TWGActionParmText object |
IntelByteBuffer |
toIntelByteBuffer()
Convert the TWGActionParmText into IntelByteBuffer representation. |
java.lang.String |
traceValue()
|
abstract boolean |
wasModified(java.awt.Component comp)
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 starting at a given offset. |
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, unwrap, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PASSWORD
Constructor Detail |
public TWGActionParmText(int index, int type, java.lang.String label, java.lang.String labelBundle, java.lang.String sublabel, java.lang.String sublabelBundle, java.lang.String defaultValue, int flags)
index
- Index of action parameter (used as a reference key)type
- Integer encoding of subclass typelabel
- Label (or associated bundle keyword if label bundle non-null).defaultValue
- String indicating the default value pre-entered in the text displayflags
- Flags controlling component behaviorpublic TWGActionParmText(TWGActionParmText apt)
public TWGActionParmText(IntelByteBuffer buf, int type)
buf
- IntelByteBuffer from which data should be readtype
- Integer encoding of the TWGActionParm subclasspublic TWGActionParmText(IntelByteBuffer buf, int off, int type)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBuffertype
- Integer encoding of the TWGActionParm subclassMethod Detail |
public static int sizeOfHdr()
public int sizeOf()
sizeOf
in class TWGActionParm
public int sizeOfTWGActionParmText()
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 readTWGActionParmText(IntelByteBuffer buf, int off, int type)
buf
- IntelByteBuffer from which TWGActionParm should be readoff
- offset from the current relative start of the provided IntelByteBuffertype
- Integer encoding of the TWGActionParm subclass
public abstract java.awt.Component getGuiComponent()
getGuiComponent
in class TWGActionParm
public abstract void saveValues(java.awt.Component comp)
saveValues
in class TWGActionParm
comp
- instance of the Swing component this subclass uses to display the action parameterpublic abstract boolean wasModified(java.awt.Component comp)
wasModified
in class TWGActionParm
comp
- instance of the Swing component this subclass uses to display the action parameterpublic void setIsaPassword()
public boolean isaPassword()
public int getFlags()
public void setFlags(int flg)
flg
- New flagspublic java.lang.String getValue()
public void setValue(java.lang.String s)
public void print()
print
in class TWGActionParm
public java.lang.String traceValue()
traceValue
in class TWGActionParm
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |