manas.GGates.MyView Class Reference

Inheritance diagram for manas.GGates.MyView:

org.jgraph.graph.AbstractCellView org.jgraph.graph.CellView List of all members.

Public Member Functions

 MyView ()
 MyView (Object arg0)
CellViewRenderer getRenderer ()
CellHandle getHandle (GraphContext context)
Point2D getPerimeterPoint (EdgeView edge, Point2D source, Point2D p)

Static Protected Attributes

static MyRenderer renderer = new MyRenderer()

Classes

class  MyRenderer

Detailed Description

User defined cell view.


Constructor & Destructor Documentation

manas.GGates.MyView.MyView  ) 
 

manas.GGates.MyView.MyView Object  arg0  ) 
 


Member Function Documentation

CellHandle manas.GGates.MyView.getHandle GraphContext  context  )  [virtual]
 

Returns a cell handle for the view.

Parameters:
context the context of this cell view (cells indirectly affected by it)
Returns:
the cell handle for this view

Implements org.jgraph.graph.AbstractCellView.

Point2D manas.GGates.MyView.getPerimeterPoint EdgeView  edge,
Point2D  source,
Point2D  p
 

Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p. The specified point is expected not to intersect the bounds. Note: You must override this method if you use a different renderer. This is because this method relies on the VertexRenderer interface, which can not be safely assumed for subclassers.

Reimplemented from org.jgraph.graph.AbstractCellView.

CellViewRenderer manas.GGates.MyView.getRenderer  )  [virtual]
 

Obtains the renderer instance for this view

Returns:
the renderer instance for this view

Implements org.jgraph.graph.AbstractCellView.


Member Data Documentation

MyRenderer manas.GGates.MyView.renderer = new MyRenderer() [static, protected]
 


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