All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.ui.framework.java.HandlerTask
java.lang.Object
|
+----com.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. HandlerTask
s describe changes
to a panel's state which should occur in the following situations:
- A
DataBean
is found to be incapable of supporting a
particular data attribute.
- A user selects one of the predefined values for an attribute,
as displayed in a combo box or radio button group.
- A user selects one of the items displayed in a list, table or tree component.
HandlerTask
s are always encapsulated within a
Capabilities
, ChoiceDescriptor
,
ItemDescriptor
or NodeDescriptor
object.
- See Also:
- Capabilities, ChoiceDescriptor, ItemDescriptor, NodeDescriptor
-
DISABLE
- Indicates that this object should disable UI components.
-
DISPLAY
- Indicates that this object should display a particular pane on a subpanel.
-
ENABLE
- Indicates that this object should enable UI components.
-
HIDE
- Indicates that this object should hide UI components.
-
REFRESH
- Indicates that this object should refresh UI components.
-
SHOW
- Indicates that this object should display UI components.
-
HandlerTask(int)
- Constructs a
HandlerTask
of the specified type.
-
getComponents()
- Returns the list of the UI components affected by this object.
-
getType()
- Returns this object's type.
-
setComponents(String[])
- Sets the list of UI components affected by this object.
-
toString()
- Returns a string representation of this object.
ENABLE
public static final int ENABLE
- Indicates that this object should enable UI components.
DISABLE
public static final int DISABLE
- Indicates that this object should disable UI components.
REFRESH
public static final int REFRESH
- Indicates that this object should refresh UI components.
SHOW
public static final int SHOW
- Indicates that this object should display UI components.
HIDE
public static final int HIDE
- Indicates that this object should hide UI components.
DISPLAY
public static final int DISPLAY
- Indicates that this object should display a particular pane on a subpanel.
HandlerTask
public HandlerTask(int type)
- Constructs a
HandlerTask
of the specified type.
- Parameters:
- type - one of the integer constants which indicates the type of
action that this object should perform.
getType
public int getType()
- Returns this object's type.
- Returns:
- one of the integer constants which indicates the type of
action that this object should perform
getComponents
public String[] getComponents()
- Returns the list of the UI components affected by this object.
- Returns:
- an array of component names
- See Also:
- setComponents
setComponents
public void setComponents(String names[])
- Sets the list of UI components affected by this object.
- Parameters:
- names - an array of component names
- See Also:
- getComponents
toString
public String toString()
- Returns a string representation of this object.
- Returns:
- this object as a string
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index