public class DisplayedText
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DisplayedText(ElectricObject eObj,
Variable.Key key) |
Modifier and Type | Method and Description |
---|---|
ElectricObject |
getElectricObject() |
Variable |
getVariable() |
Variable.Key |
getVariableKey() |
boolean |
movesWithText()
Method to tell whether this DisplayedText stays with its node.
|
static boolean |
objectMovesWithText(ElectricObject eObj,
Variable.Key key)
Method to tell whether text stays with its node.
|
public DisplayedText(ElectricObject eObj, Variable.Key key)
public ElectricObject getElectricObject()
public Variable.Key getVariableKey()
public Variable getVariable()
public boolean movesWithText()
public static boolean objectMovesWithText(ElectricObject eObj, Variable.Key key)
eObj
- the ElectricObject with text on it.key
- the Variable Key of the text on the object.