Uses of Interface
com.tensegrity.graph.view.VisualEdge

Packages that use VisualEdge
com.tensegrity.graph.event This package contains the event related code which consists of Event classes, Listeners and Adapters for the later.  
com.tensegrity.graph.layout Contains the layout algorithms and their dependent utility classes.  
com.tensegrity.graph.persistence GraphPersistence package.  
com.tensegrity.graph.rule The rule package contains the code for rules that are used throughout the graph packages.  
com.tensegrity.graph.view Contains the graph view interface.  
com.tensegrity.gui.graphdocument This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents.  
com.tensegrity.gui.swing.control.tree.strategy   
com.tensegrity.gui.swing.graph The graph package contains the two panels required for the SwingGraphDocument, a NavigatorPanel and several components for the inplace editing supported by the SwingGraphPanel.  
 

Uses of VisualEdge in com.tensegrity.graph.event
 

Methods in com.tensegrity.graph.event that return VisualEdge
 VisualEdge VisualGraphEvent.getSubjectVisualEdge()
          Returns the subject visualedge for this event.
 VisualEdge VisualGraphEvent.getNewSplitEdge1()
          If the event is an edgesplit event, this method will return the first of the two newly introduced edges that replace the original split edge.
 VisualEdge VisualGraphEvent.getNewSplitEdge2()
          If the event is an edgesplit event, this method will return the second of the two newly introduced edges that replace the original split edge.
 VisualEdge VisualGraphEvent.getOldEdge1()
          If the event is an nodedelete-edge-cascade-event, this method will return the firstof the two previous edges that were replaced the new cascaded edge.
 VisualEdge VisualGraphEvent.getOldEdge2()
          If the event is an nodedelete-edge-cascade-event, this method will return the second of the two previous edges that were replaced the new cascaded edge.
 VisualEdge VisualEdgeEvent.getVisualEdge()
          Returns the VisualEdge that is associated with the event.
 

Constructors in com.tensegrity.graph.event with parameters of type VisualEdge
VisualGraphEvent(int eventid, VisualGraph visualgraph, VisualEdge visualedge, long visualedgeid)
          Constructs a new VisualGraphEvent.
VisualGraphEvent(int eventid, VisualSubgraph visualsubgraph, VisualEdge visualedge, long visualedgeid)
          Constructs a new VisualGraphEvent.
VisualGraphEvent(int eventid, VisualGraph visualgraph, VisualSubgraph visualsubgraph, VisualNode visualnode, VisualEdge visualedge, long visualnodeid, long visualedgeid, VisualEdge newedge1, VisualEdge newedge2)
          Constructs a new VisualGraphEvent.
VisualGraphEvent(int eventid, VisualGraph visualgraph, VisualSubgraph visualsubgraph, long vnID, VisualNode vn, long veID, VisualEdge ve, VisualGraphObjectContainer veVGOC, VisualEdge veIn, VisualGraphObjectContainer veInVGOC, VisualEdge veOut, VisualGraphObjectContainer veOutVGOC)
           
VisualEdgeEvent(int id, VisualGraph visualgraph, VisualEdge visualedge)
          Constructs a new VisualEdgeEvent instance.
VisualEdgeEvent(int id, VisualSubgraph visualsubgraph, VisualEdge visualedge)
          Constructs a new VisualEdgeEvent instance.
 

Uses of VisualEdge in com.tensegrity.graph.layout
 

Methods in com.tensegrity.graph.layout with parameters of type VisualEdge
 void GraphLayoutService.internalRegisterEdge(VisualEdge vedge)
          This method registered the given edge at the associated edge-layout to ensure its proper use.
 void GraphLayoutService.internalLoadEdgePoints(VisualEdge vedge)
          This method reads the preferred edge coordinates for recovering the preferred edge path. the original coordinates are stored in the layout-attributes of the edges.
 

Uses of VisualEdge in com.tensegrity.graph.persistence
 

Methods in com.tensegrity.graph.persistence with parameters of type VisualEdge
 void ViewBuilderFilter.afterVisualEdgeBuild(AttributeList attributes, VisualEdge visualedge)
           This method is called by the API after a VisualEdge has been loaded and an instance has been created.
 void ViewBuilderFilter.afterIsolatedVisualEdgeBuild(AttributeList attributes, VisualEdge visualedge)
           This method is called by the API after an isolated VisualEdge has been loaded and an instance has been created.
abstract  Serializer GraphViewPersistenceFactory.newVisualEdgeSerializer(VisualEdge edge, com.tensegrity.graph.defaultview.InternalIDPool poolIDs)
           
 void ViewSerializerFilter.beforeVisualEdgeSerialize(VisualEdge visualedge)
          This method is called by the persistence API before the VisualEdge given by visualedge is serialized.
 void ViewSerializerFilter.afterVisualEdgeSerialize(VisualEdge visualedge, AttributeList attributes)
           This method is called by the persistence API after a VisualEdge has been serialized and the corresponding AttributeList has been generated.
 void ViewSerializerFilter.beforeIsolatedVisualEdgeSerialize(VisualEdge visualedge)
           
 void ViewSerializerFilter.afterIsolatedVisualEdgeSerialize(VisualEdge visualedge, AttributeList attributes)
           
 

Uses of VisualEdge in com.tensegrity.graph.rule
 

Methods in com.tensegrity.graph.rule with parameters of type VisualEdge
static boolean RuleChecks.checkEdgeRuleForDetachSource(RuleConfiguration config, VisualGraph visualgraph, VisualEdge visualedge)
          Identifies whether the given VisualEdge allows source deattachments.
static boolean RuleChecks.checkEdgeRuleForDetachTarget(RuleConfiguration config, VisualGraph visualgraph, VisualEdge visualedge)
          Identifies whether the given VisualEdge allows target deattachments.
static int RuleChecks.checkEdgeRuleForEdgeInsertMode(RuleConfiguration config, VisualGraph visualgraph, VisualEdge visualedge)
          Identifies the edge-insert mode of the given VisualEdge.
static int RuleChecks.checkEdgeRuleForSnapToPortDistance(RuleConfiguration config, VisualGraph visualgraph, VisualEdge visualedge)
          Identifies the snap-to-port distance value of the given VisualEdge.
 

Uses of VisualEdge in com.tensegrity.graph.view
 

Methods in com.tensegrity.graph.view that return VisualEdge
static VisualEdge VisualGraphOperations.createVisualEdge(VisualGraphView visualgraphview, VisualNode sourceNode, VisualPort sourcePort, VisualNode targetNode, VisualPort targetPort)
          Creates a VisualEdge between the VisualNodes given by sourceNode and targetNode.
static VisualEdge VisualGraphOperations.createVisualEdge(CompositeHierarchy hierarchy, VisualGraphView visualgraphview, VisualNode sourceNode, VisualPort sourcePort, VisualNode targetNode, VisualPort targetPort)
          Creates a VisualEdge between the VisualNodes given by sourceNode and targetNode.
 VisualEdge[] VisualGraphView.splitEdge(VisualEdge visualedge, VisualNode visualnode)
          Splits the given VisualEdge with the given VisualNode.
 VisualEdge VisualGraphView.createCrossVisualEdge(VisualNode sourcenode, VisualNode targetnode)
          Adds a cross edge between two given VisualNodes.
 VisualEdge VisualGraphView.createCrossVisualEdge(VisualEdge visualedge, VisualNode sourcenode, VisualNode targetnode)
           
 VisualEdge VisualEdge.deepCopy(Edge edge, VisualNode visualsource, VisualNode visualtarget, VisualPort visualsourceport, VisualPort visualtargetport)
          Makes a deep independant copy of a VisualEdge.
 VisualEdge VisualGraphObjectContainer.getVisualEdgeByID(long id)
          Returns a VisualEdge by ID or null if no VisualEdge instance with the given ID is added to this VisualGraphObjectContainer.
 VisualEdge VisualGraphObjectContainer.getIsolatedVisualEdgeByID(long id)
          Returns an isolated VisualEdge by ID or null if no VisualEdge instance with the given ID is added to this VisualGraphObjectContainer.
 VisualEdge VisualEdgeComposite.getVisualEdge()
          Returns the VisualEdge the VisualEdgeComposite is assigned to.
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode source, VisualNode target)
          Creates a new VisualEdge associated with the given model edge.
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode visualsource, VisualNode visualtarget, VisualEdgeInfo info)
          Constructs and returns a VisualEdge object.
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode visualsource, VisualNode visualtarget, CompositeLine composite)
          Constructs and returns a VisualEdge object.
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode source, VisualNode target, VisualEdgeInfo info, CompositeLine composite)
          Constructs and returns a VisualEdge object.
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode visualsource, VisualNode visualtarget, VisualPort visualsourceport, VisualPort visualtargetport, VisualEdgeInfo info)
           
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode visualsource, VisualNode visualtarget, VisualPort visualsourceport, VisualPort visualtargetport, CompositeLine composite)
           
abstract  VisualEdge GraphViewFactory.newVisualEdge(Edge edge, VisualNode visualsource, VisualNode visualtarget, VisualPort visualsourceport, VisualPort visualtargetport, VisualEdgeInfo info, CompositeLine composite)
           
 

Methods in com.tensegrity.graph.view with parameters of type VisualEdge
static int VisualGraphOperations.findSnapToPortDistance(VisualEdge vEdge, VisualGraphView vgv)
          Determines the used snap to port distance for the given visual edge in the visualgraphview of this SwingGraphPanel
 VisualEdge[] VisualGraphView.splitEdge(VisualEdge visualedge, VisualNode visualnode)
          Splits the given VisualEdge with the given VisualNode.
 VisualEdge VisualGraphView.createCrossVisualEdge(VisualEdge visualedge, VisualNode sourcenode, VisualNode targetnode)
           
 VisualNode VisualGraphView.resolveVisualSource(VisualEdge visualedge)
          For internal use only.
 VisualPort VisualGraphView.resolveVisualSourcePort(VisualEdge visualedge)
          For internal use only.
 VisualNode VisualGraphView.resolveVisualTarget(VisualEdge visualedge)
          For internal use only.
 VisualPort VisualGraphView.resolveVisualTargetPort(VisualEdge visualedge)
          For internal use only.
 boolean InteractionControlAdapter.preDragVisualEdge(VisualGraph visualgraph, VisualEdge visualedge)
           
 boolean InteractionControlAdapter.preDetachSource(VisualGraph visualgraph, VisualEdge visualedge)
           
 boolean InteractionControlAdapter.preDetachTarget(VisualGraph visualgraph, VisualEdge visualedge)
           
 boolean InteractionControlAdapter.preAttachSource(VisualGraph visualgraph, VisualEdge visualedge, VisualPort newport)
           
 boolean InteractionControlAdapter.preAttachTarget(VisualGraph visualgraph, VisualEdge visualedge, VisualPort newport)
           
static void VisualOperations.makeStraightLine(VisualEdge visualedge)
          Turns the given VisualEdge into a straight line by deleting additional points.
static void VisualOperations.makeOrthogonalVerticalLine(VisualGraphView visualgraphview, VisualEdge visualedge)
          Turns the given VisualEdges into an vertical orthogonal line.
static void VisualOperations.makeOrthogonalHorizontalLine(VisualGraphView visualgraphview, VisualEdge visualedge)
          Turns the given VisualEdge objects into an horizontal orthogonal line.
static void VisualOperations.convertCoordinates(VisualEdge visualedge, Transform2D transform)
          Converts all the coordinates of the given VisualEdge by the given transformation.
 void VisualGraphObjectContainer.addVisualEdge(VisualEdge visualedge)
          Adds a the given VisualEdge object to this VisualGraphObjectContainer.
 void VisualGraphObjectContainer.removeVisualEdge(VisualEdge visualedge)
          Removes the given VisualEdge object from this VisualGraphObjectContainer.
 void VisualGraphObjectContainer.addIsolatedVisualEdge(VisualEdge visualedge)
          Adds a the given VisualEdge object as an isolated edge to this VisualGraphObjectContainer.
 void VisualGraphObjectContainer.removeIsolatedVisualEdge(VisualEdge visualedge)
          Removes the given isolated VisualEdge object from this VisualGraphObjectContainer.
 void VisualGraphObjectContainer.specificPortReassignmentVisualEdgeSource(VisualEdge visualedge, VisualPortAssignmentPredicate predicate)
          Reassigns the source end of a single edge to the desired port match.
 void VisualGraphObjectContainer.specificPortReassignmentVisualEdgeTarget(VisualEdge visualedge, VisualPortAssignmentPredicate predicate)
          Reassigns the target end of a single edge to the desired port match.
 void VisualGraphObjectContainer.specificPortReassignmentVisualEdge(VisualEdge visualedge, VisualPortAssignmentPredicate predicateSource, VisualPortAssignmentPredicate predicateTarget)
          Reassigns all connected ports of a single edge to the desired port match.
 void VisualGraphObjectContainer.specificPortReassignmentVisualEdge(VisualEdge visualedge, VisualPortAssignmentPredicate predicate)
          Reassigns all connected ports of a single edge to the desired port match.
 boolean VisualPort.isRegistered(VisualEdge visualedge)
          Checks whether the given VisualEdge is registered at this port.
 VisualEdgeComposite VisualEdgeComposite.deepCopyProxy(VisualEdge visualedge)
          Returns a new instance of a VisualEdgeComposite which is an exact copy of this instance except that it is assigned to another VisualEdge.
abstract  VisualPort VisualPortAssignmentPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
          This is the predicate method an implementer of this specification must provide.
 VisualPort VisualPortAssignmentPredicate.IdPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.CenterBothPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.TopToBottomPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.BottomToTopPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.LeftToRightPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.RightToLeftPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.AnglePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.DirectionPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.ConstrainedDirectionPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.RestrictedDirectionPredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.ShortestDistancePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.ConstrainedShortestDistancePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.DenotationNamePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.ConstrainedDenotationNamePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.SubgraphInnerNodeDenotationNamePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.SubgraphDeepestNodeShortestDistancePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 VisualPort VisualPortAssignmentPredicate.SubgraphDeepestNodeDenotationNamePredicate.apply(VisualGraph visualgraph, VisualEdge visualedge, VisualNode visualnode, VisualPort visualport, boolean isSource)
           
 boolean InteractionControl.preDragVisualEdge(VisualGraph visualgraph, VisualEdge visualedge)
          This method is invoked as a callback before a VisualEdge is dragged.
 boolean InteractionControl.preDetachSource(VisualGraph visualgraph, VisualEdge visualedge)
          This method is invoked as a callback before the source-end of VisualEdge is detached.
 boolean InteractionControl.preDetachTarget(VisualGraph visualgraph, VisualEdge visualedge)
          This method is invoked as a callback before the target-end of VisualEdge is detached.
 boolean InteractionControl.preAttachSource(VisualGraph visualgraph, VisualEdge visualedge, VisualPort newport)
          This method is invoked as a callback before the source-end of VisualEdge is attached.
 boolean InteractionControl.preAttachTarget(VisualGraph visualgraph, VisualEdge visualedge, VisualPort newport)
          This method is invoked as a callback before the target-end of VisualEdge is attached.
 

Uses of VisualEdge in com.tensegrity.gui.graphdocument
 

Methods in com.tensegrity.gui.graphdocument with parameters of type VisualEdge
static void GraphPanelDnDGeometryAdjustmentUtil.adjustGeometry(VisualGraphView vgv, VisualEdge ve)
          Adjusts the geometry of the given VisualEdge object to the coordinate system of the given VisualGraphView object.
 

Uses of VisualEdge in com.tensegrity.gui.swing.control.tree.strategy
 

Methods in com.tensegrity.gui.swing.control.tree.strategy with parameters of type VisualEdge
protected  void DefaultVisualGraphTreeStrategy.visualEdgeAddedToVisualgraph(VisualGraph vgv, VisualEdge ve)
           Routine used when a VisualEdge is added to a VisualGraph.
protected  void DefaultVisualGraphTreeStrategy.visualEdgeAddedToSubgraph(VisualSubgraph vsg, VisualEdge ve)
           Routine used when a VisualEdge is added to a VisualSubgraph.
protected  void DefaultVisualGraphTreeStrategy.isolatedVisualEdgeAddedToVisualgraph(VisualGraph vgv, VisualEdge ve)
           Routine used when an isolated VisualEdge is added to a VisualGraph.
protected  void DefaultVisualGraphTreeStrategy.isolatedVisualEdgeAddedToSubgraph(VisualSubgraph vsg, VisualEdge ve)
           Routine used when an isolated VisualEdge is added to a VisualSubgraph.
 

Uses of VisualEdge in com.tensegrity.gui.swing.graph
 

Methods in com.tensegrity.gui.swing.graph that return VisualEdge
 VisualEdge SwingGraphPanel.getDeepestVisualEdgeAt(int x, int y)
          Returns the deepest VisualEdge at the coordinate given by x and y that can be found in the hierarchy.
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.