|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.rule.AbstractRule
com.tensegrity.graph.rule.AbstractGraphObjectRule
com.tensegrity.graph.rule.NodeRule
Class NodeRule implements the rule template for
VisualNode objects. Such a rule contains a set of
properties whose combined values, including those defined in
GraphObjectRule, define the runtime behavior of
those nodes which are associated with the rule.
The attributes supported by the NodeRule are listed
below. You can find detailed information about each attribute afterwards.
The minimum-indegree attribute specifies the
minimum number of incoming VisualEdges.
For the indegree those VisualEdges are counted that are
connected with their target end to a VisualPort of a
VisualNode.
The value for attribute is restricted to be an integer >= 0.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
indegree-minimum attribute are listed below:
The maximum-indegree attribute specifies
the upper bound for the number of incoming VisualEdges. This
means that the maximum number of incoming VisualEdges is
calculated by the upper bound minus 1.
For the indegree those VisualEdges are counted that are
connected with their target end to a VisualPort of a
VisualNode.
The value for attribute is restricted to be an integer >= 0 whereas
a value of zero is considered as unlimited.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
indegree-maximum attribute are listed below:
The minimum-outdegree attribute specifies
the minimum number of outgoing VisualEdges.
For the outdegree those VisualEdges are counted that are
connected with their source end to a VisualPort of a
VisualNode.
The value for attribute is restricted to be an integer >= 0.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
outdegree-minimum attribute are listed below:
The maximum-outdegree attribute specifies
the upper bound for the number of outgoing VisualEdges. This
means that the maximum number of outgoing VisualEdges is
calculated by the upper bound minus 1.
the maximum number of outgoing VisualEdges.
For the outdegree those VisualEdges are counted that are
connected with their source end to a VisualPort of a
VisualNode.
The value for attribute is restricted to be an integer >= 0 whereas
a value of zero is considered as unlimited.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
outdegree-maximum attribute are listed below:
The instance-minimum attribute specifies
the minimum number of instances for VisualNodes of a certain
type.
VisualNodes with the same rule are considered to be of the
same type.
The value for attribute is restricted to be an integer >= 0.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
instance-minimum attribute are listed below:
The instance-maximum attribute specifies
the upper bound for the number of of instances of VisualNodes
of a certain type. This means that the maximum number of such
VisualNodes is calculated by the upper bound minus 1.
VisualNodes with the same rule are considered to be of the
same type.
The value for attribute is restricted to be an integer >= 0 whereas
a value of zero is considered as unlimited.
This attribute is not only used with user interaction but
also with API calls.
The methods provided by the NodeRule to support the
instance-maximum attribute are listed below:
The draw-ports attribute specifies
whether the VisualPorts of the
VisualNode, it is assigned to, are highlighted when a
VisualEdge is moved with the mouse.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
draw-ports attribute are listed below:
boolean isDrawPorts()void setDrawPorts(boolean)
The detach-on-move attribute specifies
whether to detach all adjacent VisualEdges from the
VisualNode when the location of the VisualNode
changes.
This attribute is not only used with user interaction but
also for API calls.
The methods provided by the NodeRule to support the
detach-on-move attribute are listed below:
boolean isDetachOnMove()void setDetachOnMove(boolean)
The cascade-11node-delete attribute specifies
whether to take the inbound VisualEdge and the
outbound VisualEdge and replace them with a connected
replacement VisualEdge that is connected to the same endpoints.
This setting can only be applied to so-called 1-1-Nodes. 1-1-Nodes are
VisualNodes with an indegree of exactly one and an outdegree of
exactly one.
This attribute is not only used with user interaction but
also for API calls.
The methods provided by the NodeRule to support the
cascade-1To1-node-delete attribute are listed below:
boolean isCascade11NodeDelete()void setCascade11NodeDelete(boolean)
The cascade-delete-edges attribute specifies
whether to delete all adjacent VisualEdges when the
VisualNode, they are connected to, is removed from a
VisualGraph.
This attribute is not only used with user interaction but
also for API calls.
The methods provided by the NodeRule to support the
cascade-delete-edges attribute are listed below:
boolean isCascadeDeleteEdges()void setCascadeDeleteEdges(boolean)
The prohibit-edge-split attribute specifies
whether edge-split operations are prohibited.
Notice:For further information about edge-split operations
please see the documentation of
EdgeRule
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
prohibit-edge-split attribute are listed below:
boolean isEdgeSplitProhibited()void setEdgeSplitProhibited(boolean)
The disallowed-edge-split-nodes attribute specifies
a list of VisualNodes that are not allowed to split
a VisualEdge. The VisualNode objects are specified
by means of a comma-separated list of rule-names that are assigned to the
VisualNode.
This attribute is cared only when the
VisualNode, it is assigned to, is an instance of a
VisualSubgraph.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
disallowed-edge-split-nodes attribute are listed below:
String getDisallowedEdgeSplitNodes()String getDisallowedEdgeSplitNodesAsString()String setDisallowedEdgeSplitNodes(Set)String getDisallowEdgeSplitRule()void setDisallowEdgeSplitRule(String)
The accept-loose-nodes-if-subgraph attribute specifies
whether the VisualNode, this rule is assigned to,
accepts loose VisualNodes inside of it. Loose
VisualNodes are those with an indegree and an outdegree of zero.
In the case that a VisualNode is added and it is a loose one
but crosses a VisualEdge with enabled edge-insert-mode, the
VisualNode is not considered as a loose VisualNode
This attribute is cared only when the
VisualNode, it is assigned to, is an instance of a
VisualSubgraph.
This attribute is not only used with user interaction but
also for API calls.
The methods provided by the NodeRule to support the
accept-loose-nodes-if-subgraph attribute are listed below:
The accept-paste-if-subgraph attribute specifies
whether the VisualNode, this rule is assigned to,
accepts paste operations into it.
This attribute is cared only when the
VisualNode, it is assigned to, is an instance of a
VisualSubgraph.
This attribute is not only used with user interaction but
also for API calls.
The methods provided by the NodeRule to support the
accept-paste-if-subgraph attribute are listed below:
The legal-subgraphs attribute specifies
a list of VisualSubgraphs that may contain this type
of VisualNode. The VisualSubgraphs are specified
by means of a coma-separated list of rule names that are assigned to the
VisualSubgraphs.
This attribute is used with user interaction only.
The methods provided by the NodeRule to support the
legal-subgraphs attribute are listed below:
boolean isLegalSubgraph(String)String getLegalSubgraphsAsString()void setLegalSubgraphs(Set)
The node-overlay-edge-creation attribute specifies
whether to automatically create a
VisualEdge if a VisualNode is positioned over
another VisualNode. This means exactly when the union of the
bounding boxes of the two VisualNodes is not empty.
The following String values are supported:
| Value | Description |
|---|---|
| none | When the attributes value is set to 'none' node-overlay-edge-creation is disabled. |
| forward |
When the attributes value is set to 'forward' a
VisualEdge is created from the underlying
VisualNode to the above VisualNode.
|
| backward |
When the attributes value is set to 'backward' a
VisualEdge is created from the above VisualNode to
the underlying VisualNode.
|
VisualEdge with the desired orientation
already exists between the two VisualNodes another
VisualEdge will not be created.
NodeRule to support the
overlay-edge-creation attribute are listed below:
The node-overlay-indication-handler attribute specifies
the name of the VisualNodeOverlayIndicationHandler to
invoke when another node is dragged and obscuring (overlaying) the
VisualNode that this rule is assigned to.
Normally the VisualNodeOverlayIndicationHandler is used
with the overlay-edge-creation in order to display a different
overlay-edge-creation-highlight than the GraphAPI provides by default.
It is NOT allowed to perform any operation on a
VisualGraph when the
VisualNodeOverlayIndicationHandler gets called by the GraphAPI.
For further information about
visualnode-overlayindication-handlers please see the documentation of
VisualNodeOverlayIndicationHandler
This attribute is only used with user interaction.
The methods provided by the NodeRule to support the
overlay-handler-name attribute are listed below:
String getVisualNodeOverlayIndicationHandlerName()void setVisualNodeOverlayIndicationHandlerName(String)
The node-drop-handler attribute specifies
the name of the VisualNodeDropHandler instance to
invoke when a VisualNode is dropped on/added to the
VisualNode this rule is assigned to.
This attribute is cared only when the
VisualNode, it is assigned to, is an instance of a
VisualSubgraph.
This attribute is used with user interaction only.
For further information about node-drop-handlers please see
the documentation of
VisualNodeDropHandler
The methods provided by the NodeRule to support the
drop-handler-name attribute are listed below:
String getDropHandlerName()void setDropHandlerName(String)
The subgraph-remove-handler attribute specifies
the name of the VisualSubgraphRemoveHandler instance
to invoke when a VisualNode is removed from the
VisualNode this rule is assigned to.
This attribute is cared only when the
VisualNode, it is assigned to, is an instance of a
VisualSubgraph.
This attribute is used with user interaction only.
For further information about remove-handlers please see
the documentation of
VisualSubgraphRemoveHandler
The methods provided by the NodeRule to support the
remove-handler-name attribute are listed below:
The node-moved-in-subgraph-handler attribute specifies
the name of the VisualNodeMovedInSubgraphHander
instance to invoke when a VisualNode is moved within the
VisualNode this rule is assigned to.
This attribute is cared only when the
VisualNode, it is assigned to, is an instance of a
VisualSubgraph.
This attribute is used with user interaction only.
For further information about
visualnode-movedinsubgraph-handlers please see the documentation of
VisualNodeMovedInSubgraphHandler
The methods provided by the NodeRule to support the
node-moved-in-subgraph-handler attribute are listed below:
String #getNodeMovedInSubgraphHandlerHandlerName()void #setNodeMovedInSubgraphHandlerHandlerName(String)
RuleRegistry,
Serialized Form| Constructor Summary | |
NodeRule(NodeRule rule)
Copy constructor for a NodeRule. |
|
NodeRule(java.lang.String name)
Constructs a new node rule. |
|
| Method Summary | |
boolean |
applyCascadeNodeDeleteHierarchical()
|
boolean |
applyDegreesHierarchical()
|
boolean |
applyEdgeSplitHierarchical()
|
Rule |
deepCopy()
Returns a deepCopy of this rule. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Return a string description of this rule. |
java.util.Set |
getDisallowedEdgeSplitNodes()
Returns the names of the disallowed edge-split nodes as a Set or null if there are no disallowed
edge-split nodes registered which means that all nodes are allowed to
split edges. |
java.lang.String |
getDisallowedEdgeSplitNodesAsString()
Returns the disallowed edge-split nodes list concatenated into a single string where tokens are delimited by a comma. |
java.lang.String |
getDisallowEdgeSplitRule()
Deprecated. make use of either getDisallowedEdgeSplitNodes() or
getDisallowedEdgeSplitNodesAsString() instead |
java.lang.String |
getDropHandlerName()
Gets the name that identifies the VisualNodeDropHandler for this rule. |
int |
getIndegreeMaximum()
Returns the indegreeMaximum value for this rule instance. |
int |
getIndegreeMinimum()
Returns the indegreeMinimum value for this rule instance. |
int |
getInstanceMaximum()
Returns the instanceMaximum value for this rule instance. |
int |
getInstanceMinimum()
Returns the instanceMinimum value for this rule instance. |
java.lang.String |
getLegalSubgraphsAsString()
Returns the is-legal-subgraph list concatenated into a single string where tokens are delimited by a comma. |
java.util.Set |
getLegalSubgraps()
Returns the names of the legal-subgraphs as a Set or
null if there are no legal-subgraphs registered which means
that all subgraphs are legal. |
java.lang.String |
getNodeMovedInSubgraphHandlerName()
Gets the name that identifies the VisualNodeMovedInSubgraphHandler
for this rule. |
int |
getOutdegreeMaximum()
Returns the outdegreeMaximum value for this rule instance. |
int |
getOutdegreeMinimum()
Returns the outdegreeMinimum value for this rule instance. |
java.lang.String |
getOverlayEdgeCreation()
Gets the setting for automatic edge-creation on node overlay. |
java.lang.String |
getSubgraphRemoveHandlerName()
Gets the name that identifies the VisualSubgraphRemoveHandler for this rule. |
java.lang.String |
getVisualNodeOverlayIndicationHandlerName()
Gets the name that identifies the VisualNodeOverlayIndicationHandler for this rule. |
int |
hashCode()
|
boolean |
isAcceptLooseNodesIfSubgraph()
Returns the accept-loose-nodes-if-subgraph flag for this rule. |
boolean |
isAcceptOverlayEdgeCreation()
|
boolean |
isAcceptPasteIfSubgraph()
Returns the accept-paste-if-subgraph flag for this rule. |
boolean |
isCascade11NodeDelete()
Returns the cascade 1-1-node deletion flag for this rule. |
boolean |
isCascadeDeleteEdges()
Returns the cascade edges deletion flag for this rule. |
boolean |
isDetachOnMove()
Returns the detach-on-move flag for this rule. |
boolean |
isDisallowedToSplitEdges(java.lang.String noderule)
Returns a flag that indicates whether the node rule name given by noderule is allowed to split an edge or not.
|
boolean |
isDrawPorts()
Returns the draw-ports flag for this rule. |
boolean |
isEdgeSplitProhibited()
Returns the edge-split-prohibited flag for this rule. |
boolean |
isLegalSubgraph(java.lang.String subgraphrule)
Returns the is-legal-subgraph flag for this rule. |
void |
setAcceptLooseNodesIfSubgraph(boolean acceptLooseNodesIfSubgraph)
Sets the accept-loose-nodes-if-subgraph flag for this rule. |
void |
setAcceptOverlayEdgeCreation(boolean acceptOverlayEdgeCreation)
|
void |
setAcceptPasteIfSubgraph(boolean acceptPasteIfSubgraph)
Sets the accept-paste-if-subgraph flag for this rule. |
void |
setApplyCascadeNodeDeleteHierarchical(boolean applyCascadeNodeDeleteHierarchical)
|
void |
setApplyDegreesHierarchical(boolean applyDegreesHierarchical)
|
void |
setApplyEdgeSplitHierarchical(boolean applyEdgeSplitHierarchical)
|
void |
setCascade11NodeDelete(boolean cascade11nodedelete)
Sets the cascade 1-1-node deletion flag for this rule. |
void |
setCascadeDeleteEdges(boolean cascadedeleteedges)
Sets the cascade edge deletion flag for this rule. |
void |
setDetachOnMove(boolean detachOnMove)
Sets the detach-on-move flag for this rule. |
void |
setDisallowedEdgeSplitNodes(java.util.Set disallowedEdgeSplitNodes)
Sets the disallowed edge-split node rule names (as Strings) for this rule. |
void |
setDisallowEdgeSplitRule(java.lang.String disallowedEdgeSplitNodes)
Deprecated. make use of setDisallowedEdgeSplitNodes(Set) instead |
void |
setDrawPorts(boolean drawports)
Sets the draw-ports flag for this rule. |
void |
setDropHandlerName(java.lang.String drophandlername)
Sets the name that identifies the VisualNodeDropHandler for this rule.
|
void |
setEdgeSplitProhibited(boolean prohibitEdgeSplit)
Sets the edge-split-prohibited flag for this rule. |
void |
setIndegreeMaximum(int indegreeMaximum)
Sets the indegreeMeximum value for this rule instance. |
void |
setIndegreeMinimum(int indegreeMinimum)
Sets the indegreeMinimum value for this rule instance. |
void |
setInstanceMaximum(int instanceMaximum)
Sets the instanceMaximum value for this rule instance. |
void |
setInstanceMinimum(int instanceMinimum)
Sets the instanceMinimum value for this rule instance. |
void |
setLegalSubgraphs(java.util.Set legalSubgraphRules)
Sets the is-legal-subgraph rule names (as Strings) for this rule. |
void |
setNodeMovedInSubgraphHandlerName(java.lang.String nodemovedinsubgraphhandlername)
Sets the name that identifies the VisualNodeMovedInSubgraphHandler
for this rule.
|
void |
setOutdegreeMaximum(int outdegreeMaximum)
Sets the outdegreeMaximum value for this rule instance. |
void |
setOutdegreeMinimum(int outdegreeMinimum)
Sets the outdegreeMinimum value for this rule instance. |
void |
setOverlayEdgeCreation(java.lang.String overlayEdgeCreation)
Sets the setting for automatic edge-creation on node overlay. |
void |
setSubgraphRemoveHandlerName(java.lang.String removehandlername)
Sets the name that identifies the VisualSubgraphRemoveHandler for this rule.
|
void |
setVisualNodeOverlayIndicationHandlerName(java.lang.String overlayhandlername)
Sets the name that identifies the VisualNodeOverlayIndicationHandler for this rule.
|
java.lang.String |
toString()
Return a string representation of this rule. |
| Methods inherited from class com.tensegrity.graph.rule.AbstractGraphObjectRule |
getName, isCopyable, isCutable, isDeletable, isMovable, isResizable, isSelectable, setCopyable, setCutable, setDeletable, setMovable, setResizable, setSelectable |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.tensegrity.graph.rule.Rule |
getName |
| Constructor Detail |
public NodeRule(java.lang.String name)
The properties are initialized with the following defaults:
null.
name - name of the rule, must not be null.public NodeRule(NodeRule rule)
NodeRule.
rule - the source NodeRule to copy from.| Method Detail |
public int getIndegreeMinimum()
public void setIndegreeMinimum(int indegreeMinimum)
indegreeMinimum - The indegreeMinimum value to set,
negative values are not allowed and trigger an
InvalidArgumentException to be thrown.
InvalidArgumentException - thrown if the specified
value is negative.public int getIndegreeMaximum()
public void setIndegreeMaximum(int indegreeMaximum)
indegreeMaximum - The indegreeMaximum value to set,
negative values are not allowed and trigger an
InvalidArgumentException to be thrown.
InvalidArgumentException - thrown if the specified
value is negative.public int getOutdegreeMinimum()
public void setOutdegreeMinimum(int outdegreeMinimum)
outdegreeMinimum - The outdegreeMinimum value to set,
negative values are not allowed and trigger an
InvalidArgumentException to be thrown.
InvalidArgumentException - thrown if the specified
value is negative.public int getOutdegreeMaximum()
public void setOutdegreeMaximum(int outdegreeMaximum)
outdegreeMaximum - The outdegreeMaximum value to set,
negative values are not allowed and cause an
InvalidArgumentException to be thrown.
InvalidArgumentException - thrown if the specified
value is negative.public boolean applyDegreesHierarchical()
public void setApplyDegreesHierarchical(boolean applyDegreesHierarchical)
public int getInstanceMinimum()
public void setInstanceMinimum(int instanceMinimum)
instanceMinimum - The instanceMinimum value to set,
negative values are not allowed and trigger an
InvalidArgumentException to be thrown.
InvalidArgumentException - thrown if the specified
value is negative.public int getInstanceMaximum()
public void setInstanceMaximum(int instanceMaximum)
instanceMaximum - The instanceMaximum value to set,
negative values are not allowed and trigger an
InvalidArgumentException to be thrown.
InvalidArgumentException - thrown if the specified
value is negative.public boolean isDrawPorts()
public void setDrawPorts(boolean drawports)
drawports - true if ports should be drawn.public boolean isDetachOnMove()
public void setDetachOnMove(boolean detachOnMove)
detachOnMove - true if the node is detached if it is moved.public boolean isCascade11NodeDelete()
public void setCascade11NodeDelete(boolean cascade11nodedelete)
cascade11nodedelete - true if the rule cascades 1-1-node deletions.public boolean applyCascadeNodeDeleteHierarchical()
public void setApplyCascadeNodeDeleteHierarchical(boolean applyCascadeNodeDeleteHierarchical)
public boolean isCascadeDeleteEdges()
public void setCascadeDeleteEdges(boolean cascadedeleteedges)
cascadedeleteedges - true if the rule cascades deletions for
adjacent edges.public boolean isEdgeSplitProhibited()
public void setEdgeSplitProhibited(boolean prohibitEdgeSplit)
prohibitEdgeSplit - true if the node should prohibit edge-splits.public boolean applyEdgeSplitHierarchical()
public void setApplyEdgeSplitHierarchical(boolean applyEdgeSplitHierarchical)
public java.lang.String getDisallowedEdgeSplitNodesAsString()
public java.util.Set getDisallowedEdgeSplitNodes()
Set or null if there are no disallowed
edge-split nodes registered which means that all nodes are allowed to
split edges.
Set or nullpublic void setDisallowedEdgeSplitNodes(java.util.Set disallowedEdgeSplitNodes)
Set can be null which means
that all nodes are allowed to split edges.
disallowedEdgeSplitNodes - a Set of node rule names
that are disallowed to split edges or null.public boolean isDisallowedToSplitEdges(java.lang.String noderule)
noderule is allowed to split an edge or not.
null the node is
considered to be allowed to split edges. Otherwise the given node rule
name has not to be contained in the disallowed edge-split nodes list to
be allowed to split edges.
noderule - the name of the node rule to check for.
public java.lang.String getDisallowEdgeSplitRule()
getDisallowedEdgeSplitNodes() or
getDisallowedEdgeSplitNodesAsString() instead
public void setDisallowEdgeSplitRule(java.lang.String disallowedEdgeSplitNodes)
setDisallowedEdgeSplitNodes(Set) instead
disallowedEdgeSplitNodes - the rule name that identifies which nodes to
skip for edge split operations.public boolean isAcceptLooseNodesIfSubgraph()
public void setAcceptLooseNodesIfSubgraph(boolean acceptLooseNodesIfSubgraph)
acceptLooseNodesIfSubgraph - true if the node accepts loose
nodes if it is actually a subgraph.public boolean isAcceptPasteIfSubgraph()
public void setAcceptPasteIfSubgraph(boolean acceptPasteIfSubgraph)
acceptPasteIfSubgraph - true if the node accepts paste
operations if it is actually a subgraph.public boolean isAcceptOverlayEdgeCreation()
public void setAcceptOverlayEdgeCreation(boolean acceptOverlayEdgeCreation)
public java.lang.String getLegalSubgraphsAsString()
public java.util.Set getLegalSubgraps()
Set or
null if there are no legal-subgraphs registered which means
that all subgraphs are legal.
Setpublic void setLegalSubgraphs(java.util.Set legalSubgraphRules)
Set can be null which means
that all subgraphs are legal.
legalSubgraphRules - a Set of names of legal subgraph
rules or null.public boolean isLegalSubgraph(java.lang.String subgraphrule)
null or an empty
list) is specified then all subgraphs are considered legal.
subgraphrule - the name of the rule to check for.
null is always
considered legal.public java.lang.String getOverlayEdgeCreation()
public void setOverlayEdgeCreation(java.lang.String overlayEdgeCreation)
overlayEdgeCreation - the setting for automatic edge-creationpublic java.lang.String getVisualNodeOverlayIndicationHandlerName()
VisualNodeOverlayIndicationHandler for this rule.
VisualNodeOverlayIndicationHandler for this rule.public void setVisualNodeOverlayIndicationHandlerName(java.lang.String overlayhandlername)
VisualNodeOverlayIndicationHandler for this rule.
If the name does not refer an already registered handler, then it is nevertheless
stored inside the rule in case the matching handler is registered at a later point
in time.
overlayhandlername - the name that identities the
VisualNodeOverlayIndicationHandler for this rule.
InvalidArgumentException - if the given name is null.public java.lang.String getDropHandlerName()
VisualNodeDropHandler for this rule.
VisualNodeDropHandler for this rule.public void setDropHandlerName(java.lang.String drophandlername)
VisualNodeDropHandler for this rule.
In case the name refers to a non registered
VisualNodeDropHandler the
call has no effect until at a later point in time a matching handler is
registered at an active instance of
VisualNodeDropHandlerRegistry.
drophandlername - the name that identities the
VisualNodeDropHandler for this rule.
InvalidArgumentException - if the given name is null.public java.lang.String getNodeMovedInSubgraphHandlerName()
VisualNodeMovedInSubgraphHandler
for this rule.
VisualNodeMovedInSubgraphHandler
for this rule.public void setNodeMovedInSubgraphHandlerName(java.lang.String nodemovedinsubgraphhandlername)
VisualNodeMovedInSubgraphHandler
for this rule.
If the name does not refer an already registered handler, then it is nevertheless
stored inside the rule in case the matching handler is registered at a later point
in time.
nodemovedinsubgraphhandlername - the name that identities the
VisualNodeMovedInSubgraphHandler
for this rule.
InvalidArgumentException - if the given name is null.public java.lang.String getSubgraphRemoveHandlerName()
VisualSubgraphRemoveHandler for this rule.
VisualSubgraphRemoveHandler for this rule.public void setSubgraphRemoveHandlerName(java.lang.String removehandlername)
VisualSubgraphRemoveHandler for this rule.
If the name does not refer an already registered handler, then it is nevertheless
stored inside the rule in case the matching handler is registered at a later point
in time.
removehandlername - the name that identities the
VisualSubgraphRemoveHandler for this rule.
InvalidArgumentException - if the given name is null.public java.lang.String toString()
toString in class AbstractGraphObjectRulepublic java.lang.String getDescription()
getDescription in interface Rulepublic Rule deepCopy()
deepCopy in interface Rulepublic boolean equals(java.lang.Object obj)
equals in class AbstractGraphObjectRulepublic int hashCode()
hashCode in class AbstractGraphObjectRule
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||