|
||||||||||
| 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.Groupbox
public class Groupbox
Groups a set of child elements to have a visual effect.
| Nested Class Summary | |
|---|---|
protected class |
Groupbox.ExtraCtrl
A utility class to implement AbstractComponent.getExtraCtrl(). |
| 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 | |
|---|---|
Groupbox()
|
|
| Method Summary | |
|---|---|
Caption |
getCaption()
Returns the caption of this groupbox. |
java.lang.String |
getContentSclass()
Returns the style class used for the content block of the groupbox. |
java.lang.String |
getContentStyle()
Returns the CSS style for the content block of the groupbox. |
java.lang.String |
getOuterAttrs()
|
boolean |
insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component insertBefore)
|
boolean |
isClosable()
Returns whether user can open or close the group box. |
boolean |
isOpen()
Returns whether this groupbox is open. |
protected java.lang.Object |
newExtraCtrl()
|
void |
onChildRemoved(org.zkoss.zk.ui.Component child)
|
void |
setClosable(boolean closable)
Sets whether user can open or close the group box. |
void |
setContentStyle(java.lang.String style)
Sets the CSS style for the content block of the groupbox. |
void |
setOpen(boolean open)
Opens or closes this groupbox. |
| Methods inherited from class org.zkoss.zul.impl.XulElement |
|---|
getAction, getAllOnClickAttrs, getContext, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setPopup, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
addEventListener, appendAsapAttr, focus, getDraggable, getDroppable, getHeight, getLeft, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, isAsapRequired, 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, invalidate, isChildable, isListenerAvailable, isVisible, onChildAdded, 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 Groupbox()
| Method Detail |
|---|
public Caption getCaption()
public boolean isOpen()
Note: the default mold (AbstractComponent.getMold()) doesn't support
the open attribute.
Default: true.
public void setOpen(boolean open)
public boolean isClosable()
Default: true.
public void setClosable(boolean closable)
public java.lang.String getContentStyle()
AbstractComponent.getMold() is not default.
public void setContentStyle(java.lang.String style)
AbstractComponent.getMold() is not default.
Default: null.
public java.lang.String getContentSclass()
AbstractComponent.getMold() is not default.
If HtmlBasedComponent.getSclass() is null, "gc-default" is returned,
Otherwise, "gc-sclass",
where sclass is the value returned by HtmlBasedComponent.getSclass().
public java.lang.String getOuterAttrs()
getOuterAttrs in class XulElement
public boolean insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component insertBefore)
insertBefore in interface org.zkoss.zk.ui.ComponentinsertBefore in class org.zkoss.zk.ui.AbstractComponentpublic void onChildRemoved(org.zkoss.zk.ui.Component child)
onChildRemoved in interface org.zkoss.zk.ui.ComponentonChildRemoved in class org.zkoss.zk.ui.AbstractComponentprotected java.lang.Object newExtraCtrl()
newExtraCtrl in class org.zkoss.zk.ui.HtmlBasedComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||