Together Workflow Editor 3.0-1 API

org.enhydra.jawe.components.graph
Class JaWEGraphUI.PERootHandle

java.lang.Object
  extended by org.jgraph.plaf.basic.BasicGraphUI.RootHandle
      extended by org.enhydra.jawe.components.graph.JaWEGraphUI.PERootHandle
All Implemented Interfaces:
java.io.Serializable, org.jgraph.graph.CellHandle
Enclosing class:
JaWEGraphUI

public class JaWEGraphUI.PERootHandle
extends org.jgraph.plaf.basic.BasicGraphUI.RootHandle

Manages selection movement. It is adapted to suport proper undo in coordination with WorkflowManager class.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
_mouseToViewDelta_x, _mouseToViewDelta_y, activeHandle, blockPaint, cachedBounds, context, contextViews, disconnect, firstDrag, handles, ignoreTargetGroup, initialLocation, isContextVisible, isDragging, isMoving, last, offgraphics, offscreen, portViews, snapLast, snapStart, start, targetGroup, views
 
Constructor Summary
JaWEGraphUI.PERootHandle(org.jgraph.graph.GraphContext ctx)
          Creates a root handle which contains handles for the given cells.
 
Method Summary
protected  java.awt.geom.Point2D getInitialLocation(java.lang.Object[] cells)
           
 void mouseReleased(java.awt.event.MouseEvent event)
           
 
Methods inherited from class org.jgraph.plaf.basic.BasicGraphUI.RootHandle
findUnselectedInnermostGroup, findViewForPoint, getContext, getFirstOpaqueParent, initOffscreen, mouseDragged, mouseMoved, mousePressed, overlay, paint, startDragging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaWEGraphUI.PERootHandle

public JaWEGraphUI.PERootHandle(org.jgraph.graph.GraphContext ctx)
Creates a root handle which contains handles for the given cells. The root handle and all its childs point to the specified JGraph instance. The root handle is responsible for dragging the selection.

Method Detail

getInitialLocation

protected java.awt.geom.Point2D getInitialLocation(java.lang.Object[] cells)
Overrides:
getInitialLocation in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent event)
Specified by:
mouseReleased in interface org.jgraph.graph.CellHandle
Overrides:
mouseReleased in class org.jgraph.plaf.basic.BasicGraphUI.RootHandle

Together Workflow Editor 3.0-1 API