|
||||||||||
| 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.zul.Area
public class Area
An area of a Imagemap.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
AbstractComponent.Children |
| Field Summary |
|---|
| Fields inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
_visible |
| 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 | |
|---|---|
Area()
|
|
Area(java.lang.String coords)
|
|
| Method Summary | |
|---|---|
void |
beforeParentChanged(Component parent)
Default: does nothing. |
java.lang.String |
getCoords()
Returns the coordination of this area. |
java.lang.String |
getOuterAttrs()
Returns the attributes for generating the HTML tag; never return null. |
java.lang.String |
getShape()
Returns the shape of this area. |
java.lang.String |
getTooltiptext()
Returns the text as the tooltip. |
void |
setCoords(java.lang.String coords)
Sets the coords of this area. |
void |
setId(java.lang.String id)
Sets the ID. |
void |
setShape(java.lang.String shape)
Sets the shape of this area. |
void |
setTooltiptext(java.lang.String tooltiptext)
Sets the text as the tooltip. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Area()
public Area(java.lang.String coords)
| Method Detail |
|---|
public final java.lang.String getShape()
Default: null (means rectangle).
public final void setShape(java.lang.String shape)
throws WrongValueException
WrongValueException - if shape is not one of
null, "rect", "rectangle", "circle", "circ", "ploygon", and "poly".public final java.lang.String getCoords()
public final void setCoords(java.lang.String coords)
getShape():
Note: (0, 0) is the upper-left corner.
public java.lang.String getTooltiptext()
Default: null.
getTooltiptext in interface Areapublic void setTooltiptext(java.lang.String tooltiptext)
setTooltiptext in interface Areapublic java.lang.String getOuterAttrs()
Used only by component developers.
public void setId(java.lang.String id)
ComponentComponent.getId() for more details.
When a component is constructed, an ID is generated automatically. Thus, calling this method only you need to identify a component.
setId in interface ComponentsetId in class AbstractComponentid - the identifier. It cannot be empty.
If null, it means the previous ID is removed (aka., reset)
and an anonymous ID is assigned.Pagepublic void beforeParentChanged(Component parent)
AbstractComponent
beforeParentChanged in interface ComponentCtrlbeforeParentChanged in class AbstractComponentparent - the new parent. If null, it means detachment.ComponentCtrl.beforeParentChanged(org.zkoss.zk.ui.Component)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||