Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
Modifier and Type | Field and Description |
---|---|
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.ALLOW_SELF
When used in combination with
SELECTION or AT_LOCATION
this setting will allow pasting nodes into their original. |
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.AT_LOCATION
A node should be pasted into the group node at the location where the node is pasted to or the root if there is no group
node.
|
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.FORCE
If combined with
PREVIOUS_PARENT forces the node to be pasted into its original parent,
even if the parent has moved far away and pasting the node would increase the parents size considerably. |
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.MODE_MASK
A bitmask that can be used to query the actual mode (
ROOT ,
SELECTION , AT_LOCATION , or
PREVIOUS_PARENT ). |
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.MODIFIER_MASK
A bitmask that can be used to query modifications of the actual mode such as
ALLOW_SELF
or FORCE . |
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.PREVIOUS_PARENT
A node should be pasted into its original parent.
|
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.ROOT
Nodes should always be pasted into the root group.
|
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.SELECTION
If exactly one group node is selected the nodes should be pasted into that group.
|
Modifier and Type | Method and Description |
---|---|
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.fromName(String name) |
static GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.fromOrdinal(int value) |
protected GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.ParentNodeDetectionModes.fromOrdinalImpl(int ordinal) |
protected GraphClipboard.ParentNodeDetectionModes[] |
GraphClipboard.ParentNodeDetectionModes.getItems() |
GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.getParentNodeDetection()
Gets whether or not nodes should be automatically put into a group node and if so how this group will be determined.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphClipboard.setParentNodeDetection(GraphClipboard.ParentNodeDetectionModes value)
Sets whether or not nodes should be automatically put into a group node and if so how this group will be determined.
|