All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.category.NotificationFilter

java.lang.Object
   |
   +----com.sgi.sysadm.category.NotificationFilter

public class NotificationFilter
extends Object
Class representing the changes that a CategoryListener is monitoring. A NotificationFilter object specifies either an entire Category or a subset of Items within a Category to be monitored. It can also specify monitoring of changes of the attributes of the Category.

See Also:
CategoryListener

Variable Index

 o ALL_ITEMS
NotificationFilter specifying interest in all Item(s) of a Category.

Constructor Index

 o NotificationFilter()
NotificationFilter constructor.

Method Index

 o clone()
Copy the value of this object
 o monitorAllItems()
Register interest in all Items in Category.
 o monitorCategoryAttrs()
Register interest in all Category attributes.
 o monitorItem(String)
Register interest in Item
 o monitorsCategoryAttrs()
Determine if the filter monitors category attributes
 o monitorsItem(String)
Determine if the filter monitors specified item
 o unmonitorAllItems()
Unregister interest in all Items in Category.
 o unmonitorCategoryAttrs()
Unregister interest in all Category attributes.
 o unmonitorItem(String)
Unregister interest in Item

Variables

 o ALL_ITEMS
 public static NotificationFilter ALL_ITEMS
NotificationFilter specifying interest in all Item(s) of a Category. This does not specify interest in Category Attributes.

Constructors

 o NotificationFilter
 public NotificationFilter()
NotificationFilter constructor.

Methods

 o clone
 public Object clone()
Copy the value of this object

Returns:
NotificationFilter that has a copy of this NotificationFilter
Overrides:
clone in class Object
 o monitorItem
 public void monitorItem(String selector)
Register interest in Item

Parameters:
selector - Name of Item
 o unmonitorItem
 public void unmonitorItem(String selector)
Unregister interest in Item

Parameters:
selector - Name of Item
 o monitorAllItems
 public void monitorAllItems()
Register interest in all Items in Category.

 o unmonitorAllItems
 public void unmonitorAllItems()
Unregister interest in all Items in Category.

 o monitorCategoryAttrs
 public void monitorCategoryAttrs()
Register interest in all Category attributes.

 o unmonitorCategoryAttrs
 public void unmonitorCategoryAttrs()
Unregister interest in all Category attributes.

 o monitorsItem
 public boolean monitorsItem(String selector)
Determine if the filter monitors specified item

Parameters:
selector - Name of item
Returns:
true if filter monitors selector, false otherwise
 o monitorsCategoryAttrs
 public boolean monitorsCategoryAttrs()
Determine if the filter monitors category attributes

Returns:
true if filter monitors category, false otherwise

All Packages  Class Hierarchy  This Package  Previous  Next  Index