Package | com.yworks.graph.model |
Class | public class TagOwnerMapper |
Inheritance | TagOwnerMapper Object |
Implements | IMapper |
IMapper
implementation that uses
the ITagOwner
implementation in the lookup
of IModelItem
s.
See also
Method | Defined By | ||
---|---|---|---|
lookupValue(key:Object):Object
Returns the tag of the IModelItem passed as
the key using
the ITagOwner found in the model item's lookup. | TagOwnerMapper | ||
mapValue(key:Object, value:Object):void
Sets the tag of the IModelItem passed as
the key to the specified value using
the ITagOwner found in the model item's lookup. | TagOwnerMapper | ||
unMapValue(key:Object):void
Deletes the tag of the IModelItem passed as
the key using
the ITagOwner found in the model item's lookup. | TagOwnerMapper |
lookupValue | () | method |
public function lookupValue(key:Object):Object
Returns the tag of the IModelItem
passed as
the key
using
the ITagOwner
found in the model item's lookup.
Parameters
key:Object — An IModelItem that provides an ITagOwner
through it's lookup.
|
Object — the tag of the ITagOwner provided by the key 's lookup.
|
mapValue | () | method |
public function mapValue(key:Object, value:Object):void
Sets the tag of the IModelItem
passed as
the key
to the specified value
using
the ITagOwner
found in the model item's lookup.
Parameters
key:Object — An IModelItem that provides an ITagOwner
through it's lookup.
| |
value:Object — the value to be used as the item's tag.
|
unMapValue | () | method |
public function unMapValue(key:Object):void
Deletes the tag of the IModelItem
passed as
the key
using
the ITagOwner
found in the model item's lookup.
Parameters
key:Object — An IModelItem that provides an ITagOwner
through it's lookup.
|