|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.ibase.toolkit.PPrimBase org.rosuda.ibase.toolkit.PPrimCircle
public class PPrimCircle
Field Summary | |
---|---|
boolean |
allowColorBrushing
allow color brushing? |
boolean |
brushClockwise
color brush the circle clockwise? |
int |
diam
diameter |
boolean |
drawBorder
whether a border should be drawn |
boolean |
filled
whether the circle should be filled |
boolean |
intersectionByArea
whether intersects(java.awt.Rectangle) and contains(int, int) check for intersection
with the whole circle area (if true) or just with the center point (if
false) |
int |
startArc
the angle to start brushing |
int |
x
x coordinate |
int |
y
y coordinate |
Fields inherited from class org.rosuda.ibase.toolkit.PPrimBase |
---|
borderColor, borderColorSel, col, COL_OUTLINE, dragging, fillColor, fillColorDrag, fillColorSel, performAlphaBlending, queryable, ref, visible |
Constructor Summary | |
---|---|
PPrimCircle()
|
Method Summary | |
---|---|
boolean |
contains(int x,
int y)
checks whether the PlotPrimitive contains (or in case of a point primitive equals to) the given point. |
boolean |
intersects(java.awt.Rectangle rt)
checks whether the PlotPrimitive intersects (or is contained) in the given rectangle. |
void |
move(int x,
int y)
|
void |
moveX(int x)
|
void |
moveY(int y)
|
void |
paint(PoGraSS g,
int orientation,
SMarker m)
paint the primitive (w/o selection) |
void |
paintSelected(PoGraSS g,
int orientation,
SMarker m)
paint the selection |
void |
setDiam(int d)
|
java.lang.String |
toString()
|
Methods inherited from class org.rosuda.ibase.toolkit.PPrimBase |
---|
cases, getCaseIDs, getColor, getMarkedProportion, getMarkedProportion, getPrimaryCase, getPropSize, getRelativeMarkedProportion, hilitcontains, isDragging, isPerformingAlphaBlending, isQueryable, isVisible, representsCase, setCaseIDs, setCaseIDs, setDragging, setMark, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int diam
public boolean filled
public boolean drawBorder
public boolean allowColorBrushing
public boolean brushClockwise
public int startArc
public boolean intersectionByArea
intersects(java.awt.Rectangle)
and contains(int, int)
check for intersection
with the whole circle area (if true) or just with the center point (if
false)
Constructor Detail |
---|
public PPrimCircle()
Method Detail |
---|
public boolean intersects(java.awt.Rectangle rt)
PlotPrimitive
public void paint(PoGraSS g, int orientation, SMarker m)
PlotPrimitive
public void paintSelected(PoGraSS g, int orientation, SMarker m)
PlotPrimitive
public boolean contains(int x, int y)
PlotPrimitive
public java.lang.String toString()
toString
in class PPrimBase
public void move(int x, int y)
move
in class PPrimBase
public void moveX(int x)
moveX
in class PPrimBase
public void moveY(int y)
moveY
in class PPrimBase
public void setDiam(int d)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |