|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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.
| Constructor and Description |
|---|
ChoiceDescriptor()
Constructs a ChoiceDescriptor. |
ChoiceDescriptor(String name,
String title)
Constructs a ChoiceDescriptor with the specified
name and title. |
ChoiceDescriptor(String name,
String title,
HandlerTask[] handlerTasks)
Constructs a ChoiceDescriptor with the specified
name, title, and HandlerTask list. |
| Modifier and Type | Method and Description |
|---|
| 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 |
|---|
public ChoiceDescriptor()
ChoiceDescriptor.
public ChoiceDescriptor(String name,
String title)
ChoiceDescriptor with the specified
name and title.
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.
public ChoiceDescriptor(String name,
String title,
HandlerTask[] handlerTasks)
ChoiceDescriptor with the specified
name, title, and HandlerTask list.
name - the name that is used to identify the choice programmaticallytitle - the title of the choice in a form suitable for displaying to the userhandlerTasks - a list of HandlerTasks which describe to
the UI framework actions which should be carried out when the choice is selectedHandlerTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||