|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.symbols.SymbolManager
SymbolManager: a singleton class to manage the loading and caching of HADES SimObject's Symbols.
Method Summary | |
java.util.Enumeration |
elements()
elements(): return an Enumeration of all FigObjects in this SymbolManager |
void |
flushSymbolCache()
flush the current Symbol's Cache. |
Symbol |
getSymbol(SimObject simObject)
the default method to construct a Symbol for SimObject simObject located at the origin (0,0). |
static SymbolManager |
getSymbolManager()
accessor method to the singleton SymbolManager |
java.util.Enumeration |
keys()
|
void |
message(java.lang.String msg)
|
void |
setDebug(boolean _debug)
set debug on/off |
java.lang.String |
toString()
toString() - the usual info method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static SymbolManager getSymbolManager()
public Symbol getSymbol(SimObject simObject)
Currently, also unique Symbols, i.e. Symbols whose SimObjects return 'needsDynamicObject()' true, are entered into the Hashtable. It could be argued to construct and return those Symbols directly.
public java.util.Enumeration elements()
public java.util.Enumeration keys()
public void flushSymbolCache()
Note, however, that this method won't change the appearance of instances already created!
public void setDebug(boolean _debug)
public void message(java.lang.String msg)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |