BO.PhysicalInputBase Class
A base class for physical input objects. Extend this class to create new digital or analog input objects. Treat this class as an abstract base class. It should not be instantiated directly.
Constructor
BO.PhysicalInputBase
()
Item Index
Methods
addEventListener
(
-
type
-
listener
Parameters:
-
type
StringThe event type
-
listener
FunctionThe function to be called when the event is fired
dispatchEvent
(
-
type
-
optionalParams
Parameters:
-
type
EventThe Event object.
-
optionalParams
ObjectOptional parameters passed as an object. return {boolean} True if dispatch is successful, false if not.
hasEventListener
(
-
type
Parameters:
-
type
StringThe event type return {boolean} True is listener exists for this type, false if not.
removeEventListener
(
-
type
-
listener
Parameters:
-
type
StringThe event type
-
listener
FunctionThe function to be called when the event is fired