public class UnboundComponentInstance extends BoundComponentInstance
setvalue()
and getString()
This class extends BoundComponentInstance and not ComponentInstance, in order to re-use the
'bound-like' methods, avoid multiple changes to jsp pages which otherwise would have had to
work with 2 variables (boundcomponent and uncomponent) to call methods and properties.
This class should be extended if custom implmentation is required on these 2 methods. Other methods
from super classes can also be overriddenhiddenByProperty
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 |
---|
UnboundComponentInstance() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getString()
Returns the "value" property of the textbox which is only valid in unbound
|
boolean |
isReadOnly()
Overridden to set inputmode as not readonly always.
|
int |
setvalue()
Called when user changes the value in the field.
|
addAttributeError, addSetValueError, applink, cleanup, clearErrors, createChangedPropList, dataRestrictionCheck, datelookup, decrement, exceptionhandled, getApplink, getBoolean, getCurrentError, getDataBean, getDataType, getDataValueInError, getErrorForRow, getExcDialogIcon, getExceptionType, getFieldInfo, getHighestErrorLevel, getInputMode, getInputModeWithoutPasswordPrefix, getLinkBack, getLongDescription, getLookupName, getQbeNameWithPrepend, getRenderIdForAutoFill, getWarningList, getWarningMessages, hasChanged, hasDataChanged, hasLongDescChanged, hasLongDescription, hasReadonlyChanged, hasRequiredChanged, hasWarnings, increment, initialize, instantiatedatasrc, isDataValid, isDefault, isMasked, isOnCurrentRow, isPasswordField, isQuery, isRequired, isRevert, isRowDeleted, isSmartFillEnabled, popexception, processAsyncYesNoCancel, processEdit, processIgnoreWarning, processProfile, processRevert, readOnlyCheck, removeCurrentError, render, resetIsRevert, retryErrorValues, selectvalue, setBoundAsRequired, setcurrentdate, setDataValid, 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 int setvalue()
public java.lang.String getString()
getString
in class BoundComponentInstance
public boolean isReadOnly()
isReadOnly
in class BoundComponentInstance
BoundComponentInstance.isReadOnly()