public class UIElementPlugin extends UIElementZKBase implements org.zkoss.zk.ui.ext.Disable, IPropertyAccessor
autoEnable, autoHide, log, maxChildren| Constructor and Description |
|---|
UIElementPlugin()
Sets the container as the wrapped component and registers itself to receive action
notifications from the container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
about()
Displays an about dialog for the UI element.
|
void |
activateChildren(boolean active)
Passes the activation request to the container.
|
void |
afterInitialize(boolean deserializing)
Additional processing of the plugin after it is initialized.
|
void |
destroy()
Passes the destroy event to the container.
|
PluginContainer |
getContainer()
Returns the container wrapped by this UI element.
|
Object |
getPropertyValue(PropertyInfo propInfo)
Delegates retrieval of property values to the container.
|
boolean |
isDisabled() |
void |
setDefinition(PluginDefinition definition)
Also passes the plugin definition to the container.
|
void |
setDesignMode(boolean designMode)
Passes design mode setting to the container.
|
void |
setDisabled(boolean disabled) |
void |
setPropertyValue(PropertyInfo propInfo,
Object value)
Delegates setting of property values to the container.
|
activate, afterMoveTo, applyColor, applyHint, associateComponent, bind, createFromTemplate, createFromTemplate, createFromTemplate, editProperties, fullSize, getAssociatedUIElement, getEnableDesignModeMask, getInnerComponent, getOuterComponent, getParent, getTemplateUrl, hasVisibleElements, moveChild, setDesignContextMenu, setDesignContextMenu, setEnableDesignModeMask, setInnerComponent, setOuterComponent, swapChildren, unbind, updateVisibilityaddChild, addChild, afterAddChild, afterParentChanged, afterRemoveChild, applyColor, applyHint, beforeAddChild, beforeInitialize, beforeParentChanged, beforeRemoveChild, bringToFront, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptChild, canAcceptParent, canAcceptParent, canAcceptParent, canAcceptParent, 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, setEnabled, setHint, setIndex, setLocked, setParent, setRejectReason, setVisible, updateParentState, updateState, updateVisibilitypublic UIElementPlugin()
public void setDefinition(PluginDefinition definition)
setDefinition in class UIElementBasedefinition - The plugin definition.UIElementBase.setDefinition(org.carewebframework.shell.plugins.PluginDefinition)public PluginContainer getContainer()
public void about()
UIElementBaseabout in class UIElementBaseUIElementBase.about()public void activateChildren(boolean active)
activateChildren in class UIElementBaseactive - The activate status.UIElementBase.activateChildren(boolean)public void afterInitialize(boolean deserializing)
throws Exception
afterInitialize in class UIElementBasedeserializing - If true, initialization is occurring as a result of deserialization.Exception - Unspecified exception.UIElementBase.afterInitialize(boolean)public void destroy()
destroy in class UIElementBaseUIElementBase.destroy()public void setDesignMode(boolean designMode)
setDesignMode in class UIElementZKBasedesignMode - If true, design mode is activated.UIElementZKBase.setDesignMode(boolean)public Object getPropertyValue(PropertyInfo propInfo) throws Exception
getPropertyValue in interface IPropertyAccessorpropInfo - The property descriptor.Exception - Unspecified exception.IPropertyAccessor.getPropertyValue(org.carewebframework.shell.property.PropertyInfo)public void setPropertyValue(PropertyInfo propInfo, Object value) throws Exception
setPropertyValue in interface IPropertyAccessorpropInfo - The property descriptor.value - The new value of the property.Exception - Unspecified exception.IPropertyAccessor.setPropertyValue(org.carewebframework.shell.property.PropertyInfo, java.lang.Object)public boolean isDisabled()
isDisabled in interface org.zkoss.zk.ui.ext.DisableDisable.isDisabled()public void setDisabled(boolean disabled)
setDisabled in interface org.zkoss.zk.ui.ext.DisableDisable.setDisabled(boolean)Copyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.