frysk.gui.monitor.filters
Class ProcNameFilter

java.lang.Object
  extended by frysk.gui.monitor.GuiObject
      extended by frysk.gui.monitor.LiaisonItem
          extended by frysk.gui.monitor.filters.Filter
              extended by frysk.gui.monitor.filters.ProcFilter
                  extended by frysk.gui.monitor.filters.ProcNameFilter
All Implemented Interfaces:
SaveableXXX

public class ProcNameFilter
extends ProcFilter
implements SaveableXXX

Filter passes if the name if the given process matches the stored process name.


Field Summary
private  String procName
           
 
Fields inherited from class frysk.gui.monitor.filters.Filter
filterBoolean
 
Fields inherited from class frysk.gui.monitor.LiaisonItem
needInfo, runnable
 
Fields inherited from class frysk.gui.monitor.GuiObject
propertiesChanged
 
Constructor Summary
ProcNameFilter()
           
ProcNameFilter(ProcNameFilter other)
           
 
Method Summary
 boolean filter(Proc proc)
           
 String getArgument()
          uset to get the item's argument
 ObservableLinkedList getArgumentCompletionList()
          If the item whishes to have a completion list for its arguments then it can return an observable linked list describing the list of possible arguments.
 GuiObject getCopy()
           
 boolean setArgument(String argument)
           
 
Methods inherited from class frysk.gui.monitor.filters.Filter
getFilterBoolean, load, save, setFilterBoolean
 
Methods inherited from class frysk.gui.monitor.GuiObject
dontSaveObject, doSaveObject, getName, getSummary, getToolTip, setName, setSummay, setToolTip, shouldSaveObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface frysk.gui.monitor.SaveableXXX
dontSaveObject, doSaveObject, load, save, shouldSaveObject
 

Field Detail

procName

private String procName
Constructor Detail

ProcNameFilter

public ProcNameFilter()

ProcNameFilter

public ProcNameFilter(ProcNameFilter other)
Method Detail

filter

public boolean filter(Proc proc)
Specified by:
filter in class ProcFilter

getCopy

public GuiObject getCopy()
Specified by:
getCopy in class LiaisonItem

setArgument

public boolean setArgument(String argument)
Specified by:
setArgument in class LiaisonItem

getArgument

public String getArgument()
Description copied from class: LiaisonItem
uset to get the item's argument

Specified by:
getArgument in class LiaisonItem
Returns:
the argument, null if the object takes no argument

getArgumentCompletionList

public ObservableLinkedList getArgumentCompletionList()
Description copied from class: LiaisonItem
If the item whishes to have a completion list for its arguments then it can return an observable linked list describing the list of possible arguments. Otherwise just return null.

Specified by:
getArgumentCompletionList in class LiaisonItem
Returns: