|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigCircle
public class FigCircle
Primitive Fig for displaying circles and ovals.
| Field Summary | |
|---|---|
protected boolean |
_isDashed
|
static double |
CIRCLE_ADJUST_RADIUS
Used as a percentage tolerance for making it easier for the user to select a hollow circle with the mouse. |
| Fields inherited from class org.tigris.gef.presentation.Fig |
|---|
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
| Constructor Summary | |
|---|---|
FigCircle(int x,
int y,
int w,
int h)
Construct a new FigCircle with the given position, size, and attributes. |
|
FigCircle(int x,
int y,
int w,
int h,
boolean resizable)
Construct a new FigCircle w/ the given position and size. |
|
FigCircle(int x,
int y,
int w,
int h,
boolean resizable,
java.awt.Color lColor,
java.awt.Color fColor)
Construct a new FigCircle w/ the given position, size, line color, and fill color. |
|
FigCircle(int x,
int y,
int w,
int h,
java.awt.Color lColor,
java.awt.Color fColor)
Construct a new FigCircle with the given position, size, line color, and fill color |
|
| Method Summary | |
|---|---|
java.awt.Point |
connectionPoint(java.awt.Point anotherPt)
Calculate border point of elipse |
boolean |
contains(int x,
int y)
Reply true if the given coordinates are inside the circle. |
void |
paint(java.awt.Graphics g)
Draw this FigCircle. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double CIRCLE_ADJUST_RADIUS
protected boolean _isDashed
| Constructor Detail |
|---|
public FigCircle(int x,
int y,
int w,
int h)
public FigCircle(int x,
int y,
int w,
int h,
java.awt.Color lColor,
java.awt.Color fColor)
public FigCircle(int x,
int y,
int w,
int h,
boolean resizable)
public FigCircle(int x,
int y,
int w,
int h,
boolean resizable,
java.awt.Color lColor,
java.awt.Color fColor)
| Method Detail |
|---|
public void paint(java.awt.Graphics g)
paint in class Fig
public boolean contains(int x,
int y)
contains in class FigFigCircle,
FigEdgepublic java.awt.Point connectionPoint(java.awt.Point anotherPt)
connectionPoint in class Fig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||