com.ibm.as400.ui.util
Class ClSelectCommandBean

java.lang.Object
  extended by com.ibm.as400.ui.util.ClSelectCommandBean
All Implemented Interfaces:
DataBean

public class ClSelectCommandBean
extends Object
implements DataBean


Method Summary
Modifier and Type Method and Description
 Capabilities getCapabilities()
          Returns a Capabilities object which identifies the attributes that aren't supported by this DataBean.
 ItemDescriptor[] getCommandDescriptionList()
           
 String[] getCommandDescriptionSelection()
           
 ItemDescriptor[] getCommandLibList()
           
 String[] getCommandLibSelection()
           
 ItemDescriptor[] getCommandNameList()
           
 String[] getCommandNameSelection()
           
 void load()
          Initializes this object.
 void save()
          Saves all changes that have been applied to this object via its accessor methods.
 void setCommandDescriptionList(ItemDescriptor[] values)
           
 void setCommandDescriptionSelection(String[] selection)
           
 void setCommandLibList(ItemDescriptor[] values)
           
 void setCommandLibSelection(String[] selection)
           
 void setCommandNameList(ItemDescriptor[] values)
           
 void setCommandNameSelection(String[] selection)
           
 void verifyChanges()
          Validates any changes that have been applied to this object via its accessor methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCapabilities

public Capabilities getCapabilities()
Description copied from interface: DataBean
Returns a Capabilities object which identifies the attributes that aren't supported by this DataBean. There are many reasons why a DataBean might not support a given attribute. For example:

The Capabilities object may provide a list of instructions, or HandlerTasks, which the UI framework is to perform. Typically these involve disabling or removing certain UI components from a panel.

Specified by:
getCapabilities in interface DataBean
Returns:
a Capabilities object which reflects this object's capabilities
See Also:
Capabilities

verifyChanges

public void verifyChanges()
Description copied from interface: DataBean
Validates any changes that have been applied to this object via its accessor methods.

This method is called just prior to save to give the receiver an opportunity to verify that its data is consistent with any changes made to other DataBeans associated with a given panel. If an inconsistency is discovered the DataBean should throw an exception. This will prevent the changes from being committed.

Specified by:
verifyChanges in interface DataBean

save

public void save()
Description copied from interface: DataBean
Saves all changes that have been applied to this object via its accessor methods. Called when the user has clicked the OK button on a panel.

Specified by:
save in interface DataBean

load

public void load()
Description copied from interface: DataBean
Initializes this object.

This method should be called prior to handing the DataBean off to the UI Framework. On return from this method the bean should be in a state where it is ready to return data on any of its accessor methods.

Specified by:
load in interface DataBean

getCommandNameList

public ItemDescriptor[] getCommandNameList()

setCommandNameSelection

public void setCommandNameSelection(String[] selection)

getCommandNameSelection

public String[] getCommandNameSelection()

setCommandNameList

public void setCommandNameList(ItemDescriptor[] values)

getCommandLibList

public ItemDescriptor[] getCommandLibList()

setCommandLibSelection

public void setCommandLibSelection(String[] selection)

getCommandLibSelection

public String[] getCommandLibSelection()

setCommandLibList

public void setCommandLibList(ItemDescriptor[] values)

getCommandDescriptionList

public ItemDescriptor[] getCommandDescriptionList()

setCommandDescriptionSelection

public void setCommandDescriptionSelection(String[] selection)

getCommandDescriptionSelection

public String[] getCommandDescriptionSelection()

setCommandDescriptionList

public void setCommandDescriptionList(ItemDescriptor[] values)