Class Measure
Object
|
+--Measure
- class
Measure
Creates a new Measure object.
Defined in Measure.js
|
Constructor Summary |
Measure
(javaObject)
|
|
Method Summary |
function
|
getExpression()
Returns this Measure's expression.
|
function
|
setExpression(expression)
Sets this measure's expression.
|
<static> function
|
add(net, name, expression)
Creates and adds a new Measure to the given net with the provided parameter values.
|
<static> function
|
withName(net, name)
Tries to find the Measure with the specified name in the provided net.
|
Measure
function Measure(javaObject)
Parameters:
javaObject - The java object to encapsulate.
getExpression
function getExpression()
Returns this Measure's expression.
Returns:
The measure's expression.
setExpression
function setExpression(expression)
Sets this measure's expression.
Parameters:
expression - The expression to set.
add
<static> function add(net, name, expression)
Creates and adds a new Measure to the given net with the provided parameter values.
Parameters:
net - The net to add this measure to.
name - The name of the new measure.
expression - The expression to use.
withName
<static> function withName(net, name)
Tries to find the Measure with the specified name in the provided net.
Parameters:
net - The net to search in.
name - The name of the Measure to search.