|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeInfo
A class that holds all information related to a node.
Field Summary | |
---|---|
static byte |
TYPE_CONNECTOR
Node type specifier. |
static byte |
TYPE_GROUP
Node type specifier. |
static byte |
TYPE_NORMAL
Node type specifier. |
static byte |
TYPE_PROXY
Node type specifier. |
static byte |
TYPE_PROXY_REFERENCE
Node type specifier. |
Method Summary | |
---|---|
Object |
getId()
Returns the unique id of the related node. |
int |
getPageNo()
Returns the page of the related node. |
Node |
getReferencingNode()
Returns the referencing node. |
Node |
getRepresentedNode()
Returns the represented node (always a node of the input graph). |
byte |
getType()
Returns the type of the related node. |
Field Detail |
---|
static final byte TYPE_NORMAL
getType()
,
Constant Field Valuesstatic final byte TYPE_GROUP
getType()
,
Constant Field Valuesstatic final byte TYPE_PROXY
getType()
,
TYPE_NORMAL
,
Constant Field Valuesstatic final byte TYPE_PROXY_REFERENCE
getType()
,
TYPE_PROXY
,
Constant Field Valuesstatic final byte TYPE_CONNECTOR
getType()
,
Constant Field ValuesMethod Detail |
---|
Node getRepresentedNode()
connector
this method returns the neighbor of the matching connector node,
if the related node has type proxy
it returns the corresponding original node,
if the related node has type proxy reference
it returns null
,
and, otherwise, it returns the corresponding node in the input graph.
int getPageNo()
byte getType()
Object getId()
Node getReferencingNode()
connector
this method returns the opposite connector node, if the related node has
type proxy reference
it returns the
corresponding proxy node, if the related node has type
proxy
it returns the corresponding proxy reference
node; otherwise it returns null
.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |