All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.taskData.LongRButtonGroupBinder
java.lang.Object
|
+----com.sgi.sysadm.ui.taskData.TaskDataBinder
|
+----com.sgi.sysadm.ui.taskData.LongRButtonGroupBinder
- public class LongRButtonGroupBinder
- extends TaskDataBinder
LongRButtonGroupBinder is used to keep long task data synchronized
with the buttons in a RButtonGroup.
The buttons are numbered in the order they are added to the
RButtonGroup.
- See Also:
- RButtonGroup
-
LongRButtonGroupBinder(RButtonGroup)
- Construct a LongRButtonGroupBinder.
-
bind(TaskData, String, RButtonGroup)
- Bind the Attribute name in taskData to
group, so that when a button is selected in
group the Attribute is changed to match, and
vice versa.
Deprecated.
-
taskDataChanged(TaskDataEvent)
- Called when our task data changes.
LongRButtonGroupBinder
public LongRButtonGroupBinder(RButtonGroup group)
- Construct a LongRButtonGroupBinder.
- Parameters:
- group - RButtonGroup to keep synchronized.
bind
public static void bind(TaskData taskData,
String name,
RButtonGroup group)
- Note: bind() is deprecated.
Use
taskData.addTaskDataBinder(name,
new LongRButtonGroupBinder(group))
- Bind the Attribute name in taskData to
group, so that when a button is selected in
group the Attribute is changed to match, and
vice versa.
- Parameters:
- taskData - TaskData to bind.
- name - name of Attribute to bind.
- group - RButtonGroup to bind.
taskDataChanged
public void taskDataChanged(TaskDataEvent event)
- Called when our task data changes. Select the button in the
group that matches the task data attribute.
- Parameters:
- event - TaskDataEvent.
- Overrides:
- taskDataChanged in class TaskDataBinder
All Packages Class Hierarchy This Package Previous Next Index