TWE 2.4-1 API

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

java.lang.Object
  extended byorg.jgraph.plaf.basic.BasicGraphUI.RootHandle
      extended byorg.enhydra.jawe.components.graph.JaWEGraphUI.PERootHandle
All Implemented Interfaces:
org.jgraph.graph.CellHandle, java.io.Serializable
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)

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent event)

TWE 2.4-1 API