|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Separator
A separator.
Default HtmlBasedComponent.getZclass() as follows: (since 3.5.0)
getOrient() is vertical and isBar() is
false, "z-separator-ver" is assumedgetOrient() is vertical and isBar() is true,
"z-separator-ver-bar" is assumedgetOrient() is horizontal and isBar() is
false, "z-separator-hor" is assumedgetOrient() is horizontal and isBar() is
true, "z-separator-hor-bar" is assumed
| 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 |
getOrient()
Returns the orient. |
java.lang.String |
getSpacing()
Returns the spacing. |
boolean |
isBar()
Returns whether to display a visual bar as the separator. |
boolean |
isHorizontal()
Returns whether it is a horizontal separator. |
boolean |
isVertical()
Returns whether it is a vertical separator. |
void |
setBar(boolean bar)
Sets whether to display a visual bar as the separator. |
void |
setOrient(java.lang.String orient)
Sets the orient. |
void |
setSpacing(java.lang.String spacing)
Sets the spacing. |
| 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 |
| Method Detail |
|---|
java.lang.String getOrient()
Default: "horizontal".
void setOrient(java.lang.String orient)
throws WrongValueException
orient - either "horizontal" or "vertical".
WrongValueExceptionboolean isHorizontal()
boolean isVertical()
boolean isBar()
Default: false
void setBar(boolean bar)
java.lang.String getSpacing()
Default: null (depending on CSS).
void setSpacing(java.lang.String spacing)
spacing - the spacing (such as "0", "5px", "3pt" or "1em")
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||