public class ElementStepView extends ElementUI
autoEnable, autoHide, EVENT_ELEMENT_ACTIVATE, EVENT_ELEMENT_INACTIVATE, log| Constructor and Description |
|---|
ElementStepView()
Creates the UI components that comprise this UI element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateChildren(boolean activate)
Activates the active pane.
|
protected void |
afterMoveChild(ElementBase child,
ElementBase before)
Element has been moved to a different position under this parent.
|
protected void |
beforeRemoveChild(ElementBase child)
Called before a child is logically removed from the parent.
|
ElementStepPane |
getActivePane()
Returns the currently active pane, or null if no pane is active.
|
int |
getActivePaneIndex()
Returns the index of the active pane, or -1 if no pane is active.
|
String |
getCaption()
Returns the caption of the panel.
|
boolean |
getNoHome()
Returns true if home pane is suppressed.
|
boolean |
getNoNavigation()
Returns true if navigation controls are suppressed.
|
ThemeUtil.PanelStyle |
getStyle()
Returns the panel style to use for the desktop.
|
protected ElementStepPane |
nextVisiblePane(boolean forward,
int fromIndex)
Returns the next visible pane before/after the specified one.
|
protected int |
nextVisiblePaneIndex(boolean forward,
int fromIndex)
Returns the index of the next visible pane before/after the specified one.
|
void |
setActivePane(ElementStepPane pane)
Sets the active pane.
|
void |
setCaption(String caption)
Sets the caption.
|
void |
setNoHome(boolean noHome)
Set to true to suppress home pane.
|
void |
setNoNavigation(boolean noNavigation)
Set to true to suppress navigation controls.
|
void |
setStyle(ThemeUtil.PanelStyle style)
Sets the panel style to use for the desktop.
|
protected void |
updateNavigationElements()
Update any navigation elements based on the currently active pane.
|
protected void |
updateState()
Updates the state of child components.
|
activate, addTrigger, afterAddChild, afterParentChanged, afterRemoveChild, 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, updateVisibility, updateVisibilityabout, addChild, addChild, afterInitialize, beforeAddChild, beforeInitialize, 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, updateParentStatepublic ElementStepView()
protected void beforeRemoveChild(ElementBase child)
ElementBasebeforeRemoveChild in class ElementBasechild - The child UI element.public void activateChildren(boolean activate)
activateChildren in class ElementUIactivate - The activate status.ElementUI.activateChildren(boolean)public void setCaption(String caption)
caption - The caption.public String getCaption()
public ElementStepPane getActivePane()
public void setActivePane(ElementStepPane pane)
pane - Step pane to activate.public int getActivePaneIndex()
protected void updateState()
updateState in class ElementUIElementBase.updateState()protected void updateNavigationElements()
protected int nextVisiblePaneIndex(boolean forward,
int fromIndex)
forward - If true, search forward. Otherwise, search backward.fromIndex - Pane index from which to search.protected ElementStepPane nextVisiblePane(boolean forward, int fromIndex)
forward - If true, search forward. Otherwise, search backward.fromIndex - Pane index from which to search.protected void afterMoveChild(ElementBase child, ElementBase before)
ElementUIafterMoveChild in class ElementUIchild - Child element that was moved.before - Child element was moved before this one.public boolean getNoNavigation()
public void setNoNavigation(boolean noNavigation)
noNavigation - True to suppress navigation controls.public boolean getNoHome()
public void setNoHome(boolean noHome)
noHome - Home suppression flag.public ThemeUtil.PanelStyle getStyle()
public void setStyle(ThemeUtil.PanelStyle style)
style - The panel style.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.