|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.gui.monitor.GuiObject
public class GuiObject
A GuiObject is one that has a name and a tooltip.
Field Summary | |
---|---|
GuiObservable |
propertiesChanged
|
Constructor Summary | |
---|---|
GuiObject()
|
|
GuiObject(String name,
String toolTip)
|
Method Summary | |
---|---|
void |
dontSaveObject()
object will not be saved if save is called |
void |
doSaveObject()
Object will be savable if save is called |
String |
getName()
|
String |
getSummary()
|
String |
getToolTip()
|
void |
load(Element node)
To load a stored property one does this: String someString = node.getAttributeValue("someString"); To load @link frysk.gui.monitor.SaveableXXX one gets the appropriet node and tells that object to load itself from that node. |
void |
save(Element node)
Save object to the given node Saving Conventions: If this object has a property such as a String, char, int, etc, that is saved by using node.setAttribute("someProperty", someProperty); If this object contains composing @link frysk.gui.monitor.SaveableXXX then a node is created for that and that object is told to save itself to that node. |
void |
setName(String name)
|
void |
setSummay(String summary)
|
void |
setToolTip(String toolTip)
|
boolean |
shouldSaveObject()
queried to see if this object should be saved or not |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final GuiObservable propertiesChanged
Constructor Detail |
---|
public GuiObject(String name, String toolTip)
public GuiObject()
Method Detail |
---|
public void setName(String name)
public String getName()
public void setToolTip(String toolTip)
public String getToolTip()
public void save(Element node)
SaveableXXX
save
in interface SaveableXXX
public void load(Element node)
SaveableXXX
load
in interface SaveableXXX
public boolean shouldSaveObject()
SaveableXXX
shouldSaveObject
in interface SaveableXXX
public void doSaveObject()
SaveableXXX
doSaveObject
in interface SaveableXXX
public void dontSaveObject()
SaveableXXX
dontSaveObject
in interface SaveableXXX
public String toString()
toString
in class Object
public String getSummary()
public void setSummay(String summary)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |