BO.generators.GeneratorBase Class
A base object to be extended by all Generator objects. This object should not be instantiated directly.
Constructor
BO.generators.GeneratorBase
()
Item Index
Properties
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
Properties
value
Number
protected
[read-only] Get a generated number.