frysk.gui.monitor.filters
Class FilterManager

java.lang.Object
  extended by java.util.Observable
      extended by frysk.gui.monitor.filters.FilterManager

public class FilterManager
extends Observable

Only once instance. Keeps a list of available filters. Provides an interface for instantiating those actions.


Field Summary
static FilterManager theManager
           
 
Constructor Summary
FilterManager()
           
 
Method Summary
 void addIntFilterPrototype(IntFilter filter)
           
 void addProcFilterPrototype(ProcFilter filter)
          add an observer to the list of available observers.
 void addTaskFilterPrototype(TaskFilter filter)
           
 Filter getFilterCopy(Filter prototype)
          Returns a copy of the prototype given.
 ObservableLinkedList getIntFilters()
           
 ObservableLinkedList getProcFilters()
           
 ObservableLinkedList getTaskFilters()
           
 void removeGenericFilterPrototype(IntFilter intFilter)
           
 void removeProcFilterPrototype(ProcFilter procFilter)
           
 void removeTaskFilterPrototype(TaskFilter taskFilter)
           
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theManager

public static FilterManager theManager
Constructor Detail

FilterManager

public FilterManager()
Method Detail

addIntFilterPrototype

public void addIntFilterPrototype(IntFilter filter)

getFilterCopy

public Filter getFilterCopy(Filter prototype)
Returns a copy of the prototype given. A list of available prototypes can be

Parameters:
prototype - a prototype of the observer to be instantiated.

addProcFilterPrototype

public void addProcFilterPrototype(ProcFilter filter)
add an observer to the list of available observers.


addTaskFilterPrototype

public void addTaskFilterPrototype(TaskFilter filter)

getProcFilters

public ObservableLinkedList getProcFilters()

getIntFilters

public ObservableLinkedList getIntFilters()

getTaskFilters

public ObservableLinkedList getTaskFilters()

removeGenericFilterPrototype

public void removeGenericFilterPrototype(IntFilter intFilter)

removeTaskFilterPrototype

public void removeTaskFilterPrototype(TaskFilter taskFilter)

removeProcFilterPrototype

public void removeProcFilterPrototype(ProcFilter procFilter)