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

Constructor Index

 o LongRButtonGroupBinder(RButtonGroup)
Construct a LongRButtonGroupBinder.

Method Index

 o 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.
 o taskDataChanged(TaskDataEvent)
Called when our task data changes.

Constructors

 o LongRButtonGroupBinder
 public LongRButtonGroupBinder(RButtonGroup group)
Construct a LongRButtonGroupBinder.

Parameters:
group - RButtonGroup to keep synchronized.

Methods

 o 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.
 o 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