|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.popup.Popup
public class Popup
| Nested Class Summary | |
|---|---|
static interface |
Popup.CloseListener
|
| Constructor Summary | |
|---|---|
protected |
Popup(JSObject element)
|
|
Popup(String id,
LonLat lonlat,
Size size,
String html,
boolean closeBox)
Use addCloseListener to respond to popup close event. |
| Method Summary | |
|---|---|
void |
addCloseListener(Popup.CloseListener callback)
|
boolean |
getAutoSize()
Get the popup autoSize state |
String |
getBackgroundColor()
Get the popup backgroundColor |
String |
getBorder()
Get the border style as set by setBorder |
double |
getOpacity()
Get the popup opacity |
boolean |
getPanMapIfOutOfView()
Get the popup panMapIfOutOfView state |
static Popup |
narrowToOpenLayersPopup(JSObject element)
|
void |
setAutoSize(boolean autoSize)
autosize the popup |
void |
setBackgroundColor(String color)
Set the popup backgroundColor. |
void |
setBorder(String border)
Set the border style |
void |
setOpacity(double opacity)
Set the popup opacity |
void |
setPanMapIfOutOfView(boolean panMapIfOutOfView)
When drawn, pan map such that the entire popup is visible in the current viewport (if necessary). |
| Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper |
|---|
getClassName, getEvents, narrowToOpenLayersObjectWrapper |
| Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper |
|---|
getJSObject, setJSObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Popup(JSObject element)
public Popup(String id,
LonLat lonlat,
Size size,
String html,
boolean closeBox)
id - - String identifier for Popup. Used by ..?..lonlat - - LonLat where Popup should appearsize - - Size that provides height and width for Popuphtml - - String with html content to appear in PopupcloseBox - - Set to true to get close button in upper right corner of Popup| Method Detail |
|---|
public static Popup narrowToOpenLayersPopup(JSObject element)
public void addCloseListener(Popup.CloseListener callback)
public void setAutoSize(boolean autoSize)
autoSize - - booleanpublic boolean getAutoSize()
public void setPanMapIfOutOfView(boolean panMapIfOutOfView)
panMapIfOutOfView - - booleanpublic boolean getPanMapIfOutOfView()
public void setBackgroundColor(String color)
color - - Stringpublic String getBackgroundColor()
public void setOpacity(double opacity)
opacity - - doublepublic double getOpacity()
public void setBorder(String border)
border - - Stringpublic String getBorder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||