com.ibm.as400.ui.framework.java
Class ChoiceDescriptor

java.lang.Object
  |
  +--com.ibm.as400.ui.framework.java.AbstractDescriptor
        |
        +--com.ibm.as400.ui.framework.java.ChoiceDescriptor

public class ChoiceDescriptor
extends AbstractDescriptor

Describes a predefined value associated with a data attribute. An attribute's predefined values are often displayed as choices on a user interface panel, for example as a radio button group or a combo box.

Since:
v4r2m0

Constructor Summary
ChoiceDescriptor()
          Constructs a ChoiceDescriptor.
ChoiceDescriptor(java.lang.String name, java.lang.String title)
          Constructs a ChoiceDescriptor with the specified name and title.
ChoiceDescriptor(java.lang.String name, java.lang.String title, HandlerTask[] handlerTasks)
          Constructs a ChoiceDescriptor with the specified name, title, and HandlerTask list.
 
Methods inherited from class com.ibm.as400.ui.framework.java.AbstractDescriptor
addHandlerTask, getName, getTitle, getUserObject, removeHandlerTask, setName, setTitle, setUserObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChoiceDescriptor

public ChoiceDescriptor()
Constructs a ChoiceDescriptor.
Since:
v4r2m0

ChoiceDescriptor

public ChoiceDescriptor(java.lang.String name,
                        java.lang.String title)
Constructs a ChoiceDescriptor with the specified name and title.
Parameters:
name - the name that is used to identify the choice programmatically.
title - the title of the choice in a form suitable for displaying to the user.
Since:
v4r2m0

ChoiceDescriptor

public ChoiceDescriptor(java.lang.String name,
                        java.lang.String title,
                        HandlerTask[] handlerTasks)
Constructs a ChoiceDescriptor with the specified name, title, and HandlerTask list.
Parameters:
name - the name that is used to identify the choice programmatically
title - the title of the choice in a form suitable for displaying to the user
handlerTasks - a list of HandlerTasks which describe to the UI framework actions which should be carried out when the choice is selected
Since:
v4r2m0
See Also:
HandlerTask