org.jgraph.graph.VertexView.SizeHandle Class Reference

Inheritance diagram for org.jgraph.graph.VertexView.SizeHandle:

org.jgraph.graph.CellHandle List of all members.

Public Member Functions

 SizeHandle (VertexView vertexview, GraphContext ctx)
boolean isConstrainedSizeEvent (MouseEvent e)
void paint (Graphics g)
void overlay (Graphics g)
void mouseMoved (MouseEvent event)
void mousePressed (MouseEvent event)
void mouseDragged (MouseEvent event)
void mouseReleased (MouseEvent e)

Public Attributes

transient int[] cursors = null

Protected Member Functions

void initOffscreen ()
Rectangle2D computeBounds (MouseEvent event)
void invalidate ()

Protected Attributes

transient Image offscreen
transient Graphics offgraphics
transient boolean firstDrag = true
transient JGraph graph
transient VertexView vertex
transient CellView[] portViews
transient Rectangle2D cachedBounds
transient GraphContext context
transient Rectangle2D initialBounds
transient CellView[] contextViews
transient int index = -1
transient Rectangle2D[] r = new Rectangle2D[8]
boolean firstOverlayInvocation = true
boolean editing = false

Constructor & Destructor Documentation

org.jgraph.graph.VertexView.SizeHandle.SizeHandle VertexView  vertexview,
GraphContext  ctx
 


Member Function Documentation

Rectangle2D org.jgraph.graph.VertexView.SizeHandle.computeBounds MouseEvent  event  )  [protected]
 

void org.jgraph.graph.VertexView.SizeHandle.initOffscreen  )  [protected]
 

void org.jgraph.graph.VertexView.SizeHandle.invalidate  )  [protected]
 

boolean org.jgraph.graph.VertexView.SizeHandle.isConstrainedSizeEvent MouseEvent  e  ) 
 

void org.jgraph.graph.VertexView.SizeHandle.mouseDragged MouseEvent  event  ) 
 

Process mouse dragged manas.event.

Implements org.jgraph.graph.CellHandle.

void org.jgraph.graph.VertexView.SizeHandle.mouseMoved MouseEvent  event  ) 
 

Invoked when the mouse pointer has been moved on a component (with no buttons down).

Implements org.jgraph.graph.CellHandle.

void org.jgraph.graph.VertexView.SizeHandle.mousePressed MouseEvent  event  ) 
 

Process mouse pressed manas.event.

Implements org.jgraph.graph.CellHandle.

void org.jgraph.graph.VertexView.SizeHandle.mouseReleased MouseEvent  e  ) 
 

Messaged when the drag operation has terminated with a drop.

Parameters:
event the drop manas.event to be processed

Implements org.jgraph.graph.CellHandle.

void org.jgraph.graph.VertexView.SizeHandle.overlay Graphics  g  ) 
 

Paint the handle on the given graphics object during mouse operations.

Parameters:
g the graphics object to paint the handle on

Implements org.jgraph.graph.CellHandle.

void org.jgraph.graph.VertexView.SizeHandle.paint Graphics  g  ) 
 

Paint the handle on the given graphics object once.

Parameters:
g the graphics object to paint the handle on

Implements org.jgraph.graph.CellHandle.


Member Data Documentation

transient Rectangle2D org.jgraph.graph.VertexView.SizeHandle.cachedBounds [protected]
 

transient GraphContext org.jgraph.graph.VertexView.SizeHandle.context [protected]
 

transient CellView [] org.jgraph.graph.VertexView.SizeHandle.contextViews [protected]
 

transient int [] org.jgraph.graph.VertexView.SizeHandle.cursors = null
 

Array that holds the cursors for the different control points.

boolean org.jgraph.graph.VertexView.SizeHandle.editing = false [protected]
 

True if the cell is being edited.

transient boolean org.jgraph.graph.VertexView.SizeHandle.firstDrag = true [protected]
 

boolean org.jgraph.graph.VertexView.SizeHandle.firstOverlayInvocation = true [protected]
 

transient JGraph org.jgraph.graph.VertexView.SizeHandle.graph [protected]
 

transient int org.jgraph.graph.VertexView.SizeHandle.index = -1 [protected]
 

transient Rectangle2D org.jgraph.graph.VertexView.SizeHandle.initialBounds [protected]
 

transient Graphics org.jgraph.graph.VertexView.SizeHandle.offgraphics [protected]
 

transient Image org.jgraph.graph.VertexView.SizeHandle.offscreen [protected]
 

transient CellView [] org.jgraph.graph.VertexView.SizeHandle.portViews [protected]
 

transient Rectangle2D [] org.jgraph.graph.VertexView.SizeHandle.r = new Rectangle2D[8] [protected]
 

transient VertexView org.jgraph.graph.VertexView.SizeHandle.vertex [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 19:13:17 2006 for Digimod by  doxygen 1.4.6-NO