| Package | com.asterisq.graph |
| Class | public class GraphItem |
| Inheritance | GraphItem flash.events.EventDispatcher |
| Subclasses | Edge, Node |
| Method | Defined by | ||
|---|---|---|---|
|
GraphItem(id:String, data:Object = null)
Creates a new graph item.
| GraphItem | ||
|
getDataProperty(propertyName:String):*
Fetches the value of a particular property of this graph item's data.
| GraphItem | ||
|
setDataProperty(propertyName:String, value:*):void
Sets the value of a particular property of this graph item's data.
| GraphItem | ||
|
toString():String
| GraphItem | ||
| data | property |
data:Object [read-write]Implementation
public function get data():Object
public function set data(value:Object):void
| id | property |
id:String [read-only]Implementation
public function get id():String
| GraphItem | () | constructor |
public function GraphItem(id:String, data:Object = null)Creates a new graph item.
Parametersid:String |
|
data:Object (default = null) |
| getDataProperty | () | method |
public function getDataProperty(propertyName:String):*Fetches the value of a particular property of this graph item's data.
ParameterspropertyName:String |
* |
| setDataProperty | () | method |
public function setDataProperty(propertyName:String, value:*):voidSets the value of a particular property of this graph item's data.
ParameterspropertyName:String |
|
value:* |
| toString | () | method |
public override function toString():StringReturns
String |