|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface A
The same as HTML A tag.
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
java.lang.String |
getDir()
Returns the direction. |
java.lang.String |
getHref()
Returns the href that the browser shall jump to, if an user clicks this button. |
int |
getTabindex()
Returns the tab order of this component. |
java.lang.String |
getTarget()
Returns the target frame or window. |
boolean |
isDisabled()
Returns whether it is disabled. |
void |
setDir(java.lang.String dir)
Sets the direction. |
void |
setDisabled(boolean disabled)
Sets whether it is disabled. |
void |
setHref(java.lang.String href)
Sets the href. |
void |
setTabindex(int tabindex)
Sets the tab order of this component. |
void |
setTarget(java.lang.String target)
Sets the target frame or window. |
Methods inherited from interface org.zkoss.zul.impl.api.LabelImageElement |
---|
getHoverImage, getImage, getImageContent, setHoverImage, setHoverImageContent, setHoverImageContent, setImage, setImageContent, setImageContent |
Methods inherited from interface org.zkoss.zul.impl.api.LabelElement |
---|
getLabel, setLabel |
Methods inherited from interface org.zkoss.zul.impl.api.XulElement |
---|
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
boolean isDisabled()
Default: false.
isDisabled
in interface Disable
void setDisabled(boolean disabled)
setDisabled
in interface Disable
java.lang.String getDir()
Default: "normal".
void setDir(java.lang.String dir) throws WrongValueException
dir
- either "normal" or "reverse".
WrongValueException
java.lang.String getHref()
Default: null. If null, the button has no function unless you specify the onClick event listener.
If it is not null, the onClick event won't be sent.
void setHref(java.lang.String href)
java.lang.String getTarget()
Note: it is useful only if href (setHref(java.lang.String)
) is specified (i.e.,
use the onClick listener).
Default: null.
void setTarget(java.lang.String target)
target
- the name of the frame or window to hyperlink.int getTabindex()
Default: -1 (means the same as browser's default).
void setTabindex(int tabindex) throws WrongValueException
WrongValueException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |