Packagecom.kapit.diagram.controls
Classpublic class GriddedButtonEvent
InheritanceGriddedButtonEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined by
  index : int = -1
GriddedButtonEvent
  selectedindex : int = -1
The index of the selected item.
GriddedButtonEvent
  selecteditem : * = null
The selected item.
GriddedButtonEvent
Public Methods
 MethodDefined by
  
GriddedButtonEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new GriddedButtonEvent object to pass to event listeners.
GriddedButtonEvent
  
clone():Event
Duplicates an instance of the GriddedButtonEvent.
GriddedButtonEvent
Public Constants
 ConstantDefined by
  COLLAPSED : String = "__collapsed__"
[static]
GriddedButtonEvent
  COLLAPSING : String = "__collapsing__"
[static]
GriddedButtonEvent
  EXPANDED : String = "__expanded__"
[static]
GriddedButtonEvent
  EXPANDING : String = "__expanding__"
[static]
GriddedButtonEvent
  ICON_CLICKED : String = "__iconclicked__"
[static]
GriddedButtonEvent
  ICON_DRAG : String = "__icondrag__"
[static]
GriddedButtonEvent
  SELECTION_CHANGED : String = "__selchanged__"
[static]
GriddedButtonEvent
Property detail
indexproperty
public var index:int = -1
selectedindexproperty 
public var selectedindex:int = -1

The index of the selected item.

selecteditemproperty 
public var selecteditem:* = null

The selected item.

Constructor detail
GriddedButtonEvent()constructor
public function GriddedButtonEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new GriddedButtonEvent object to pass to event listeners.

Parameters
type:String — The type of the event, accessible as Event.type.
 
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false) — Determines whether the Event object can be canceled. The default values is false.
Method detail
clone()method
public override function clone():Event

Duplicates an instance of the GriddedButtonEvent.

Returns
Event — A new GriddedButtonEvent object that is identical to the original.
Constant detail
COLLAPSEDconstant
public static const COLLAPSED:String = "__collapsed__"
COLLAPSINGconstant 
public static const COLLAPSING:String = "__collapsing__"
EXPANDEDconstant 
public static const EXPANDED:String = "__expanded__"
EXPANDINGconstant 
public static const EXPANDING:String = "__expanding__"
ICON_CLICKEDconstant 
public static const ICON_CLICKED:String = "__iconclicked__"
ICON_DRAGconstant 
public static const ICON_DRAG:String = "__icondrag__"
SELECTION_CHANGEDconstant 
public static const SELECTION_CHANGED:String = "__selchanged__"