public class UIElementStepView extends UIElementZKBase
autoEnable, autoHide, log, maxChildren| Constructor and Description |
|---|
UIElementStepView()
Creates the ZK components that comprise this UI element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateChildren(boolean activate)
Activates the active pane.
|
protected void |
beforeRemoveChild(UIElementBase child)
Called before a child is logically removed from the parent.
|
UIElementStepPane |
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 String |
getTemplateUrl()
Url for zul template.
|
protected UIElementStepPane |
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 |
onClick$btnHome()
Activate the home pane.
|
void |
onClick$btnLeft()
Navigate one pane left.
|
void |
onClick$btnRight()
Navigate one pane right.
|
void |
setActivePane(UIElementStepPane 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, afterMoveTo, applyColor, applyHint, associateComponent, bind, createFromTemplate, createFromTemplate, createFromTemplate, editProperties, fullSize, getAssociatedUIElement, getEnableDesignModeMask, getInnerComponent, getOuterComponent, getParent, hasVisibleElements, moveChild, setDesignContextMenu, setDesignContextMenu, setDesignMode, setEnableDesignModeMask, setInnerComponent, setOuterComponent, swapChildren, unbind, updateVisibilityabout, addChild, addChild, afterAddChild, afterInitialize, afterParentChanged, afterRemoveChild, applyColor, applyHint, beforeAddChild, beforeInitialize, beforeParentChanged, bringToFront, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptParent, canAcceptParent, canAcceptParent, canAcceptParent, destroy, findChildElement, getAncestor, getChild, getChild, getChildCount, getChildren, getColor, getDefinition, getDisplayName, getEventManager, getFirstChild, getFirstVisibleChild, getHint, getIndex, getInstanceName, 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, setEnabled, setHint, setIndex, setLocked, setParent, setRejectReason, setVisible, updateParentState, updateVisibilityprotected void beforeRemoveChild(UIElementBase child)
UIElementBasebeforeRemoveChild in class UIElementBasechild - The child UI element.public void activateChildren(boolean activate)
activateChildren in class UIElementBaseactivate - The activate status.UIElementBase.activateChildren(boolean)protected String getTemplateUrl()
getTemplateUrl in class UIElementZKBasepublic void setCaption(String caption)
caption - The caption.public String getCaption()
public UIElementStepPane getActivePane()
public void setActivePane(UIElementStepPane pane)
pane - Step pane to activate.public int getActivePaneIndex()
protected void updateState()
updateState in class UIElementBaseUIElementBase.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 UIElementStepPane nextVisiblePane(boolean forward, int fromIndex)
forward - If true, search forward. Otherwise, search backward.fromIndex - Pane index from which to search.public void onClick$btnLeft()
public void onClick$btnRight()
public void onClick$btnHome()
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 © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.