|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.AbstractComponent org.zkoss.zk.ui.HtmlBasedComponent org.zkoss.zul.impl.XulElement org.zkoss.gmaps.Gpolyline org.zkoss.gmaps.Gpolygon
public class Gpolygon
Google Maps support Gpolygon.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.zkoss.gmaps.Gpolyline |
---|
Gpolyline.Tuple |
Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
---|
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl |
Field Summary |
---|
Fields inherited from class org.zkoss.gmaps.Gpolyline |
---|
_encodedLevels, _encodedPolyline, _points |
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 | |
---|---|
Gpolygon()
|
Method Summary | |
---|---|
java.lang.String |
getEncodedLevels()
|
java.lang.String |
getEncodedPolyline()
|
java.lang.String |
getFillColor()
Returns fill color in form of #RRGGBB, default to #808080. |
int |
getFillOpacity()
Returns fill opacity from 0 (transparent) to 100 (solid), default to 50. |
java.lang.String |
getOuterAttrs()
Returns the HTML attributes for this tag. |
boolean |
isFill()
Returns whether to fill the interier of this polygon with the provided fill color getFillColor() . |
boolean |
isOutline()
Returns whether to draw the outline of this polygon with the provided color Gpolyline.getColor() . |
void |
setFill(boolean b)
Sets true to fill the interier of this polygon with the provided fill color getFillColor() . |
void |
setFillColor(java.lang.String color)
Sets fill color in form of #RRGGBB, default to #808080. |
void |
setFillOpacity(int op)
Sets fill opacity from 0 (transparent) to 100 (solid), default to 50. |
void |
setOutline(boolean b)
Sets true to draw the outline of this polygon with provied color Gpolyline.getColor() . |
Methods inherited from class org.zkoss.gmaps.Gpolyline |
---|
addPoint, e5, encodeInt, encodeLatLng, getColor, getNumLevels, getOpacity, getWeight, getZoomFactor, isChildable, setColor, setNumLevels, setOpacity, setPoints, setWeight |
Methods inherited from class org.zkoss.zul.impl.XulElement |
---|
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setPopup, setTooltip |
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
---|
focus, getDraggable, getDroppable, getHeight, 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 |
Constructor Detail |
---|
public Gpolygon()
Method Detail |
---|
public boolean isOutline()
Gpolyline.getColor()
.
public void setOutline(boolean b)
Gpolyline.getColor()
.
b
- true to draw the outline of this polygonpublic boolean isFill()
getFillColor()
.
public void setFill(boolean b)
getFillColor()
.
b
- true to fill the interier of this polygonpublic java.lang.String getFillColor()
public void setFillColor(java.lang.String color)
color
- the color to setpublic int getFillOpacity()
public void setFillOpacity(int op)
public java.lang.String getEncodedPolyline()
getEncodedPolyline
in class Gpolyline
public java.lang.String getEncodedLevels()
getEncodedLevels
in class Gpolyline
public java.lang.String getOuterAttrs()
Used only for component development, not for application developers.
getOuterAttrs
in class Gpolyline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |