org.concord.biologica.ui
Class CellArc

java.lang.Object
  |
  +--org.concord.biologica.ui.CellArc

public final class CellArc
extends java.lang.Object

CellArc has the information necessary to draw an arc to represent a portion of a cell boundary. This is used by the MeiosisModel code to help views paint the cell boundary during meiosis.

Version:
$Revision: 1.1.1.1 $ $Date: 2001/04/28 00:39:17 $
Author:
$Author: ed $

Constructor Summary
CellArc(int xLeft, int yTop, int width, int height, int startAngle, int spanAngle)
          Create a new CellArc
 
Method Summary
 boolean contains(int x, int y)
           
 boolean contains(java.awt.Rectangle r)
           
 int getHeight()
          Return height
 int getSpanAngle()
          Return span angle, using the same definition as is used in java.awt.Graphics.drawArc().
 int getStartAngle()
          Return start angle
 int getWidth()
          Return width
 int getXLeft()
          Return xLeft
 int getYTop()
          Return yTop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellArc

public CellArc(int xLeft,
               int yTop,
               int width,
               int height,
               int startAngle,
               int spanAngle)
Create a new CellArc
Method Detail

contains

public boolean contains(int x,
                        int y)

contains

public boolean contains(java.awt.Rectangle r)

getXLeft

public int getXLeft()
Return xLeft

getYTop

public int getYTop()
Return yTop

getWidth

public int getWidth()
Return width

getHeight

public int getHeight()
Return height

getStartAngle

public int getStartAngle()
Return start angle

getSpanAngle

public int getSpanAngle()
Return span angle, using the same definition as is used in java.awt.Graphics.drawArc().