Methods
-
<abstract> getEventClickOrTap()
-
Gets the 'Click' or 'Tap' events.
Returns:
Data flow for mouse events.
-
<abstract> getEventDoubleClick()
-
Gets the 'Double click' events. These events are generated when the mouse button is clicked twice in rapid succession.
Returns:
Dataflow for double click events
-
<abstract> getEventMouseDown()
-
Gets then 'Mouse Down' events.
Returns:
Dataflow of mouse down events
-
<abstract> getEventMouseEnter()
-
Gets the 'Mouse Enter' events. These events are generated when the pointer enters the bounding box of the element.
Returns:
Dataflow of mouse enter events
-
<abstract> getEventMouseLeave()
-
Gets the 'Mouse Leave' events. These events are generated when the pointer leaves the bounding box of the element.
Returns:
Dataflow of mouse leave events
-
<abstract> getEventMouseMove()
-
Gets the 'Mouse Move' events.
Returns:
Dataflow of mouse moves events
-
<abstract> getEventMouseOver()
-
Gets the 'Mouse Over' events.
Returns:
Dataflow of mouse moves events
-
<abstract> getEventMouseUp()
-
Gets the 'Mouse Up' events.
Returns:
Dataflow of mouse up events
-
<abstract> getEventMouseWheel()
-
Gets the 'Mouse Wheel' events.
Returns:
Dataflow of mouse wheel events
-
<abstract> getEventTouchCancel()
-
Gets the 'Touch Cancel' events.
Returns:
Dataflow of touch cancel events
-
<abstract> getEventTouchEnd()
-
Gets the 'Touch End' events.
Returns:
Dataflow of touch end events
-
<abstract> getEventTouchMove()
-
Gets the 'Touch Move' events.
Returns:
Dataflow of touch move events
-
<abstract> getEventTouchStart()
-
Gets the 'Touch Start' events.
Returns:
Dataflow of touch start events
-
<abstract> getMoveEvent()
-
Gets the 'Move' events. These events are generated when the mouse moves.
Returns:
-
<abstract> isMouseDown()
-
Checks whether the mouse button is pressed down.
Returns:
True if a mouse button is down on this object
- Type
- olympe.df.POBoolean
-
<abstract> isMouseOver()
-
Checks whether the pointer is over this element.
Returns:
True if mouse is over object
- Type
- olympe.df.POBoolean
-
<abstract> isMouseUp()
-
Checks whether the mouse button is not pressed down.
Returns:
True if a mouse button is up on this object
- Type
- olympe.df.POBoolean
-
offClickOrTap(id)
-
Unregisters a callback for 'click or tap' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onClickOrTap
) -
offDoubleClick(id)
-
Unregisters a callback for 'Double Click' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onClickOrTap
) -
offMouseDown(id)
-
Unregisters a callback for 'Mouse Down' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseDown
) -
offMouseEnter(id)
-
Unregisters a callback for 'Mouse Enter' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseEnter
) -
offMouseLeave(id)
-
Unregisters a callback for 'Mouse Leave' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseLeave
) -
offMouseMove(id)
-
Unregisters a callback for 'Mouse Move' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseMove
) -
offMouseOver(id)
-
Unregisters a callback for 'Mouse Over' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseOver
) -
offMouseUp(id)
-
Unregisters a callback for 'Mouse Up' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseUp
) -
offMouseWheel(id)
-
Unregisters a callback for 'Mouse Wheel' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMouseWheel
) -
offMoveEnd(id)
-
Unregisters a callback for 'Move End' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMoveEnd
) -
offMoveStart(id)
-
Unregisters a callback for 'Move Start' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onMoveStart
) -
offTouchCancel(id)
-
Unregisters a callback for 'Touch Cancel' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onTouchCancel
) -
offTouchEnd(id)
-
Unregisters a callback for 'Touch End' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onTouchEnd
) -
offTouchMove(id)
-
Unregisters a callback for 'Touch Move' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onTouchMove
) -
offTouchStart(id)
-
Unregisters a callback for 'Touch Start' events.
Parameters:
Name Type Description id
string ID of callback (returned by
onTouchStart
) -
<abstract> onClickOrTap(callback [, id] [, priority])
-
Registers a callback for 'click or tap' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onDoubleClick(callback [, id] [, priority])
-
Registers a callback for 'Double Click' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseDown(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Down' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseEnter(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Enter' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseLeave(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Leave' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseMove(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Move' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseOver(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Over' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseUp(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Up' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMouseEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMouseWheel(callback [, id] [, priority])
-
Registers a callback for the 'Mouse Wheel' events.
Parameters:
Name Type Argument Default Description callback
function the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMoveEnd(callback [, id] [, priority])
-
Registers a callback for the 'Move End' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMoveEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onMoveStart(callback [, id] [, priority])
-
Registers a callback for the 'Move Start' events.
Parameters:
Name Type Argument Default Description callback
olympe.ui.events.OnMoveEventCallback the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onTouchCancel(callback [, id] [, priority])
-
Registers a callback for the 'Touch Cancel' events.
Parameters:
Name Type Argument Default Description callback
function the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onTouchEnd(callback [, id] [, priority])
-
Registers a callback for the 'Touch End' events.
Parameters:
Name Type Argument Default Description callback
function the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onTouchMove(callback [, id] [, priority])
-
Registers a callback for the 'Touch Move' events.
Parameters:
Name Type Argument Default Description callback
function the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string
-
<abstract> onTouchStart(callback [, id] [, priority])
-
Registers a callback for the 'Touch Start' events.
Parameters:
Name Type Argument Default Description callback
function the function to call
id
string <optional>
Id of callback, auto-generated if omitted
priority
number <optional>
0 Priority of event (higher number = higher priority)
Returns:
Id of the callback
- Type
- string