|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.maps.client.control.ControlPosition
public final class ControlPosition
This class described the position of a control in the map view. It consists
of a corner relative to where the control is positioned, and an offset that
determines this position. It can be passed as optional argument position to
the method MapWidget.addControl(Control),
and it is returned from method
Control.CustomControl.getDefaultPosition().
| Constructor Summary | |
|---|---|
ControlPosition(ControlAnchor anchor,
int offsetX,
int offsetY)
Create a new ControlPosition. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControlPosition(ControlAnchor anchor,
int offsetX,
int offsetY)
anchor - specifies which corner of the screen the X and Y offsets are
computed from.offsetX - number of horizontal pixels offset from the corner.offsetY - number of vertical pixels offset from the corner.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||