All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.taskData.BooleanComponentEnabledBinder
java.lang.Object
|
+----com.sgi.sysadm.ui.taskData.TaskDataBinder
|
+----com.sgi.sysadm.ui.taskData.BooleanComponentEnabledBinder
- public class BooleanComponentEnabledBinder
- extends TaskDataBinder
BooleanComponentEnabledBinder enables or disables an AWT
Component according to a Boolean TaskData Attribute. The Attribute
does not change if the Component's enable state is changed through
some other mechanism.
-
BooleanComponentEnabledBinder(Component)
- Construct a BooleanComponentEnabledBinder.
-
bind(TaskData, String, Component)
- Bind the Attribute name in taskData to
comp so that when the Attribute changes the enabled
state of comp changes.
Deprecated.
-
taskDataChanged(TaskDataEvent)
- Called when our TaskData changes.
BooleanComponentEnabledBinder
public BooleanComponentEnabledBinder(Component comp)
- Construct a BooleanComponentEnabledBinder.
- Parameters:
- comp - Component to manage enabled state of.
bind
public static void bind(TaskData taskData,
String name,
Component comp)
- Note: bind() is deprecated.
Use
taskData.addTaskDataBinder(name,
new BooleanComponentEnabledBinder(comp))
- Bind the Attribute name in taskData to
comp so that when the Attribute changes the enabled
state of comp changes. comp is not monitored
for changes, so if comp is enabled or disabled through
some other mechanism the Attribute will not be updated.
- Parameters:
- taskData - TaskData to bind.
- name - name of Attribute to bind.
- comp - Component to bind.
taskDataChanged
public void taskDataChanged(TaskDataEvent event)
- Called when our TaskData changes.
- Parameters:
- event - TaskDataEvent.
- Overrides:
- taskDataChanged in class TaskDataBinder
All Packages Class Hierarchy This Package Previous Next Index