|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.simulator.SimObject
hades.models.meta.Label
Label - a passive text object useful as a label / annotation
Nested Class Summary | |
(package private) class |
Label.EditTextDialog
|
(package private) class |
Label.JEditTextDialog
|
Field Summary | |
(package private) java.awt.Component |
editTextDialog
|
(package private) java.awt.Frame |
frame
|
Fields inherited from class hades.simulator.SimObject |
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible |
Constructor Summary | |
Label()
|
Method Summary | |
void |
configure()
create and display a 'ConfigDialog' to set the parameters for a SimObject. |
void |
constructDynamicSymbol()
|
SimObject |
copy()
create a copy of the current Label. |
void |
elaborate(java.lang.Object arg)
this is a passive object: do nothing |
void |
evaluate(java.lang.Object arg)
this is a passive object: do nothing |
java.awt.Component |
getPropertySheet()
return a reference to the 'property sheet' or configuration window for this SimObject. |
java.lang.String |
getText()
|
boolean |
initialize(java.lang.String s)
read a text represenation with the following data: versionId, FIG attributes, encoded text. |
boolean |
needsDynamicSymbol()
|
void |
setText(java.lang.String s)
|
java.lang.String |
toString()
toString() - the usual info method |
void |
write(java.io.PrintWriter ps)
write a text represenation with the following data: versionId, FIG attributes, encoded text. |
Methods inherited from class hades.simulator.SimObject |
getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getToolTip, getVersionId, isVisible, keyPressed, message, mousePressed, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface hades.simulator.Simulatable |
message |
Field Detail |
java.awt.Frame frame
java.awt.Component editTextDialog
Constructor Detail |
public Label()
Method Detail |
public void setText(java.lang.String s)
public java.lang.String getText()
public boolean needsDynamicSymbol()
needsDynamicSymbol
in class SimObject
public void constructDynamicSymbol()
constructDynamicSymbol
in class SimObject
public void elaborate(java.lang.Object arg)
elaborate
in interface Simulatable
elaborate
in class SimObject
public void evaluate(java.lang.Object arg)
evaluate
in interface Simulatable
evaluate
in class SimObject
arg
- an arbitrary object argumentpublic boolean initialize(java.lang.String s)
versionId 1001 alignment 1 2 3 color index 0 (black) .. depth 0 .. 999 (layer) font index 0 .. 31 font size 12 (pt) font angle 0.0 font flags 0 encoded string
initialize
in class SimObject
public void write(java.io.PrintWriter ps)
versionId 1001 alignment 1 2 3 color index 0 (black) .. depth 0 .. 999 (layer) font index 0 .. 31 font size 12 (pt) font angle 0.0 font flags 0 encoded string
write
in class SimObject
public void configure()
SimObject
configure
in class SimObject
public java.awt.Component getPropertySheet()
SimObject
getPropertySheet
in class SimObject
public SimObject copy()
copy
in class SimObject
public java.lang.String toString()
toString
in class SimObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |