|
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 java.lang.String |
SOURCE_PORT_KEY
Key for storing mappings of nodes to node ports. |
static java.lang.String |
TARGET_PORT_KEY
Key for storing mappings of nodes to node ports. |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.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. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Stores the specified value using the specified lookup key. |
java.lang.Object |
remove(java.lang.String key)
Removes the key-value pair for the specified key. |
Field Detail |
---|
static final java.lang.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 java.lang.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()
java.lang.Object get(java.lang.String key)
key
- the key whose associated value is to be returned.
null
if no value has been stored for the key.java.lang.Object remove(java.lang.String key)
key
- the key whose associated key-value pair is removed.
null
if no value has been stored for the key.java.lang.Object put(java.lang.String key, java.lang.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-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |