Package | com.yworks.graph.model |
Class | public class AbstractLabeledItem |
Inheritance | AbstractLabeledItem AbstractModelItem Object |
Subclasses | DefaultEdge, DefaultNode |
ILabeledItem
instances.
Property | Defined By | ||
---|---|---|---|
labels : ILabelCollection
The collection for the labels. | AbstractLabeledItem |
Method | Defined By | ||
---|---|---|---|
Creates a new instance using the given collection of labels and a lookup that can optionally be provided. | AbstractLabeledItem | ||
Returns the currently set ILookup delegate. | AbstractModelItem | ||
lookup(type:Class):Object
Simple lookup implementation that tries to find a registered lookup. | AbstractModelItem | ||
registerLookup(type:Class, instance:Object):void
Register an implementation for the given type that should be returned
when lookup is called with this given type. | AbstractModelItem | ||
setLookupImplementation(newLookup:ILookup):void
Sets the ILookup implementation used for
lookup calls on this instance. | AbstractModelItem |
labels | property |
labels:ILabelCollection
The collection for the labels.
public function get labels():ILabelCollection
public function set labels(value:ILabelCollection):void
AbstractLabeledItem | () | Constructor |
public function AbstractLabeledItem(labelCollection:ILabelCollection, lookup:ILookup = null)
Creates a new instance using the given collection of labels and a lookup that can optionally be provided.
ParameterslabelCollection:ILabelCollection — The collection to use.
| |
lookup:ILookup (default = null ) — The lookup delegate to use.
|