|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.ibase.toolkit.PPrimBase
org.rosuda.ibase.toolkit.PPrimRectangle
public class PPrimRectangle
| Field Summary | |
|---|---|
boolean |
allowColorBrushing
allow color brushing? |
boolean |
drawBorder
|
boolean |
filled
whether the rectangle should be filled |
protected int |
orientation
|
Rectangle |
r
|
| Fields inherited from class org.rosuda.ibase.toolkit.PPrimBase |
|---|
borderColor, borderColorSel, col, COL_OUTLINE, dragging, fillColor, fillColorDrag, fillColorSel, performAlphaBlending, queryable, ref, visible |
| Constructor Summary | |
|---|---|
PPrimRectangle()
|
|
PPrimRectangle(int or)
|
|
| Method Summary | |
|---|---|
protected void |
brushRect(PoGraSS g,
SMarker m,
int orientation,
Rectangle r,
Color borderColor)
|
boolean |
contains(int x,
int y)
checks whether the PlotPrimitive contains (or in case of a point primitive equals to) the given point. |
protected void |
drawRect(PoGraSS g,
int rX,
int rY,
int rW,
int rH,
Color fillColor,
Color borderColor)
|
protected void |
drawRect(PoGraSS g,
Rectangle r,
Color fillColor,
Color borderColor)
|
int |
getMINHEIGHT()
|
int |
getMINWIDTH()
|
int |
getOrientation()
|
boolean |
intersects(Rectangle rt)
checks whether the PlotPrimitive intersects (or is contained) in the given rectangle. |
protected boolean |
isBrushed(SMarker m)
|
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 |
void |
paintSelected(PoGraSS g,
int orientation,
SMarker m)
paint the selection |
void |
setBounds(double x,
double y,
double w,
double h)
|
void |
setBounds(int x,
int y,
int w,
int h)
|
void |
setMINHEIGHT(int MINHEIGHT)
|
void |
setMINWIDTH(int MINWIDTH)
|
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 Rectangle r
public boolean drawBorder
public boolean allowColorBrushing
public boolean filled
protected int orientation
| Constructor Detail |
|---|
public PPrimRectangle()
public PPrimRectangle(int or)
| Method Detail |
|---|
public int getOrientation()
public boolean contains(int x,
int y)
public boolean intersects(Rectangle rt)
public void paint(PoGraSS g,
int orientation,
SMarker m)
public void paintSelected(PoGraSS g,
int orientation,
SMarker m)
PlotPrimitive
public String toString()
toString in class PPrimBase
public void setBounds(int x,
int y,
int w,
int h)
public void setBounds(double x,
double y,
double w,
double h)
protected void brushRect(PoGraSS g,
SMarker m,
int orientation,
Rectangle r,
Color borderColor)
protected void drawRect(PoGraSS g,
Rectangle r,
Color fillColor,
Color borderColor)
protected void drawRect(PoGraSS g,
int rX,
int rY,
int rW,
int rH,
Color fillColor,
Color borderColor)
protected boolean isBrushed(SMarker m)
public void move(int x,
int y)
move in class PPrimBasepublic void moveX(int x)
moveX in class PPrimBasepublic void moveY(int y)
moveY in class PPrimBasepublic int getMINHEIGHT()
public void setMINHEIGHT(int MINHEIGHT)
public int getMINWIDTH()
public void setMINWIDTH(int MINWIDTH)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||