public class ElementTreeView extends ElementUI
autoEnable, autoHide, EVENT_ELEMENT_ACTIVATE, EVENT_ELEMENT_INACTIVATE, log| Constructor and Description |
|---|
ElementTreeView() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateChildren(boolean activate)
Only the active pane should receive the activation request.
|
protected void |
afterMoveChild(ElementBase child,
ElementBase before)
Only the node needs to be resequenced, since pane sequencing is arbitrary.
|
protected void |
afterRemoveChild(ElementBase child)
Remove the associated tree node when a tree pane is removed.
|
String |
getCaption()
Returns the caption of the selector pane.
|
ThemeUtil.ButtonStyle |
getSelectionStyle()
Returns the button style to use for selected nodes.
|
boolean |
isOpen()
Returns true if the selector pane is open.
|
protected void |
setActivePane(ElementTreePane pane)
Activates the specified pane.
|
void |
setCaption(String value)
Sets the caption of the selector pane.
|
void |
setOpen(boolean value)
Opens or closes the selector pane.
|
void |
setSelectionStyle(ThemeUtil.ButtonStyle selectionStyle)
Sets the button style to use for selected nodes.
|
activate, addTrigger, afterAddChild, afterParentChanged, applyColor, applyColor, applyHint, applyHint, associateComponent, beforeParentChanged, bind, bringToFront, createFromTemplate, createFromTemplate, createFromTemplate, destroy, fullSize, getAssociatedElement, getColor, getDesignContextMenu, getFirstVisibleChild, getHint, getInnerComponent, getLastVisibleChild, getMaskMode, getMaskTarget, getNextSibling, getOuterComponent, getParent, getRoot, getTemplateUrl, getTriggers, hasVisibleElements, isActivated, isVisible, rebindChildren, removeTrigger, setColor, setDesignContextMenu, setDesignContextMenu, setDesignMode, setHint, setInnerComponent, setMaskMode, setOuterComponent, setVisible, unbind, updateState, updateVisibility, updateVisibilityabout, addChild, addChild, afterInitialize, beforeAddChild, beforeInitialize, beforeRemoveChild, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptParent, canAcceptParent, canAcceptParent, canAcceptParent, editProperties, findChildElement, getAncestor, getChild, getChild, getChildCount, getChildCount, getChildren, getChildren, getDefinition, getDisplayName, getEventManager, getFirstChild, getIndex, getInstanceName, getLastChild, getPropEditClass, getRejectReason, getSerializableChildren, hasAncestor, hasChild, indexOfChild, isContainer, isDesignMode, isEnabled, isLocked, listenToChild, listenToParent, moveChild, moveChild, notifyChildren, notifyParent, registerAllowedChildClass, registerAllowedParentClass, remove, removeChild, removeChildren, setDefinition, setDefinition, setEnabled, setIndex, setLocked, setParent, setRejectReason, updateParentStateprotected void afterMoveChild(ElementBase child, ElementBase before)
afterMoveChild in class ElementUIchild - Child element that was moved.before - Child element was moved before this one.public void setCaption(String value)
value - Selector pane caption.public String getCaption()
public void setOpen(boolean value)
value - True to open the selector pane; false to close it.public boolean isOpen()
public ThemeUtil.ButtonStyle getSelectionStyle()
public void setSelectionStyle(ThemeUtil.ButtonStyle selectionStyle)
selectionStyle - Button style for selected nodes.protected void afterRemoveChild(ElementBase child)
afterRemoveChild in class ElementUIchild - The child UI element.public void activateChildren(boolean activate)
activateChildren in class ElementUIactivate - The activate status.protected void setActivePane(ElementTreePane pane)
pane - Pane to make active.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.