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. HandlerTasks describe changes to a panel's state which should occur in the following situations: HandlerTasks are always encapsulated within a Capabilities, ChoiceDescriptor, ItemDescriptor or NodeDescriptor object.

See Also:
Capabilities, ChoiceDescriptor, ItemDescriptor, NodeDescriptor

Variable Index

 o DISABLE
Indicates that this object should disable UI components.
 o DISPLAY
Indicates that this object should display a particular pane on a subpanel.
 o ENABLE
Indicates that this object should enable UI components.
 o HIDE
Indicates that this object should hide UI components.
 o REFRESH
Indicates that this object should refresh UI components.
 o SHOW
Indicates that this object should display UI components.

Constructor Index

 o HandlerTask(int)
Constructs a HandlerTask of the specified type.

Method Index

 o getComponents()
Returns the list of the UI components affected by this object.
 o getType()
Returns this object's type.
 o setComponents(String[])
Sets the list of UI components affected by this object.
 o toString()
Returns a string representation of this object.

Variables

 o ENABLE
 public static final int ENABLE
Indicates that this object should enable UI components.

 o DISABLE
 public static final int DISABLE
Indicates that this object should disable UI components.

 o REFRESH
 public static final int REFRESH
Indicates that this object should refresh UI components.

 o SHOW
 public static final int SHOW
Indicates that this object should display UI components.

 o HIDE
 public static final int HIDE
Indicates that this object should hide UI components.

 o DISPLAY
 public static final int DISPLAY
Indicates that this object should display a particular pane on a subpanel.

Constructors

 o 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.

Methods

 o 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
 o getComponents
 public String[] getComponents()
Returns the list of the UI components affected by this object.

Returns:
an array of component names
See Also:
setComponents
 o 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
 o 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