|
||||||||||
| 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.zul.impl.XulElement
org.zkoss.zul.Separator
public class Separator
A separator.
| Nested Class Summary |
|---|
| 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.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 | |
|---|---|
Separator()
|
|
Separator(java.lang.String orient)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getOrient()
Returns the orient. |
protected java.lang.String |
getRealStyle()
|
java.lang.String |
getSclass()
Returns the style class. |
java.lang.String |
getSpacing()
Returns the spacing. |
boolean |
isBar()
Returns whether to display a visual bar as the separator. |
boolean |
isChildable()
Default: not childable. |
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 class org.zkoss.zul.impl.XulElement |
|---|
getAction, getAllOnClickAttrs, getContext, getInnerAttrs, getOuterAttrs, getPopup, getTooltip, setAction, setContext, setPopup, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
addEventListener, appendAsapAttr, focus, getDraggable, getDroppable, getHeight, getLeft, getRealStyleFlags, getStyle, getTooltiptext, getTop, getWidth, getZIndex, isAsapRequired, newExtraCtrl, removeEventListener, setClass, setDraggable, setDroppable, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
addAnnotation, addAnnotation, addEventHandler, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getId, getListenerIterator, getMold, getMoldURI, getNamespace, getPage, getParent, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onDrawNewChild, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, toString, unsetVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Separator()
public Separator(java.lang.String orient)
orient - either "horizontal" or "vertical".| Method Detail |
|---|
public java.lang.String getOrient()
Default: "horizontal".
public void setOrient(java.lang.String orient)
throws org.zkoss.zk.ui.WrongValueException
orient - either "horizontal" or "vertical".
org.zkoss.zk.ui.WrongValueExceptionpublic boolean isBar()
Default: false
public void setBar(boolean bar)
public java.lang.String getSpacing()
Default: null (depending on CSS).
public void setSpacing(java.lang.String spacing)
spacing - the spacing (such as "0", "5px", "3pt" or "1em")protected java.lang.String getRealStyle()
getRealStyle in class org.zkoss.zk.ui.HtmlBasedComponentpublic java.lang.String getSclass()
HtmlBasedComponent.setSclass(java.lang.String) is not called
or called with null or empty), it returns the style class based
on getOrient() and isBar().
getSclass 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 | |||||||||