|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.maps.client.control.Control
com.google.gwt.maps.client.control.Control.CustomControl
public abstract static class Control.CustomControl
This class should be extended to create a custom control type.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.maps.client.control.Control |
---|
Control.CustomControl |
Field Summary |
---|
Fields inherited from class com.google.gwt.maps.client.control.Control |
---|
jsoPeer |
Constructor Summary | |
---|---|
protected |
Control.CustomControl(ControlPosition defaultPosition)
Create a new CustomControl which is not printable or selectable. |
protected |
Control.CustomControl(ControlPosition defaultPosition,
boolean printable,
boolean selectable)
Create a new CustomControl which can be either printable, selectable or both. |
Method Summary | |
---|---|
protected ControlPosition |
getDefaultPosition()
Gets the default position of this control. |
protected abstract com.google.gwt.user.client.ui.Widget |
initialize(MapWidget map)
Initializes this control with the given map. |
abstract boolean |
isSelectable()
Returns to the map if the control contains selectable text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Control.CustomControl(ControlPosition defaultPosition)
defaultPosition
- location of the controls on the map.protected Control.CustomControl(ControlPosition defaultPosition, boolean printable, boolean selectable)
defaultPosition
- printable
- indicates that the control should be visible in the
print output of the mapselectable
- indicates that the control will contain text that
should be selectable.Method Detail |
---|
public abstract boolean isSelectable()
true
if the control contains selectable text.@Exported protected final ControlPosition getDefaultPosition()
MapWidget.addControl(Control)
method.
protected abstract com.google.gwt.user.client.ui.Widget initialize(MapWidget map)
map
- the Google map
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |