All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.ibm.as400.ui.framework.java.Capabilities
DataBean
by encapsulating
a list of unsupported attributes. Clients of the DataBean
can query its associated Capabilities
object to learn
whether a particular attribute is supported.
A list of instructions, or HandlerTask
s, may optionally
be associated with each unsupported attribute. These instructions
are carried out by the UI framework. Typically they involve disabling
or removing certain UI components from a panel.
Capabilities
object.
HandlerTask
s associated with
an unsupported attribute.
DataBean
associated with this object
supports a particular attribute.
DataBean
associated with this object.
DataBean
associated with this object.
public Capabilities()
Capabilities
object.
public void setNotCapable(String attribute, HandlerTask handlerTasks[])
DataBean
associated with this object. Optionally associates a
list of HandlerTask
s with the attribute. The HandlerTask
s
indicate which panel components are affected by the unsupported attribute,
and what action should be taken on them.
HandlerTask
objects (may be null)
public void setCapable(String attribute)
DataBean
associated with this object.
public boolean isCapable(String attribute)
DataBean
associated with this object
supports a particular attribute.
DataBean
supports the specified attribute; false otherwise.
public HandlerTask[] getHandlerTasksFor(String attribute)
HandlerTask
s associated with
an unsupported attribute. If the attribute is supported, or if there are
no HandlerTask
s associated with the attribute, this method
returns an array of length 0.
HandlerTask
s
All Packages Class Hierarchy This Package Previous Next Index