public class UIElementTreePane extends UIElementZKBase
autoEnable, autoHide, log, maxChildren| Constructor and Description |
|---|
UIElementTreePane() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateChildren(boolean activate)
Forward only to active child.
|
protected void |
afterAddChild(UIElementBase child)
Initializes the child after it is added.
|
void |
afterMoveTo(int index)
Only the node needs to be resequenced, since pane sequencing is arbitrary.
|
protected void |
afterRemoveChild(UIElementBase child)
Called after a child is logically removed from the parent.
|
protected void |
applyHint()
Apply the hint to the selector node.
|
void |
bind()
Override to bind wrapped components to the UI.
|
void |
bringToFront()
Brings this element to the front of the user interface.
|
boolean |
canAcceptChild(Class<? extends UIElementBase> clazz)
Returns true if this element may accept a child of the specified class.
|
boolean |
canAcceptChild(UIElementBase child)
Returns true if this element may accept the specified child.
|
String |
getInstanceName()
The caption label is the instance name.
|
String |
getLabel() |
protected void |
setDesignContextMenu(org.zkoss.zul.Menupopup contextMenu)
Apply/remove the design context menu to/from both the pane and its associated node.
|
void |
setEnabled(boolean enabled)
Sets the enabled state of the node.
|
void |
setLabel(String label) |
void |
unbind()
Remove the node from the tree view when this element is destroyed.
|
protected void |
updateVisibility(boolean visible,
boolean activated)
Provides a default implementation for ZK-derived UI components by setting the visibility of
the outer component.
|
activate, applyColor, applyHint, associateComponent, createFromTemplate, createFromTemplate, createFromTemplate, editProperties, fullSize, getAssociatedUIElement, getEnableDesignModeMask, getInnerComponent, getOuterComponent, getParent, getTemplateUrl, hasVisibleElements, moveChild, setDesignContextMenu, setDesignMode, setEnableDesignModeMask, setInnerComponent, setOuterComponent, swapChildrenabout, addChild, addChild, afterInitialize, afterParentChanged, applyColor, beforeAddChild, beforeInitialize, beforeParentChanged, beforeRemoveChild, 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 void bringToFront()
UIElementBasebringToFront in class UIElementBaseprotected void updateVisibility(boolean visible,
boolean activated)
UIElementZKBaseupdateVisibility in class UIElementZKBasevisible - The current visibility state.activated - The current activation state.public void setEnabled(boolean enabled)
setEnabled in class UIElementBaseenabled - The enabled state.public void activateChildren(boolean activate)
activateChildren in class UIElementBaseactivate - The activate status.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.protected void afterAddChild(UIElementBase child)
afterAddChild in class UIElementBasechild - The child element added.protected void afterRemoveChild(UIElementBase child)
UIElementBaseafterRemoveChild in class UIElementBasechild - The child UI element.public boolean canAcceptChild(Class<? extends UIElementBase> clazz)
UIElementBasecanAcceptChild in class UIElementBaseclazz - Child class to test.public boolean canAcceptChild(UIElementBase child)
UIElementBasecanAcceptChild in class UIElementBasechild - Child instance to test.public void bind()
UIElementBasebind in class UIElementZKBasepublic void unbind()
unbind in class UIElementZKBasepublic String getInstanceName()
getInstanceName in class UIElementBasepublic void afterMoveTo(int index)
afterMoveTo in class UIElementZKBaseindex - New position for element.protected void applyHint()
applyHint in class UIElementBasepublic String getLabel()
public void setLabel(String label)
Copyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.