Packagecom.kapit.diagram.controls
Classpublic class GriddedButtonBar
InheritanceGriddedButtonBar Inheritance mx.core.UIComponent



Public Properties
 PropertyDefined by
  activated : Boolean
Indicates whether the GriddedButtonBar is activated.
GriddedButtonBar
  cellmargin : Number
A number that specifies the margin between the GiddedButtonBar cells.
GriddedButtonBar
  cellsize : Number
A number that specifies the GriddedButtonBar cell size.
GriddedButtonBar
  data : Array
an array containing all the GriddedButton children of this GriddedButtonBar.
GriddedButtonBar
  icon : Class
Name of the class to be used as the default icon.
GriddedButtonBar
Protected Properties
 PropertyDefined by
  _activated : Boolean = false
GriddedButtonBar
  _buttons : Array = null
GriddedButtonBar
  _cellmargin : Number = 2
GriddedButtonBar
  _cellsize : Number = 22
GriddedButtonBar
  _data : Array
GriddedButtonBar
  _iconclass : Class
GriddedButtonBar
Public Methods
 MethodDefined by
  
Creates a new GriddedButtonBar instance.
GriddedButtonBar
  
clear():void
Deactivates all the GriddedButton children of this GriddedButtonBar and removes them.
GriddedButtonBar
Protected Methods
 MethodDefined by
  
Create child objects of the component.
GriddedButtonBar
  
GriddedButtonBar
  
initGrid():void
Initializes the GriddedButtonBar and adds its GriddedButton children.
GriddedButtonBar
  
measure():void
Calculates the default size of the GriddedButton.
GriddedButtonBar
Property detail
_activatedproperty
protected var _activated:Boolean = false
activatedproperty 
activated:Boolean  [read-write]

Indicates whether the GriddedButtonBar is activated.

Implementation
    public function get activated():Boolean
    public function set activated(value:Boolean):void
_buttonsproperty 
protected var _buttons:Array = null
_cellmarginproperty 
protected var _cellmargin:Number = 2
cellmarginproperty 
cellmargin:Number  [read-write]

A number that specifies the margin between the GiddedButtonBar cells.

Implementation
    public function get cellmargin():Number
    public function set cellmargin(value:Number):void
_cellsizeproperty 
protected var _cellsize:Number = 22
cellsizeproperty 
cellsize:Number  [read-write]

A number that specifies the GriddedButtonBar cell size.

Implementation
    public function get cellsize():Number
    public function set cellsize(value:Number):void
_dataproperty 
protected var _data:Array
dataproperty 
data:Array  [read-write]

an array containing all the GriddedButton children of this GriddedButtonBar.

Implementation
    public function get data():Array
    public function set data(value:Array):void
iconproperty 
icon:Class  [read-write]

Name of the class to be used as the default icon.

Implementation
    public function get icon():Class
    public function set icon(value:Class):void
_iconclassproperty 
protected var _iconclass:Class
Constructor detail
GriddedButtonBar()constructor
public function GriddedButtonBar()

Creates a new GriddedButtonBar instance.

Method detail
clear()method
public function clear():void

Deactivates all the GriddedButton children of this GriddedButtonBar and removes them.

createChildren()method 
protected override function createChildren():void

Create child objects of the component.

iconDragHandler()method 
protected function iconDragHandler(event:GriddedButtonEvent):voidParameters
event:GriddedButtonEvent
initGrid()method 
protected function initGrid():void

Initializes the GriddedButtonBar and adds its GriddedButton children.

measure()method 
protected override function measure():void

Calculates the default size of the GriddedButton.