public class DynamicAttributeComponent extends ComponentInstance implements DataBeanListener
hiddenByProperty
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, popDefinition
EXCEPTION_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, updateStyle
addChild, 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, toString
public static final java.lang.String DYNAMICATTRIBUTE
public static final java.lang.String[] CLASSSPECVALUEATTRIBUTES
public boolean hasChanged()
ComponentInstance
hasChanged
in class ComponentInstance
BoundComponentInstance.hasChanged()
public java.lang.String getProperty(java.lang.String key)
getProperty
in class ComponentInstance
ComponentInstance.getProperty(java.lang.String)
public int render() throws java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
ComponentInstance
If 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 ComponentInstance
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public boolean needsRender()
ComponentInstance
needsRender
in class ComponentInstance
public boolean hasAnyPropertyChanged()
BaseInstance
hasAnyPropertyChanged
in class BaseInstance
public void initialize()
ComponentInstance
initialize
in class ComponentInstance
public void resetAttribute()
public int click() throws java.rmi.RemoteException, MXException
ComponentInstance
click
in class ComponentInstance
java.rmi.RemoteException
MXException
public void dataChangedEvent(DataBean speaker)
dataChangedEvent
in interface DataBeanListener
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener
public void cleanup()
cleanup
in class ComponentInstance