|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.esrf.tangoatk.widget.util.jdraw.JDObject
fr.esrf.tangoatk.widget.util.jdraw.JDRectangular
fr.esrf.tangoatk.widget.util.jdraw.JDRoundRectangle
public class JDRoundRectangle
JDraw Rectangle graphic object.
Here is an example of few JDRoundRectangle:
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JDRoundRectangle(java.lang.String objectName,
int x,
int y,
int w,
int h)
Contructs a JDRoundRectangle. |
|
| Method Summary | |
|---|---|
JDPolyline |
convertToPolyline()
Convert this object to a JDPolyline |
JDObject |
copy(int x,
int y)
Returns a copy of this object at the specified location. |
int |
getCornerWidth()
Returns the rouded corner width. |
int |
getStep()
Returns the interpolation of rounded corner. |
boolean |
isInsideObject(int x,
int y)
Determines whether the specified point is inside this object. |
void |
setCornerWidth(int w)
Sets the rounded corner width. |
void |
setStep(int s)
Sets the interpolation step of the rounded corner. |
| Methods inherited from class fr.esrf.tangoatk.widget.util.jdraw.JDRectangular |
|---|
moveSummit, paint, rotate90 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDRoundRectangle(java.lang.String objectName,
int x,
int y,
int w,
int h)
objectName - Object namex - Up left corner x coordinatey - Up left corner y coordinatew - Rectangle widthh - Rectangle height| Method Detail |
|---|
public JDObject copy(int x,
int y)
JDObject
copy in class JDObjectx - Horizontal position of the copied object (pixel)y - Vertical Position of the copied object (pixel)
public boolean isInsideObject(int x,
int y)
JDObject
isInsideObject in class JDObjectx - X coordinate (pixel)y - Y coordinate (pixel)public JDPolyline convertToPolyline()
public int getStep()
setStep(int)public void setStep(int s)
s - Interpolation steppublic int getCornerWidth()
setCornerWidth(int)public void setCornerWidth(int w)
w - Corner width
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||