|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.gui.monitor.GuiObject frysk.gui.srcwin.tags.Tagset
public class Tagset
A Tagset contains a collection of tags that are applicable to a process. TODO: Tags not implemented yet
Field Summary |
---|
Fields inherited from class frysk.gui.monitor.GuiObject |
---|
propertiesChanged |
Constructor Summary | |
---|---|
Tagset()
|
|
Tagset(String name,
String desc,
String command,
String version)
Creates a new tagset |
Method Summary | |
---|---|
void |
addTag(Tag newTag)
Adds the given tag to this tagset. |
boolean |
containsTag(Tag tag)
Check for the presence of the provided tag in the tagset |
boolean |
equals(Object obj)
Two tagsets are equal if they are the same size and contain the same tags. |
String |
getCommand()
|
String |
getDesc()
|
String |
getName()
|
Iterator |
getTags()
|
String |
getVersion()
|
void |
load(Element node)
Loads the tagset from a given element. |
void |
save(Element node)
Saves the tagset to a given element. |
Methods inherited from class frysk.gui.monitor.GuiObject |
---|
dontSaveObject, doSaveObject, getSummary, getToolTip, setName, setSummay, setToolTip, shouldSaveObject, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface frysk.gui.monitor.SaveableXXX |
---|
dontSaveObject, doSaveObject, shouldSaveObject |
Constructor Detail |
---|
public Tagset(String name, String desc, String command, String version)
name
- The name of the tagsetdesc
- A brief description of the tagsetpublic Tagset()
Method Detail |
---|
public void save(Element node)
save
in interface SaveableXXX
save
in class GuiObject
Element
- XML node from managerpublic void load(Element node)
load
in interface SaveableXXX
load
in class GuiObject
Element
- XML node from managerpublic String getDesc()
public String getName()
getName
in class GuiObject
public String getCommand()
public String getVersion()
public void addTag(Tag newTag)
newTag
- The tag to addpublic Iterator getTags()
public boolean containsTag(Tag tag)
tag
- The tag to look for
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |