public class UIElementStepPane extends UIElementZKBase
autoEnable, autoHide, log, maxChildren| Constructor and Description |
|---|
UIElementStepPane()
Create the ZK components that comprise this UI element.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterMoveTo(int index)
Changes the ordering of a button and its separator.
|
protected void |
applyColor()
Apply color changes to button and pane only.
|
protected void |
applyHint()
Provides a default implementation for setting the hint text of a UI element.
|
protected void |
bind()
Add the ZK components of the child pane to their respective parent components in the view.
|
void |
bringToFront()
Brings this UI element to the front of the UI by making it the active pane.
|
String |
getIcon()
Returns the button image url.
|
String |
getInstanceName()
Returns the instance name to use in the designer.
|
String |
getLabel()
Returns the button label.
|
protected void |
setDesignContextMenu(org.zkoss.zul.Menupopup contextMenu)
Overrides the default behavior to also target the button component.
|
void |
setEnabled(boolean enabled)
Sets the enabled state of the component.
|
void |
setIcon(String value)
Sets the button image from a url.
|
void |
setLabel(String value)
Sets the button label.
|
protected void |
unbind()
Detach the ZK components of the child pane the UI.
|
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, activateChildren, addChild, addChild, afterAddChild, afterInitialize, afterParentChanged, afterRemoveChild, beforeAddChild, beforeInitialize, beforeParentChanged, beforeRemoveChild, canAcceptChild, canAcceptChild, 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 UIElementStepPane()
protected void bind()
bind in class UIElementZKBaseUIElementZKBase.bind()protected void unbind()
unbind in class UIElementZKBaseUIElementZKBase.unbind()public void bringToFront()
bringToFront in class UIElementBaseUIElementBase.bringToFront()protected void afterMoveTo(int index)
afterMoveTo in class UIElementZKBaseindex - New position for element.UIElementZKBase.afterMoveTo(int)public String getInstanceName()
getInstanceName in class UIElementBaseUIElementBase.getInstanceName()protected void applyColor()
applyColor in class UIElementBaseUIElementBase.applyColor()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 updateVisibility(boolean visible,
boolean activated)
UIElementZKBaseupdateVisibility in class UIElementZKBasevisible - The current visibility state.activated - The current activation state.public void setEnabled(boolean enabled)
UIElementBasesetEnabled in class UIElementBaseenabled - The enabled state.public String getLabel()
public void setLabel(String value)
value - The label value.protected void applyHint()
UIElementBaseapplyHint in class UIElementBasepublic String getIcon()
public void setIcon(String value)
value - Url for the button image. May be null or empty.Copyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.