Class baja.ActionProperty
Extends
baja.Struct.
Represents a baja:Action in BajaScript.
Please note: this represents the Property's value and NOT the Property itself.
Defined in: comp.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class baja.Object:
- getIcon
| Method Attributes | Method Name and Description |
|---|---|
|
Return the Action's parameter default value.
|
|
|
Return the Action's parameter Type.
|
|
|
Return the Action's return Type.
|
|
| <private> |
invoke(target, arg, cx)
Called when the Action Property is invoked.
|
- Methods borrowed from class baja.Complex:
- $fw, contractCommitted, equivalent, get, getDisplay, getDisplayName, getFacets, getFlags, getName, getParent, getPropertyInParent, getSlot, getSlots, getValueOf, has, loadSlots, newCopy, set, toString
Method Detail
getParamDefault()
Return the Action's parameter default value.
- Returns:
- parameter default value (or null if the Action has no parameter).
{Type}
getParamType()
Return the Action's parameter Type.
- Returns:
- {Type} parameter type (or null if the Action has no parameter).
getReturnType()
Return the Action's return Type.
- Returns:
- return type (or null if the Action has nothing to return).
<private>
invoke(target, arg, cx)
Called when the Action Property is invoked.
- Parameters:
- target
- the Component target the Action is being invoked upon.
- arg
- the argument for the Action.
- cx
- the Context for the Action invocation (could be null).
- Returns:
- the Action's return value (null if nothing to return).