|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.util.Attribute
ptolemy.kernel.util.AbstractSettableAttribute
ptolemy.data.expr.Variable
ptolemy.data.expr.Parameter
ptolemy.actor.parameters.LocationParameter
A parameter that specifies the location of its container. This location is used when rendering the container in a Vergil diagram. The parameter value is a double matrix with one row and two columns. The default value is [0.0, 0.0].
| Red (cxh) |
| Red (eal) |
| Nested Class Summary |
| Nested classes inherited from class ptolemy.data.expr.Variable |
Variable.VariableScope |
| Nested classes inherited from class ptolemy.kernel.util.NamedObj |
NamedObj.ContainedObjectsIterator |
| Nested classes inherited from class ptolemy.kernel.util.Settable |
Settable.Visibility |
| Field Summary |
| Fields inherited from class ptolemy.data.expr.Variable |
_currentExpression, _needsEvaluation, _parserScope, _parseTreeValid, _valueListeners |
| Fields inherited from class ptolemy.kernel.util.NamedObj |
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
| Fields inherited from interface ptolemy.kernel.util.Settable |
EXPERT, FULL, NONE, NOT_EDITABLE |
| Constructor Summary | |
LocationParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified entity. |
|
| Method Summary | |
double[] |
getLocation()
Get the location in some Cartesian coordinate system. |
void |
setLocation(double[] location)
Set the location in some Cartesian coordinate system, and notify the container and any value listeners of the new location. |
| Methods inherited from class ptolemy.data.expr.Parameter |
addChoice, exportMoML, getChoices, removeAllChoices, removeChoice |
| Methods inherited from class ptolemy.kernel.util.AbstractSettableAttribute |
getDefaultExpression |
| Methods inherited from class ptolemy.kernel.util.Attribute |
_getContainedObject, _propagateExistence, getContainer, setName |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ptolemy.kernel.util.Settable |
addValueListener, getDefaultExpression, getExpression, getVisibility, removeValueListener, setExpression, setVisibility, validate |
| Methods inherited from interface ptolemy.kernel.util.Nameable |
description, getContainer, getFullName, getName, getName, setName |
| Constructor Detail |
public LocationParameter(NamedObj container,
java.lang.String name)
throws IllegalActionException,
NameDuplicationException
container - The container.name - The name of the parameter.
IllegalActionException - If the parameter is not of an
acceptable class for the container.
NameDuplicationException - If the name coincides with
a parameter already in the container.| Method Detail |
public double[] getLocation()
getLocation in interface Locatable
public void setLocation(double[] location)
throws IllegalActionException
setLocation in interface Locatablelocation - The location.
IllegalActionException - If the location is rejected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||