Packageardisia.components.buttonBar.data
Classpublic class ButtonBarButtonData
InheritanceButtonBarButtonData Inheritance Object

Used by the Ardisia ButtonBar class to manage state information for buttons during dragging.



Public Properties
 PropertyDefined By
  markedForDeletion : Boolean
True to remove the button when the data is committed.
ButtonBarButtonData
  renderer : ButtonBarButton
The renderer or button.
ButtonBarButtonData
  width : Number
The stored width of the button.
ButtonBarButtonData
  xPosition : Number
The tracked x position.
ButtonBarButtonData
Public Methods
 MethodDefined By
  
ButtonBarButtonData(renderer:ButtonBarButton = null, width:int = 0, xPosition:int = 0, markedForDeletion:Boolean = false)
ButtonBarButtonData
  
Returns a clone of the object instance.
ButtonBarButtonData
Property Detail
markedForDeletionproperty
public var markedForDeletion:Boolean

True to remove the button when the data is committed.

The default value is false.

rendererproperty 
public var renderer:ButtonBarButton

The renderer or button.

The default value is null.

widthproperty 
public var width:Number

The stored width of the button. Not necessarily the actual width of the button.

The default value is 0.

xPositionproperty 
public var xPosition:Number

The tracked x position. Not necessarily the actual x coordinate of the button.

The default value is 0.

Constructor Detail
ButtonBarButtonData()Constructor
public function ButtonBarButtonData(renderer:ButtonBarButton = null, width:int = 0, xPosition:int = 0, markedForDeletion:Boolean = false)



Parameters
renderer:ButtonBarButton (default = null)
 
width:int (default = 0)
 
xPosition:int (default = 0)
 
markedForDeletion:Boolean (default = false)
Method Detail
clone()method
public function clone():ButtonBarButtonData

Returns a clone of the object instance.

Returns
ButtonBarButtonData — ButtonBarButtonData instance