@Component(tag="tabview", widgetModule="fujion-tabview", widgetClass="Tabview", parentTag="*", childTag=@Component.ChildTag(value="tab"), description="A component supporting a tab-based view.") public class Tabview extends BaseUIComponent implements ISupportsModel<Tab>
| Modifier and Type | Class and Description |
|---|---|
static class |
Tabview.TabPosition
Placement of tabs in a tab view.
|
BaseComponent.SubComponentlog| Constructor and Description |
|---|
Tabview() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterAddChild(BaseComponent child)
If the added tab is marked as selected, update the selected tab.
|
protected void |
afterRemoveChild(BaseComponent child)
If the removed tab is selected, clear the selection.
|
IModelAndView<Tab,?> |
getModelAndView()
Returns the model and view for this component.
|
Tab |
getSelectedTab()
Returns the currently selected tab, if any.
|
Tabview.TabPosition |
getTabPosition()
Returns the tab
position. |
void |
setSelectedTab(Tab selectedTab)
Sets the currently selected tab.
|
void |
setTabPosition(Tabview.TabPosition tabPosition)
Sets the tab
position. |
_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, onDestroyTracked, print, print, removeClass, removeMask, removeStyle, reportSize, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, finalize, findAllNamed, findAttribute, findByName, findByName, findChildByData, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttribute, getAttributes, getChild, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getController, getControllers, getData, getData, getDefinition, getFirstChild, getId, getIndex, getLastChild, getName, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, hasAttribute, hasEventListener, hasEventListener, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isNamespace, isRendered, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, removeAttribute, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setAttribute, setContent, setContentSynced, setData, setIndex, setName, setParent, sub, swapChildren, swapTrackedComponents, sync, toString, trackComponent, trimify, untrackComponent, validate, validate, validateChild, validateIsChild, validatePage, validateParent, wireControllerclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeferredRendering, getModel, getModel, getModelAndView, getPaginator, getRenderer, getRenderer, setDeferredRendering, setModel, setRenderertransformForClientpublic Tab getSelectedTab()
public void setSelectedTab(Tab selectedTab)
selectedTab - The tab to select (may be null).protected void afterAddChild(BaseComponent child)
afterAddChild in class BaseComponentchild - The new child.BaseComponent.afterAddChild(org.fujion.component.BaseComponent)protected void afterRemoveChild(BaseComponent child)
afterRemoveChild in class BaseUIComponentchild - The removed child.BaseUIComponent.afterRemoveChild(org.fujion.component.BaseComponent)@Component.PropertyGetter(value="tabPosition", description="The position of the tabs.") public Tabview.TabPosition getTabPosition()
position.position.@Component.PropertySetter(value="tabPosition", defaultValue="top", description="The position of the tabs.") public void setTabPosition(Tabview.TabPosition tabPosition)
position.tabPosition - The tab position.public IModelAndView<Tab,?> getModelAndView()
ISupportsModelgetModelAndView in interface ISupportsModel<Tab>Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.