public class UIElementTabPane extends UIElementZKBase
| Modifier and Type | Class and Description |
|---|---|
static class |
UIElementTabPane.TabEx
Re-purpose close tab button for drop down menu.
|
autoEnable, autoHide, log, maxChildren| Constructor and Description |
|---|
UIElementTabPane()
Set up the tab and tab panel ZK components.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterMoveTo(int index)
Requires moving both ZK components.
|
protected void |
applyColor()
Applies color to the tab caption text as well as the tab panel.
|
protected void |
applyHint()
Hint text should be applied to the tab.
|
protected void |
bind()
Override to bind wrapped components to the UI.
|
void |
bringToFront()
Make this tab pane active.
|
String |
getIcon()
Returns the tab icon.
|
String |
getInstanceName()
The caption label is the instance name.
|
String |
getLabel()
Returns the caption label.
|
protected void |
setDesignContextMenu(org.zkoss.zul.Menupopup contextMenu)
Apply/remove the design context menu both tab and tab panel.
|
void |
setEnabled(boolean enabled)
Apply the disable style when a tab is disabled.
|
void |
setIcon(String value)
Sets the tab icon.
|
void |
setLabel(String value)
Sets the caption label.
|
protected void |
unbind()
Override to unbind wrapped components from the UI.
|
protected void |
updateVisibility(boolean visible,
boolean activated)
Sets the visibility and selection state of the tab.
|
activate, applyColor, applyHint, associateComponent, createFromTemplate, createFromTemplate, createFromTemplate, editProperties, fullSize, getAssociatedUIElement, getEnableDesignModeMask, getInnerComponent, getOuterComponent, getParent, getTemplateUrl, hasVisibleElements, moveChild, setDesignContextMenu, setDesignMode, setEnableDesignModeMask, setInnerComponent, setOuterComponent, swapChildrenabout, activateChildren, addChild, addChild, afterAddChild, afterInitialize, afterParentChanged, afterRemoveChild, beforeAddChild, beforeInitialize, beforeParentChanged, beforeRemoveChild, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptParent, canAcceptParent, canAcceptParent, canAcceptParent, destroy, findChildElement, getAncestor, getChild, getChild, getChildCount, getChildren, getColor, getDefinition, getDisplayName, getEventManager, getFirstChild, getFirstVisibleChild, getHint, getIndex, getLastChild, getLastVisibleChild, getNextSibling, getPropEditClass, getRejectReason, getRoot, getSerializableChildren, hasAncestor, hasChild, indexOfChild, isActivated, isContainer, isDesignMode, isEnabled, isLocked, isVisible, raise, raise, registerAllowedChildClass, registerAllowedParentClass, remove, removeChild, removeChildren, setColor, setDefinition, setDefinition, setHint, setIndex, setLocked, setParent, setRejectReason, setVisible, updateParentState, updateState, updateVisibilitypublic UIElementTabPane()
public void bringToFront()
bringToFront in class UIElementBaseprotected void afterMoveTo(int index)
afterMoveTo in class UIElementZKBaseindex - New position for element.public String getInstanceName()
getInstanceName in class UIElementBaseprotected void updateVisibility(boolean visible,
boolean activated)
updateVisibility in class UIElementZKBasevisible - The current visibility state.activated - The current activation state.protected void setDesignContextMenu(org.zkoss.zul.Menupopup contextMenu)
setDesignContextMenu in class UIElementZKBasecontextMenu - The design menu if design mode is activated, or null if it is not.public void setEnabled(boolean enabled)
setEnabled in class UIElementBaseenabled - The enabled state.protected void applyColor()
applyColor in class UIElementBaseprotected void bind()
UIElementBasebind in class UIElementZKBaseprotected void unbind()
UIElementBaseunbind in class UIElementZKBasepublic String getLabel()
public void setLabel(String value)
value - The caption label.public String getIcon()
public void setIcon(String value)
value - The tab icon.protected void applyHint()
applyHint in class UIElementBaseCopyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.