|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.gmaps.Gimage
public class Gimage
Google Maps support Gimage.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl |
| Field Summary | |
|---|---|
protected double |
_nelat
|
protected double |
_nelng
|
protected double |
_swlat
|
protected double |
_swlng
|
| Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH |
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Constructor Summary | |
|---|---|
Gimage()
|
|
Gimage(java.lang.String src,
double swlat,
double swlng,
double nelat,
double nelng)
Google Image (GGroundLayer). |
|
| Method Summary | |
|---|---|
org.zkoss.image.Image |
getContent()
Returns the content set by setContent(org.zkoss.image.Image). |
double |
getNelat()
Returns the bounded north east latitude. |
double |
getNelng()
Returns the bounded north east longitude. |
java.lang.String |
getOuterAttrs()
|
java.lang.String |
getSrc()
Returns the source URI of the image. |
double |
getSwlat()
Returns the bounded south west latitude. |
double |
getSwlng()
Returns the bounded south west longitude. |
boolean |
isChildable()
Default: not childable. |
void |
setContent(org.zkoss.image.Image image)
Sets the content directly. |
void |
setNelat(double nelat)
Sets the bounded north east latitude. |
void |
setNelng(double nelng)
Sets the bounded north east longitude. |
void |
setSrc(java.lang.String src)
Sets the source URI of the image. |
void |
setSwlat(double swlat)
Sets the bounded south west latitude. |
void |
setSwlng(double swlng)
Sets the bounded south west longitude. |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
focus, getDraggable, getDroppable, getHeight, getInnerAttrs, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, newExtraCtrl, setClass, setDraggable, setDroppable, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isAsapRequired, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, toString, unsetVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.zkoss.zk.ui.Component |
|---|
addEventListener, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getFellow, getFellowIfAny, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, setAttribute, setAttribute, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdateDeferred, unsetVariable |
| Field Detail |
|---|
protected double _swlat
protected double _swlng
protected double _nelat
protected double _nelng
| Constructor Detail |
|---|
public Gimage()
public Gimage(java.lang.String src,
double swlat,
double swlng,
double nelat,
double nelng)
src - the image urlswlat - south west latitude to put the image.swlng - south west longitude to put the image.nelat - north east latitude to put the image.nelng - north east longitude to put the image.| Method Detail |
|---|
public double getSwlat()
public void setSwlat(double swlat)
swlat - south west latitudepublic double getSwlng()
public void setSwlng(double swlng)
swlng - south west longitudepublic double getNelat()
public void setNelat(double nelat)
nelat - the bounded north east latitude.public double getNelng()
public void setNelng(double nelng)
nelng - the bounded north east longitude.public java.lang.String getSrc()
Default: null.
public void setSrc(java.lang.String src)
If setContent(org.zkoss.image.Image) is ever called with non-null,
it takes heigher priority than this method.
src - the URI of the image sourcepublic void setContent(org.zkoss.image.Image image)
image - the image to display. If not null, it has higher
priority than getSrc().public org.zkoss.image.Image getContent()
setContent(org.zkoss.image.Image).
Note: it won't fetch what is set thru by setSrc(java.lang.String).
It simply returns what is passed to setContent(org.zkoss.image.Image).
public java.lang.String getOuterAttrs()
getOuterAttrs in class org.zkoss.zk.ui.HtmlBasedComponentpublic boolean isChildable()
isChildable in interface org.zkoss.zk.ui.ComponentisChildable in class org.zkoss.zk.ui.AbstractComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||