|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface HierarchyManager.InterEdgeData
Specifies the general contract for storing and retrieving additional data for inter-edges.
Field Summary | |
---|---|
static String |
SOURCE_PORT_KEY
Key for storing mappings of nodes to node ports. |
static String |
TARGET_PORT_KEY
Key for storing mappings of nodes to node ports. |
Method Summary | |
---|---|
Object |
get(String key)
Returns the value that has been stored for the specified key. |
Node |
getRealSource()
Returns the real source node of the inter-edge to which this data object is associated. |
Node |
getRealTarget()
Returns the real target node of the inter-edge to which this data object is associated. |
Object |
put(String key,
Object value)
Stores the specified value using the specified lookup key. |
Object |
remove(String key)
Removes the key-value pair for the specified key. |
Field Detail |
---|
static final String SOURCE_PORT_KEY
Map
.
The stored mappings are used to bind inter edges to source node ports
whenever an endpoint of an inter edge is changed due to a group being
closed or a folder being opened.
static final String TARGET_PORT_KEY
Map
.
The stored mappings are used to bind inter edges to target node ports
whenever an endpoint of an inter edge is changed due to a group being
closed or a folder being opened.
Method Detail |
---|
Node getRealSource()
Node getRealTarget()
Object get(String key)
key
- the key whose associated value is to be returned.
null
if no value has been stored for the key.Object remove(String key)
key
- the key whose associated key-value pair is removed.
null
if no value has been stored for the key.Object put(String key, Object value)
key
- key with which the specified value is to be associated.value
- value to be associated with the specified key.
null
if no value has been stored for the key.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |