public class ElementTreePane extends ElementUI
autoEnable, autoHide, EVENT_ELEMENT_ACTIVATE, EVENT_ELEMENT_INACTIVATE, log| Constructor and Description |
|---|
ElementTreePane() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateChildren(boolean activate)
Forward only to active child.
|
protected void |
afterAddChild(ElementBase child)
Initializes the child after it is added.
|
protected void |
afterMoveChild(ElementBase child,
ElementBase before)
Only the node needs to be resequenced, since pane sequencing is arbitrary.
|
protected void |
afterRemoveChild(ElementBase 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 ElementBase> clazz)
Returns true if this element may accept a child of the specified class.
|
boolean |
canAcceptChild(ElementBase 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.fujion.component.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)
Override to set the visibility of wrapped components.
|
activate, addTrigger, afterParentChanged, applyColor, applyColor, applyHint, associateComponent, beforeParentChanged, 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, setDesignMode, setHint, setInnerComponent, setMaskMode, setOuterComponent, setVisible, updateState, updateVisibilityabout, addChild, addChild, afterInitialize, beforeAddChild, beforeInitialize, beforeRemoveChild, canAcceptChild, canAcceptChild, canAcceptParent, canAcceptParent, canAcceptParent, canAcceptParent, editProperties, findChildElement, getAncestor, getChild, getChild, getChildCount, getChildCount, getChildren, getChildren, getDefinition, getDisplayName, getEventManager, getFirstChild, getIndex, getLastChild, getPropEditClass, getRejectReason, getSerializableChildren, hasAncestor, hasChild, indexOfChild, isContainer, isDesignMode, isEnabled, isLocked, listenToChild, listenToParent, moveChild, moveChild, notifyChildren, notifyParent, registerAllowedChildClass, registerAllowedParentClass, remove, removeChild, removeChildren, setDefinition, setDefinition, setIndex, setLocked, setParent, setRejectReason, updateParentStatepublic void bringToFront()
ElementUIbringToFront in class ElementUIprotected void updateVisibility(boolean visible,
boolean activated)
ElementUIupdateVisibility in class ElementUIvisible - The current visibility state.activated - The current activation state.public void setEnabled(boolean enabled)
setEnabled in class ElementBaseenabled - The enabled state.public void activateChildren(boolean activate)
activateChildren in class ElementUIactivate - The activate status.protected void setDesignContextMenu(org.fujion.component.Menupopup contextMenu)
setDesignContextMenu in class ElementUIcontextMenu - The design menu if design mode is activated, or null if it is not.protected void afterAddChild(ElementBase child)
afterAddChild in class ElementUIchild - The child element added.protected void afterRemoveChild(ElementBase child)
ElementUIafterRemoveChild in class ElementUIchild - The child UI element.public boolean canAcceptChild(Class<? extends ElementBase> clazz)
ElementBasecanAcceptChild in class ElementBaseclazz - Child class to test.public boolean canAcceptChild(ElementBase child)
ElementBasecanAcceptChild in class ElementBasechild - Child instance to test.public void bind()
ElementUIpublic void unbind()
public String getInstanceName()
getInstanceName in class ElementBaseprotected void afterMoveChild(ElementBase child, ElementBase before)
afterMoveChild in class ElementUIchild - Child element that was moved.before - Child element was moved before this one.protected void applyHint()
public String getLabel()
public void setLabel(String label)
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.