JGraphAddons
v1.0


org.jgraph.cellview
Class JGraphEllipseView

java.lang.Object
  |
  +--VertexView
        |
        +--org.jgraph.cellview.JGraphEllipseView

public class JGraphEllipseView
extends VertexView

See Also:
Serialized Form

Nested Class Summary
static class JGraphEllipseView.JGraphEllipseRenderer
           
 
Field Summary
static JGraphEllipseView.JGraphEllipseRenderer renderer
           
 
Constructor Summary
JGraphEllipseView(Object cell, JGraph graph, CellMapper cm)
           
 
Method Summary
 Point2D getPerimeterPoint(Point2D source, Point2D p)
          Returns the intersection of the bounding rectangle and the straight line between the source and the specified point p.
 CellViewRenderer getRenderer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderer

public static JGraphEllipseView.JGraphEllipseRenderer renderer
Constructor Detail

JGraphEllipseView

public JGraphEllipseView(Object cell,
                         JGraph graph,
                         CellMapper cm)
Method Detail

getPerimeterPoint

public Point2D getPerimeterPoint(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.


getRenderer

public CellViewRenderer getRenderer()
Returns:

JGraphAddons
v1.0


Copyright (C) 2003-2004 Gaudenz Alder. All rights reserved.