public class DynamicAttributeComponent extends ComponentInstance implements DataBeanListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CLASSSPECVALUEATTRIBUTES |
static java.lang.String |
DYNAMICATTRIBUTE |
CLICKABLE_OFF, CLICKABLE_ON, CONTAINER_ERROR, CONTAINER_ERROR_IMAGE, CONTAINER_WARNING, CONTAINER_WARNING_IMAGE, LOG_CATEGORY, NOT_CLICKABLE, popDefinitionEXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST| Constructor and Description |
|---|
DynamicAttributeComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
int |
click()
Handles a click event.
|
void |
dataChangedEvent(DataBean speaker) |
java.lang.String |
getProperty(java.lang.String key) |
boolean |
hasAnyPropertyChanged()
Checks to see if any property has changed on the control since the last time the control was rendered or 'refreshed'.
|
boolean |
hasChanged()
Has something changed requiring this component to get a render?
|
void |
initialize()
should be extended to do any setup required by the instance.
|
boolean |
needsRender()
Returns true if it's control needs render, false if it is a refresh
|
int |
render()
Renders the component.
|
void |
resetAttribute() |
void |
structureChangedEvent(DataBean speaker) |
action, broadcastEvent, canChangeRowFocus, clearChangedFlag, clearUIUpdates, controlPropertyChanged, fetchtooltip, findComponentByDescriptorId, findProperty, formatLabel, formatLabel, getApplink, getChildrenDesignOnly, getClickState, getComponentContainerId, getControl, getCssClass, getCurrent, getCurrentUpdates, getDataBean, getDesignerSelected, getErrorInfo, getFocusRenderId, getId, getId, getIdWithoutRow, getLabelForRenderId, getLabelledByRenderId, getLinkedComponentInstance, getLookupName, getMenuType, getOriginalProperty, getRenderId, getUpdatedAttributes, getUpdatedStyles, hasChildren, hasComponents, hasLocalProperty, hasMaskedChanged, hasUnappliedUIUpdates, hiddenByProp, hiddenByProperty, isAsyncEnabled, isChild, isComponent, isDefaultRender, isDisabled, isHoversActive, isIncluded, isMasked, isOnTableFilterRow, isOnTableRow, isOnTableTitleRow, isVisible, query, renderChildComponents, renderChildrenControls, rerendering, setChangedFlag, setChangedFlag, setComponentContainerId, setControl, setFocus, setIsHoversActive, setLabelFormat, showMenu, showMenubarMenu, signout, skipRender, updateAttribute, updateStyle, updateStyleaddChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, handleEvent, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toStringpublic static final java.lang.String DYNAMICATTRIBUTE
public static final java.lang.String[] CLASSSPECVALUEATTRIBUTES
public boolean hasChanged()
ComponentInstancehasChanged in class ComponentInstanceBoundComponentInstance.hasChanged()public java.lang.String getProperty(java.lang.String key)
getProperty in class ComponentInstanceComponentInstance.getProperty(java.lang.String)public int render()
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
ComponentInstanceIf a component is marked with a rendercomponent, it will be set to the control so that the children can check to see if their renderid matches. If it does, they will render.
render in class ComponentInstancejava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic boolean needsRender()
ComponentInstanceneedsRender in class ComponentInstancepublic boolean hasAnyPropertyChanged()
BaseInstancehasAnyPropertyChanged in class BaseInstancepublic void initialize()
ComponentInstanceinitialize in class ComponentInstancepublic void resetAttribute()
public int click()
throws java.rmi.RemoteException,
MXException
ComponentInstanceclick in class ComponentInstancejava.rmi.RemoteExceptionMXExceptionpublic void dataChangedEvent(DataBean speaker)
dataChangedEvent in interface DataBeanListenerpublic void structureChangedEvent(DataBean speaker)
structureChangedEvent in interface DataBeanListenerpublic void cleanup()
cleanup in class ComponentInstance