|
|||||||||
| 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.JDRectangle
public class JDRectangle
JDraw Rectangle graphic object.
Here is an example of few JDRectangle:
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JDRectangle(java.lang.String objectName,
int x,
int y,
int w,
int h)
Contructs a JDRectangle. |
|
| 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. |
boolean |
isInsideObject(int x,
int y)
Determines whether the specified point is inside this object. |
| 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 JDRectangle(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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||