Package com.adobe.flex.extras.controls.springgraph
Class public class Item

The base class for all Graph items.



Public Properties
  Property Defined by
    data : Object
This item's data, if any.
Item
    id : String
This item's unique id.
Item
Public Methods
  Method Defined by
   
Item(id:String = null)
Constructor for Item.
Item
   
okToMove():Boolean
Find out if it's ok for the user to move this item with the mouse.
Item
Property detail
data property
public var data:Object

This item's data, if any.

This property can be used as the source for data binding.

id property  
public var id:String

This item's unique id. Every item has a unique id.

This property can be used as the source for data binding.

Constructor detail
Item () constructor
public function Item(id:String = null)

Constructor for Item.

Parameters
id:String (default = null) — if non-null, this becomes the unique id for this item. WARNING: every item must have an id that is different from the id of all other items. If you do not provide an id, we create one for you.
Method detail
okToMove () method
public function okToMove():Boolean

Find out if it's ok for the user to move this item with the mouse.

Returns
Boolean — true if it is currently permitted for the user to move this item. By default, this is true, but subclasses of Item can override this as desired.