public interface IlvHyperEdgeEnd extends IlvPersistentObject
IlvHyperEdgeEnd is the end point of a hyperedge at a node.
It belongs logically to the edge, not to the node. This means that different
hyperedge will never share the same IlvHyperEdgeEnd object.IlvHyperEdge| Modifier and Type | Method and Description |
|---|---|
IlvHyperEdgeEnd |
copy()
Creates a copy of this object.
|
IlvHyperEdge |
getHyperEdge()
Returns the hyperedge of this end point.
|
IlvGraphic |
getNode()
Returns the end node that is connected to the hyperedge by this end point.
|
IlvPoint |
getPosition(IlvTransformer t,
boolean checkConnector)
Returns the position of the hyperedge end point in view coordinates.
|
void |
positionChanged()
Called when the position of this end might have changed.
|
void |
setDragging(boolean dragging)
Sets whether we are currently dragging the hyperedge end interactively.
|
void |
setHyperEdge(IlvHyperEdge edge)
Sets the hyperedge of this end point.
|
void |
setPosition(IlvPoint p,
IlvTransformer t)
Sets the position of the hyperedge end point.
|
boolean |
zoomable()
Returns
true if the end point of a hyperedge is zoomable. |
writeIlvHyperEdge getHyperEdge()
void setHyperEdge(IlvHyperEdge edge)
IlvInputStream.IlvPersistentObjectIlvGraphic getNode()
IlvPoint getPosition(IlvTransformer t, boolean checkConnector)
t - The transformer to draw the hyperedge.checkConnector - Whether the hyperedge connector is queried for
the connection point.void setPosition(IlvPoint p, IlvTransformer t)
IlvManager.applyToObject(ilog.views.IlvGraphic, ilog.views.IlvApplyObject, java.lang.Object, boolean)).p - The new position of the hyperedge in view coordinates.t - The transformer to draw the hyperedge.void setDragging(boolean dragging)
boolean zoomable()
true if the end point of a hyperedge is zoomable.
The end point of a hyperedge is zoomable if for all transformations
t the following holds:
t.apply(getPosition(null, true)) == getPosition(t, true)
IlvHyperEdgeEnd copy()
void positionChanged()
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.