|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Position
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
Specifies the position of a report element, relative to the ReportElementContainer it
is in. For all values, the unity from Unit.getUnit() is used. For coordinates, the 0-point
is at the top-left.
+--------------------------------+ | ^ | | | y | | v | | x +-------------+ | |<----->| | | | +-------------+ | | | +--------------------------------+
All positions are exactly as in Structure Mode in the Web Intelligence Java Report Panel (applet).
Note that the behaviour of these methods changes when attached to another report element, see
Attachable for details.
| Method Summary | |
|---|---|
double |
getX()
Returns the distance at the left to the parent ReportElementContainer's
beginning. |
double |
getY()
Returns the distance at the top to the parent ReportElementContainer's
beginning. |
void |
setLocation(double x,
double y)
Changes the position to the new coordinates. |
void |
setX(double x)
Changes the distance at the left to the parent ReportElementContainer. |
void |
setY(double y)
Changes the distance at the top to the parent ReportElementContainer. |
| Methods inherited from interface com.businessobjects.rebean.wi.Unit |
|---|
getUnit, setUnit |
| Method Detail |
|---|
double getX()
ReportElementContainer's
beginning.
void setX(double x)
ReportElementContainer.
x - the x distance
java.lang.IllegalArgumentException - when x < 0double getY()
ReportElementContainer's
beginning.
void setY(double y)
ReportElementContainer.
y - the y distance
java.lang.IllegalArgumentException - when y < 0
void setLocation(double x,
double y)
x - the new x coordinatey - the new y coordinate
java.lang.IllegalArgumentException - when x < 0 || y < 0
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||