|
||||||||||
| 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.Tabpanel
public class Tabpanel
A tab panel.
Default getSclass(): tabpanel if the default mold is used
for the tabbox (getTabbox()),
or tabpanel-mold if other mold is used (where mold is the value
returned by AbstractComponent.getMold().
| 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 | |
|---|---|
Tabpanel()
|
|
| Method Summary | |
|---|---|
int |
getIndex()
Returns the index of this panel, or -1 if it doesn't belong to any tabpanels. |
Tab |
getLinkedTab()
Returns the tab associated with this tab panel. |
java.lang.String |
getOuterAttrs()
|
java.lang.String |
getSclass()
Returns the style class. |
Tabbox |
getTabbox()
Returns the tabbox owns this component. |
boolean |
isSelected()
Returns whether this tab panel is selected. |
boolean |
isVisible()
|
void |
setParent(org.zkoss.zk.ui.Component parent)
|
| 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, 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, isChildable, isListenerAvailable, onChildAdded, onChildRemoved, onDrawNewChild, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, 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 Tabpanel()
| Method Detail |
|---|
public Tabbox getTabbox()
public Tab getLinkedTab()
public boolean isSelected()
public int getIndex()
public java.lang.String getOuterAttrs()
getOuterAttrs in class XulElementpublic java.lang.String getSclass()
The default style class, i.e., the style class is not defined (i.e.,
HtmlBasedComponent.setSclass(java.lang.String) is not called or called with null or empty):
it returns "tabpanel" if AbstractComponent.getMold() of getTabbox()
returns "default",
or "tabpanel-mode" if other mold is used,
where mode is the value returned by AbstractComponent.getMold().
getSclass in class org.zkoss.zk.ui.HtmlBasedComponentpublic boolean isVisible()
isVisible in interface org.zkoss.zk.ui.ComponentisVisible in class org.zkoss.zk.ui.AbstractComponentpublic void setParent(org.zkoss.zk.ui.Component parent)
setParent in interface org.zkoss.zk.ui.ComponentsetParent in class org.zkoss.zk.ui.AbstractComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||