|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.tab.Tabbox
public class Tabbox
A tabbox.
Event:
Mold:
Toolbar
only works in the horizontal default mold and
the isTabscroll()
to be true.
Default Widget.getZclass()
: z-tabbox.
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
String |
getOrient()
Returns the orient. |
String |
getPanelSpacing()
Returns the spacing between Tabpanel . |
int |
getSelectedIndex()
Returns the selected index. |
Tabpanel |
getSelectedPanel()
Returns the selected tab panel. |
Tab |
getSelectedTab()
Returns the selected tab. |
Tabpanels |
getTabpanels()
Returns the tabpanels that this tabbox owns. |
Tabs |
getTabs()
Returns the tabs that this tabbox owns. |
Toolbar |
getToolbar()
Returns the auxiliary toolbar that this tabbox owns. |
boolean |
inAccordionMold()
Returns whether it is in the accordion mold. |
boolean |
isHorizontal()
Returns whether it is a horizontal tabbox. |
boolean |
isTabscroll()
Returns whether the tab scrolling is enabled. |
boolean |
isVertical()
Returns whether it is a vertical tabbox. |
void |
setOrient(String orient)
Sets the orient. |
void |
setPanelSpacing(String panelSpacing)
Sets the spacing between Tabpanel . |
void |
setSelectedIndex(int index)
Sets the selected index. |
void |
setSelectedPanel(Tabpanel panel)
Sets the selected tab panel. |
void |
setSelectedTab(Tab tab)
Sets the selected tab. |
void |
setTabscroll(boolean tabscroll)
Sets whether to eable the tab scrolling |
void |
syncSize()
Synchronizes the size immediately. |
Methods inherited from class zul.Widget |
---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setTabscroll(boolean tabscroll)
tabscroll
- public boolean isTabscroll()
public void setOrient(String orient)
orient
- either "horizontal" or "vertical".public String getOrient()
Default: "horizontal".
Note: only the default mold supports it (not supported if accordion).
public void setPanelSpacing(String panelSpacing)
Tabpanel
. This is used by certain molds,
such as accordion.
panelSpacing
- public String getPanelSpacing()
Tabpanel
. This is used by certain
molds, such as accordion.
Default: null (no spacing).
public Tabs getTabs()
public Tabpanels getTabpanels()
public Toolbar getToolbar()
public boolean isHorizontal()
public boolean isVertical()
public boolean inAccordionMold()
public int getSelectedIndex()
public void setSelectedIndex(int index)
index
- public Tabpanel getSelectedPanel()
public void setSelectedPanel(Tabpanel panel)
panel
- public Tab getSelectedTab()
public void setSelectedTab(Tab tab)
tab
- public void syncSize()
Widget.inServer
is true).
You have to invoke this method only if you create this widget
at client and add or remove children from this widget.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |