public class Tabbox extends Widget
Event:
Mold:
Toolbar
only works in the horizontal default mold and
the isTabscroll()
to be true.
Default Widget.getZclass()
: z-tabbox.
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName
Modifier and Type | Method and Description |
---|---|
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 |
isBottom()
Returns whether it is the bottom orientation.
|
boolean |
isHorizontal()
Returns whether it is a horizontal tabbox.
|
boolean |
isLeft()
Returns whether it is the left orientation.
|
boolean |
isMaximalHeight()
Returns whether to use maximum height of all tabpanel in initial phase or not.
|
boolean |
isRight()
Returns whether it is the right orientation.
|
boolean |
isTabscroll()
Returns whether the tab scrolling is enabled.
|
boolean |
isTop()
Returns whether it is the top orientation.
|
boolean |
isVertical()
Returns whether it is a vertical tabbox.
|
void |
setMaximalHeight(boolean maximalHeight)
Sets whether to use maximum height of all tabpanel in initial phase or not.
|
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.
|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
$, $f, $f, $f, $init, $n, $n, $o, $s, $service, afterAnima_, afterParentChanged_, appendChild, appendChild, beforeParentChanged_, beforeSendAU_, bind_, bind, bindChildren_, bindDoubleTap_, bindMissingAncestors, bindSwipe_, bindTapHold_, canActivate, cleanDrag_, clear, clearCache, cloneDrag_, deferRedraw_, deferRedrawHTML_, detach, doBlur_, doClick_, doDoubleClick_, doFocus_, doKeyDown_, doKeyPress_, doKeyUp_, domAttrs_, domClass_, domListen_, doMouseDown_, doMouseMove_, doMouseOut_, doMouseOver_, doMouseUp_, domStyle_, domTextStyleAttr_, domTooltiptext_, domUnlisten_, doPaste_, doResizeScroll_, doRightClick_, doSelect_, doSwipe_, doTooltipOut_, doTooltipOver_, dropEffect_, extraBind_, fire, fireX, focus_, focus, forcerender, fromPageCoord, get, getAction, getCaveNode, getChildAt, getChildIndex, getClass, getCssflex, getDraggable, getDragMessage_, getDragNode, getDragOptions_, getDrop_, getDroppable, getElementsById, getElementsByName, getFirstNode_, getFloatZIndex_, getHeight, getHflex, getId, getLeft, getMold, getOldWidget_, getPage, getRenderdefer, getSclass, getScrollLeft, getScrollTop, getStyle, getTabindex, getTextNode, getTooltiptext, getTop, getTopWidget, getVflex, getWidth, getZclass, getZIndex, hide, ignoreDescendantFloatUp_, ignoreDrag_, initDrag_, insertBefore, insertChildHTML_, isAutoId, isBinding, isFloating_, isListen, isRealElement, isRealVisible, isRealVisible, isVisible, isVisible, isWatchable_, listen, listenOnFitSize_, mimicMouseDown_, newInstance, nextUuid, onAfterSize, onChildAdded_, onChildRemoved_, onChildRenderDefer_, onChildReplaced_, onChildVisible_, onDrop_, redraw, redrawHTML_, register, removeChild, removeChild, removeChildHTML_, removeHTML_, replaceCavedChildren_, replaceChildHTML_, replaceHTML, replaceWidget, rerender, rerender, rerenderLater_, rerenderNow_, scrollIntoView, sendAU_, set, set, setAction, setChildren, setCssflex, setDomVisible_, setDraggable, setDroppable, setFloating_, setFloatZIndex_, setHeight, setHflex, setId, setLeft, setListener, setListener, setListeners, setMold, setRenderdefer, setSclass, setScrollLeft, setScrollTop, setStyle, setTabindex, setTooltiptext, setTop, setTopmost, setVflex, setVisible, setWidth, setZclass, setZIndex, shallChildROD_, shallFireSizedLaterWhenAddChd_, shallIgnoreClick_, show, smartUpdate, unbind_, unbind, unbindChildren_, unbindDoubleTap_, unbindSwipe_, unbindTapHold_, uncloneDrag_, unlisten, unlistenOnFitSize_, updateDomClass_, updateDomStyle_, uuid, zsync
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
public void setTabscroll(boolean tabscroll)
tabscroll
- public boolean isTabscroll()
public void setOrient(String orient)
orient
- either "top", "left", "bottom or "right".public String getOrient()
Default: "top".
Note: only the default mold supports it (not supported if accordion).
public void setMaximalHeight(boolean maximalHeight)
The Client ROD feature will be disabled if it is set to true.
maximalHeight
- public boolean isMaximalHeight()
Default: false.
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 isTop()
public boolean isBottom()
public boolean isVertical()
public boolean isRight()
public boolean isLeft()
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.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.