new Slot(slotName, displayName)
A Niagara Complex
is made up of Slot
s. A Slot
can be a Property
,Action
or a Topic
.
This is the base class for all Slot
s in BajaScript.
A new object should never be directly created with this Constructor.
Parameters:
Name | Type | Description |
---|---|---|
slotName |
String | the name of the Slot. |
displayName |
String | the display name of the Slot. |
Extends
Methods
-
equals(obj)
-
Indicates whether some other object is equal to this one.
Parameters:
Name Type Description obj
Object the reference object with which to compare.
- Inherited From:
Returns:
true if this object is the same as the obj argument; false otherwise.
- Type
- Boolean
-
<abstract> getFlags()
-
Return the Flags for the slot.
Returns:
- Type
- Number
-
getName()
-
Return the name of the
Slot
.Returns:
- Type
- String
-
isAction()
-
Is the Slot an Action?
Returns:
- Type
- Boolean
-
isFrozen()
-
Is the Slot frozen?
Returns:
- Type
- Boolean
-
isProperty()
-
Is the Slot a Property?
Returns:
- Type
- Boolean
-
isTopic()
-
Is the Slot a Topic?
Returns:
- Type
- Boolean
-
toString()
-
Return a
String
representation of theSlot
.Returns:
- Type
- String
-
valueOf()
-
Return the inner value of the object.
By default the object's instance is returned.
- Inherited From:
Returns:
the inner value of the object or just the object's instance.
- Type
- *