|
|||||||||
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.PPrimRectangle
public class PPrimRectangle
Field Summary | |
---|---|
boolean |
allowColorBrushing
allow color brushing? |
boolean |
drawBorder
|
boolean |
filled
whether the rectangle should be filled |
protected int |
orientation
|
java.awt.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,
java.awt.Rectangle r,
java.awt.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,
java.awt.Color fillColor,
java.awt.Color borderColor)
|
protected void |
drawRect(PoGraSS g,
java.awt.Rectangle r,
java.awt.Color fillColor,
java.awt.Color borderColor)
|
int |
getMINHEIGHT()
|
int |
getMINWIDTH()
|
int |
getOrientation()
|
boolean |
intersects(java.awt.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)
|
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 java.awt.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(java.awt.Rectangle rt)
public void paint(PoGraSS g, int orientation, SMarker m)
public void paintSelected(PoGraSS g, int orientation, SMarker m)
PlotPrimitive
public java.lang.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, java.awt.Rectangle r, java.awt.Color borderColor)
protected void drawRect(PoGraSS g, java.awt.Rectangle r, java.awt.Color fillColor, java.awt.Color borderColor)
protected void drawRect(PoGraSS g, int rX, int rY, int rW, int rH, java.awt.Color fillColor, java.awt.Color borderColor)
protected boolean isBrushed(SMarker m)
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 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 |