qnx.fuse.ui.events.ExpandableEvent

ExpandableEvent

Methods | Constants


Packageqnx.fuse.ui.events
Classpublic class ExpandableEvent
InheritanceExpandableEvent Inheritance flash.events.Event

A ExpandableEvent object contains events for controls that open and close.

Class information:
BlackBerry 10 Version:   10.0.0
Found in:  qnxui.swc

See also

qnx.fuse.ui.listClasses.DropDown
qnx.fuse.ui.picker.Picker



Public Methods

 MethodDefined By
  
ExpandableEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a ExpandableEvent instance.
ExpandableEvent

Public Constants

 ConstantDefined By
  CLOSED : String = closed
[static] Dispatched when a control that can open and close is finished animating to its closed state.
ExpandableEvent
  CLOSING : String = closing
[static] Dispatched when a control that can open and close is starting to animate to its closed state.
ExpandableEvent
  OPENED : String = opened
[static] Dispatched when a control that can open and close is finished animating to its opened state.
ExpandableEvent
  OPENING : String = opening
[static] Dispatched when a control that can open and close is starting to animate to its opened state.
ExpandableEvent

Constructor Detail

ExpandableEvent()


public function ExpandableEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a ExpandableEvent instance.

This event is dispatched by controls that can open and close.

Parameters

type:String — The type of the event.
bubbles:Boolean (default = false) — Does the event bubble
cancelable:Boolean (default = false) — Is the event cancelable

See also

qnx.fuse.ui.expandablecontrol.ExpandableControl

Constant Detail

CLOSED


public static const CLOSED:String = closed

Dispatched when a control that can open and close is finished animating to its closed state.

The ExpandableEvent.CLOSED constant defines the value of the type property of the event object for an closed event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
typeExpandableEvent.CLOSED

CLOSING


public static const CLOSING:String = closing

Dispatched when a control that can open and close is starting to animate to its closed state.

The ExpandableEvent.CLOSING constant defines the value of the type property of the event object for an closing event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelabletrue; call the preventDefault() method to prevent the control from closing.
currentTargetThe object that is actively processing the Event object with an event listener.
typeExpandableEvent.CLOSING

OPENED


public static const OPENED:String = opened

Dispatched when a control that can open and close is finished animating to its opened state.

The ExpandableEvent.OPENED constant defines the value of the type property of the event object for an opened event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
typeExpandableEvent.OPENED

OPENING


public static const OPENING:String = opening

Dispatched when a control that can open and close is starting to animate to its opened state.

The ExpandableEvent.OPENING constant defines the value of the type property of the event object for an opening event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelabletrue; call the preventDefault() method to prevent the control from opening.
currentTargetThe object that is actively processing the Event object with an event listener.
typeExpandableEvent.OPENING





comments powered by Disqus