public class DefaultValue extends BoundComponentInstance
ATTRIBUTE_NAME, BAD_BINDING_CSS, bound, BOUND_LABEL, COLUMN_NAME, CSS_CLASS, DATA_ATTRIBUTE, DEFAULT_LABEL, DOMAIN, ENTITY_NAME, EVENT_PRIORITY, FIELD_LABEL, HAS_LONG_DESCRIPTION, HIDE_LABEL, ID, INT_TYPE, INTERNAL, INVALID_BINDING, IS_NUMERIC, IS_PERSISTENT, KEY, LABEL, LABELFORMAT, LENGTH, LONGDESC_ATTRIBUTE_SUFFIX, OBJECT_NAME, PRIORITY_DATATYPE, PRIORITY_FLUSH, PRIORITY_VALIDATION, QUERY, REMARKS, SCALE, SIZE, SYNCHRONOUS, TAKESVALUE, TITLE, TRUELENGTH, TYPEAHEADATTRS
CLASSSPECVALUEATTRIBUTES, 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 |
---|
DefaultValue() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLongDescription()
Returns the long description value of this component.
|
java.lang.String |
getString()
We know what the default value on the bean is: we have set it, no need to ask again
|
boolean |
hasChanged()
Returns true if there has been a change to the component's data, readonly, or required states.
|
boolean |
hasDataChanged()
Returns the value of the datachanged flag that was set by the a call to hasChanged().
|
boolean |
hasLongDescChanged()
Returns the value of the longDescChanged flag that was set by the a call to hasChanged().
|
boolean |
hasLongDescription()
Returns true if the component actually has a non-empty long description value.
|
boolean |
hasReadonlyChanged()
Returns the value of the readonlychanged flag that was set by the a call to hasChanged().
|
boolean |
hasRequiredChanged()
Returns the value of the requiredchanged flag that was set by the a call to hasChanged().
|
void |
instantiatedatasrc()
A broadcast event method that binds the component to the component's databean.
|
boolean |
isDataValid()
Deprecated.
|
boolean |
isReadOnly()
Returns true if this component (or linked component) is defined as readonly in the mbo, or if the inputmode is
readonly in the presentation xml.
|
boolean |
isRequired()
Returns true if this component is defined as required in the mbo, or if the inputmode is required in the
presentation xml.
|
void |
setDataValid(boolean isDataValid)
Deprecated.
|
addAttributeError, addSetValueError, applink, cleanup, clearClassification, clearErrors, createChangedPropList, dataRestrictionCheck, datelookup, decrement, exceptionhandled, getApplink, getBoolean, getCurrentError, getDataBean, getDataType, getDataValueInError, getErrorForRow, getExcDialogIcon, getExceptionType, getFieldInfo, getHighestErrorLevel, getInputMode, getInputModeWithoutPasswordPrefix, getLinkBack, getLookupName, getQbeNameWithPrepend, getReadonlyStateMap, getRenderIdForAutoFill, getWarningList, getWarningMessages, hasWarnings, increment, initialize, isDefault, isMasked, isOnCurrentRow, isPasswordField, isQuery, isRevert, isRowDeleted, isSmartFillEnabled, popexception, processAsyncYesNoCancel, processEdit, processIgnoreWarning, processProfile, processRevert, readOnlyCheck, removeCurrentError, render, resetIsRevert, retryErrorValues, selectvalue, setBoundAsRequired, setcurrentdate, setDataValueInError, updateCachedDataValue, useMaxLength
click, dataChangedEvent, getProperty, hasAnyPropertyChanged, needsRender, resetAttribute, structureChangedEvent
action, broadcastEvent, canChangeRowFocus, clearChangedFlag, clearUIUpdates, controlPropertyChanged, fetchtooltip, findComponentByDescriptorId, findProperty, formatLabel, formatLabel, getChildrenDesignOnly, getClickState, getComponentContainerId, getControl, getCssClass, getCurrent, getCurrentUpdates, getDesignerSelected, getErrorInfo, getFocusRenderId, getId, getId, getIdWithoutRow, getLabelForRenderId, getLabelledByRenderId, getLinkedComponentInstance, getMenuType, getOriginalProperty, getRenderId, getUpdatedAttributes, getUpdatedStyles, hasChildren, hasComponents, hasLocalProperty, hasMaskedChanged, hasUnappliedUIUpdates, hiddenByProp, hiddenByProperty, isAsyncEnabled, isChild, isComponent, isDefaultRender, isDisabled, isHoversActive, isIncluded, 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 boolean hasChanged()
BoundComponentInstance
hasChanged
in class BoundComponentInstance
BoundComponentInstance.hasChanged()
public boolean hasDataChanged()
BoundComponentInstance
hasDataChanged
in class BoundComponentInstance
public boolean hasLongDescChanged()
BoundComponentInstance
hasLongDescChanged
in class BoundComponentInstance
public boolean hasReadonlyChanged()
BoundComponentInstance
hasReadonlyChanged
in class BoundComponentInstance
public boolean hasRequiredChanged()
BoundComponentInstance
hasRequiredChanged
in class BoundComponentInstance
public void setDataValid(boolean isDataValid)
BoundComponentInstance
setDataValid
in class BoundComponentInstance
public boolean isDataValid()
isDataValid
in class BoundComponentInstance
public void instantiatedatasrc()
BoundComponentInstance
instantiatedatasrc
in class BoundComponentInstance
public java.lang.String getString()
getString
in class BoundComponentInstance
public boolean isReadOnly()
BoundComponentInstance
isReadOnly
in class BoundComponentInstance
public boolean isRequired()
BoundComponentInstance
isRequired
in class BoundComponentInstance
public java.lang.String getLongDescription()
BoundComponentInstance
getLongDescription
in class BoundComponentInstance
public boolean hasLongDescription()
BoundComponentInstance
Note: this is different from the HAS_LONG_DESCRIPTION property which only indicates whether the component IS ALLOWED to have a long description.
hasLongDescription
in class BoundComponentInstance