|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
org.gwtopenmaps.openlayers.client.MapWidget
public class MapWidget
See Map.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
MapWidget(String width,
String height)
Programmatically creates the element that will contain the map, with the given width and height. |
|
MapWidget(String width,
String height,
MapOptions options)
Programmatically creates the element that will contain the map, with the given width and height. |
|
| Method Summary | |
|---|---|
Map |
getMap()
Gets the map associated with a MapWidget instance. |
protected void |
onAttach()
|
protected void |
onLoad()
|
void |
setHeight(String height)
|
void |
setWidth(String width)
|
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapWidget(String width,
String height)
getMap().
width - - a String with the width of the element that will contain the map in CSS units.height - - a String with the height of the element that will contain the map in CSS units.
public MapWidget(String width,
String height,
MapOptions options)
getMap().
width - - a String with the width of the element that will contain the map in CSS units.height - - a String with the height of the element that will contain the map in CSS units.options - - null if no options should be set upon map instantiation
or a MapOptions object that is passed to the map upon instantiation.| Method Detail |
|---|
public Map getMap()
Map.public void setHeight(String height)
setHeight in class com.google.gwt.user.client.ui.UIObjectpublic void setWidth(String width)
setWidth in class com.google.gwt.user.client.ui.UIObjectprotected void onAttach()
onAttach in class com.google.gwt.user.client.ui.Widgetprotected void onLoad()
onLoad in class com.google.gwt.user.client.ui.Widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||