All Packages Class Hierarchy This Package Previous Next Index
Class com.sgi.sysadm.ui.taskData.TaskDataBinder
java.lang.Object
|
+----com.sgi.sysadm.ui.taskData.TaskDataBinder
- public abstract class TaskDataBinder
- extends Object
- implements AttrListener
TaskDataBinder is a specialization of AttrListener that adds
filtering of notification by "name". TaskDataBinder also
provides accessors for the TaskData being listened to and the name
of the piece of TaskData being listened to. This information is
typically needed in subclasses of TaskDataBinder so they know
which TaskData to change when they receive notification from UI
Components.
-
TaskDataBinder()
-
-
attrAdded(AttrEvent)
- Called whenever an Attribute in TaskData is added.
-
attrChanged(AttrEvent)
- Called whenever an Attribute in TaskData changes.
-
attrRemoved(AttrEvent)
- Called whenever an Attribute in TaskData is removed.
-
getName()
- Accessor for the name of the piece of TaskData we're listening
to.
-
getTaskData()
- Accessor for the TaskData we're listening to.
-
taskDataChanged(TaskDataEvent)
- Called whenever the Attribute whose key matches our name
changes.
TaskDataBinder
public TaskDataBinder()
attrChanged
public void attrChanged(AttrEvent event)
- Called whenever an Attribute in TaskData changes. Call
taskDataChanged if the key of the Attribute that changed
matches our name.
- Parameters:
- event - specifies which Attribute changed.
- See Also:
- getName
attrAdded
public void attrAdded(AttrEvent event)
- Called whenever an Attribute in TaskData is added. Calls
Log.fatal when notified that our named Attribute is
added because you must bind to pre-existing task data.
- Parameters:
- event - specifies which Attribute changed.
- See Also:
- fatal
attrRemoved
public void attrRemoved(AttrEvent event)
- Called whenever an Attribute in TaskData is removed. Calls
Log.fatal when notified that our named Attribute has
been removed because you must not remove a piece of task data
that you're bound to.
- Parameters:
- event - specifies which Attribute changed.
- See Also:
- fatal
taskDataChanged
public abstract void taskDataChanged(TaskDataEvent event)
- Called whenever the Attribute whose key matches our name
changes.
- Parameters:
- event - specifies which Attribute changed.
- See Also:
- getName
getTaskData
protected TaskData getTaskData()
- Accessor for the TaskData we're listening to.
- Returns:
- TaskData we're listening to.
getName
protected String getName()
- Accessor for the name of the piece of TaskData we're listening
to.
- Returns:
- name of the piece of TaskData we're listening to.
All Packages Class Hierarchy This Package Previous Next Index