org.jgraph.graph.CellHandle Interface Reference

Inheritance diagram for org.jgraph.graph.CellHandle:

org.jgraph.graph.EdgeView.EdgeHandle org.jgraph.graph.VertexView.SizeHandle org.jgraph.plaf.basic.BasicGraphUI.RootHandle manas.event.MyEdgeHandle manas.gui.DesignPanel.MyEdgeHandle List of all members.

Public Member Functions

void paint (Graphics g)
void overlay (Graphics g)
void mouseMoved (MouseEvent event)
void mousePressed (MouseEvent event)
void mouseDragged (MouseEvent event)
void mouseReleased (MouseEvent event)

Detailed Description

Defines the requirements for objects that may be used as handles. Handles are used to interactively manipulate a cell's appearance.

Version:
1.0 1/1/02
Author:
Gaudenz Alder


Member Function Documentation

void org.jgraph.graph.CellHandle.mouseDragged MouseEvent  event  ) 
 

Messaged when the user drags the selection. The Controller is responsible to determine whether the mouse is inside the parent graph or not.

Parameters:
event the drag manas.event to be processed

Implemented in org.jgraph.graph.EdgeView.EdgeHandle, org.jgraph.graph.VertexView.SizeHandle, and org.jgraph.plaf.basic.BasicGraphUI.RootHandle.

void org.jgraph.graph.CellHandle.mouseMoved MouseEvent  event  ) 
 

Messaged when the mouse is moved.

Parameters:
event the mouse manas.event to be processed

Implemented in org.jgraph.graph.EdgeView.EdgeHandle, org.jgraph.graph.VertexView.SizeHandle, and org.jgraph.plaf.basic.BasicGraphUI.RootHandle.

void org.jgraph.graph.CellHandle.mousePressed MouseEvent  event  ) 
 

Messaged when a mouse button is pressed.

Parameters:
event the mouse manas.event to be processed

Implemented in org.jgraph.graph.EdgeView.EdgeHandle, org.jgraph.graph.VertexView.SizeHandle, and org.jgraph.plaf.basic.BasicGraphUI.RootHandle.

void org.jgraph.graph.CellHandle.mouseReleased MouseEvent  event  ) 
 

Messaged when the drag operation has terminated with a drop.

Parameters:
event the drop manas.event to be processed

Implemented in org.jgraph.graph.EdgeView.EdgeHandle, org.jgraph.graph.VertexView.SizeHandle, and org.jgraph.plaf.basic.BasicGraphUI.RootHandle.

void org.jgraph.graph.CellHandle.overlay Graphics  g  ) 
 

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

Parameters:
g the graphics object to paint the handle on

Implemented in org.jgraph.graph.EdgeView.EdgeHandle, org.jgraph.graph.VertexView.SizeHandle, and org.jgraph.plaf.basic.BasicGraphUI.RootHandle.

void org.jgraph.graph.CellHandle.paint Graphics  g  ) 
 

Paint the handle on the given graphics object once.

Parameters:
g the graphics object to paint the handle on

Implemented in org.jgraph.graph.EdgeView.EdgeHandle, org.jgraph.graph.VertexView.SizeHandle, and org.jgraph.plaf.basic.BasicGraphUI.RootHandle.


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