|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.as400.ui.framework.java.HandlerTask
public class HandlerTask extends Object
Defines an action to be performed on one or more user interface components
on behalf of an application. HandlerTasks 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.
HandlerTasks are always encapsulated within a
Capabilities, ChoiceDescriptor,
ItemDescriptor or NodeDescriptor object.
Capabilities,
ChoiceDescriptor,
ItemDescriptor,
NodeDescriptor| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
HandlerTask(int type)
Constructs a HandlerTask of the specified type. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getComponents()
Returns the list of the UI components affected by this object. |
int |
getType()
Returns this object's type. |
void |
setComponents(String[] names)
Sets the list of UI components affected by this object. |
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 String[] getComponents()
setComponents(java.lang.String[])public void setComponents(String[] names)
names - an array of component namesgetComponents()public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||