module:baja/comp/PropertyAction

module:baja/comp/PropertyAction

new (require("baja/comp/PropertyAction"))()

Description:
  • PropertyAction Slot.

    A Property that is also an Action. Typically this is used for dynamic Actions.

    A new object should never be directly created with this Constructor. All Slots are
    created internally by BajaScript.

Source:
Extends:

Extends

Methods

equals(obj) → {Boolean}

Description:
  • Indicates whether some other object is equal to this one.

Source:
Inherited From:
Parameters:
Name Type Description
obj Object

the reference object with which to compare.

Returns:

true if this object is the same as the obj argument; false otherwise.

Type
Boolean

getDefaultFlags() → {Number}

Description:
  • Return the default flags for the Property.

Source:
Inherited From:
Returns:
Type
Number

getDefaultValue()

Description:
  • Return the default value for the Property.

Source:
Inherited From:
Returns:

the default value for the Property.

getFacets()

Description:
  • Return the Facets for the Property.

Source:
Inherited From:
See:
Returns:

the Slot Facets

getFlags() → {Number}

Description:
  • Return the Flags for the Property.

Source:
Inherited From:
See:
Returns:
Type
Number

getName() → {String}

Description:
  • Return the name of the Slot.

Source:
Inherited From:
Returns:
Type
String

getParamDefault() → {baja.Value}

Description:
  • Return the Action's parameter default value.

Source:
Returns:

the parameter default value (or null if the
Action doesn't have a parameter).

Type
baja.Value

getParamType() → {Type}

Description:
  • Return the Action's parameter Type.

Source:
Returns:

the parameter type (or null if the Action doesn't have a parameter).

Type
Type

getReturnType() → {Type}

Description:
  • Return the Action's return Type.

Source:
Returns:

the return type (or null if the Action doesn't have a return Type).

Type
Type

getType()

Description:
  • Return the Type for this Property.

Source:
Inherited From:
Returns:

the Type for the Property.

isAction() → {Boolean}

Description:
  • Is the Slot an Action? Yes.

Source:
Overrides:
Returns:
Type
Boolean

isFrozen() → {Boolean}

Description:
  • Is the Slot frozen?

Source:
Inherited From:
Returns:
Type
Boolean

isProperty() → {Boolean}

Description:
  • Is this Slot a Property? Yes.

Source:
Inherited From:
Returns:
Type
Boolean

isTopic() → {Boolean}

Description:
  • Is the Slot a Topic?

Source:
Inherited From:
Returns:
Type
Boolean

toString() → {String}

Description:
  • Return a String representation of the Slot.

Source:
Inherited From:
Returns:
Type
String

valueOf() → {*}

Description:
  • Return the inner value of the object.

    By default the object's instance is returned.

Source:
Inherited From:
Returns:

the inner value of the object or just the object's instance.

Type
*