|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.ui.framework.java.HandlerTask
Defines an action to be performed on one or more user interface components
on behalf of an application. HandlerTask
s describe changes
to a panel's state which should occur in the following situations:
DataBean
is found to be incapable of supporting a
particular data attribute.
HandlerTask
s are always encapsulated within a
Capabilities
, ChoiceDescriptor
,
ItemDescriptor
or NodeDescriptor
object.
Capabilities
,
ChoiceDescriptor
,
ItemDescriptor
,
NodeDescriptor
Field Summary | |
static int |
DISABLE
Indicates that this object should disable UI components. |
static int |
DISPLAY
Indicates that this object should display a particular pane on a subpanel. |
static int |
ENABLE
Indicates that this object should enable UI components. |
static int |
HIDE
Indicates that this object should hide UI components. |
static int |
REFRESH
Indicates that this object should refresh UI components. |
static int |
SHOW
Indicates that this object should display UI components. |
Constructor Summary | |
HandlerTask(int type)
Constructs a HandlerTask of the specified type. |
Method Summary | |
java.lang.String[] |
getComponents()
Returns the list of the UI components affected by this object. |
int |
getType()
Returns this object's type. |
void |
setComponents(java.lang.String[] names)
Sets the list of UI components affected by this object. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ENABLE
public static final int DISABLE
public static final int REFRESH
public static final int SHOW
public static final int HIDE
public static final int DISPLAY
Constructor Detail |
public HandlerTask(int type)
HandlerTask
of the specified type.type
- one of the integer constants which indicates the type of
action that this object should perform.Method Detail |
public int getType()
public java.lang.String[] getComponents()
setComponents(java.lang.String[])
public void setComponents(java.lang.String[] names)
names
- an array of component namesgetComponents()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |