public class JUDefaultControlBinding extends JUCtrlAttrsBinding implements java.awt.event.ActionListener
JUImageControlATTR_ATTRIBUTE, ATTR_ATTRIBUTE_DEF, ATTR_ATTRIBUTE_DEFS, ATTR_ATTRIBUTE_VALUE, ATTR_ATTRIBUTE_VALUES, ATTR_ATTRIBUTES, ATTR_AUTOSUBMIT, ATTR_CATEGORY, ATTR_DISPLAY_HEIGHT, ATTR_DISPLAY_HINT, ATTR_DISPLAY_WIDTH, ATTR_FIELD_ORDER, ATTR_FORMAT, ATTR_FORMATS, ATTR_HINTS, ATTR_INPUT_VALUE, ATTR_LABEL, ATTR_LABELS, ATTR_LABELSET, ATTR_MANDATORY, ATTR_PATH, ATTR_TOOLTIP, ATTR_UPDATEABLE, ATTR_VIEWABLE, DATACHANGE_EVENT_POLICY, EMPTY_STRING, GET_ALLOWS, mAttrs, mHasInputVal, mInputVal, SEP_LIST_DISPLAYATTR_CURRENTROW, ATTR_DEF, ATTR_ERROR, ATTR_ERRORS, ATTR_FULLNAME, ATTR_ITER, ATTR_NAME, DC_BINDING_ERROR, mAttributeListener, mInternalGet_KeyResolved, mPermission, mPermissionInfo, ROW_KEY_STRMAP_NULL_VALUE| Modifier | Constructor and Description | 
|---|---|
| protected  | JUDefaultControlBinding()Default constructor for subclassing. | 
|   | JUDefaultControlBinding(JUDefaultControlInterface control,
                       JUIteratorBinding iterBinding,
                       java.lang.String attrName)This constructor should be used in controls/subclasses to pass the binding
 information. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | actionPerformed(java.awt.event.ActionEvent e)Updates the BC4J attribute with the current data value in this binding. | 
| void | addControlToPanel(java.lang.Object panel,
                 java.lang.Object layoutObject,
                 java.lang.Object layoutCons)*** For internal framework use only *** | 
| static JUDefaultControlBinding | createAttributeBinding(JUFormBinding formBinding,
                      JUDefaultControlInterface control,
                      java.lang.String voInstanceName,
                      java.lang.String voIterName,
                      java.lang.String voIterBindingName,
                      java.lang.String attrName)Creates an instance of this binding based on the given binding information. | 
| java.lang.Object | getControlModel(java.lang.Object control)Gets the associated View's model object. | 
| static JUDefaultControlBinding | getInstance(JUFormBinding formBinding,
           JUDefaultControlInterface control,
           java.lang.String voInstanceName,
           java.lang.String voIterName,
           java.lang.String voIterBindingName,
           java.lang.String attrName)Deprecated. 
 since 9.0.2 use createAttributeBinding() instead. | 
| java.lang.Object | getValueAt(int attrIndex)Returns the data that the bound control is displaying. | 
| void | setDataValueAt(java.lang.Object value,
              int attrIndex)This method updates the value this binding holds, as well as 
 updates the BC4J attribute (hence marking the ensuing transaction dirty). | 
| void | setValueAt(java.lang.Object value,
          int attrIndex)Updates the data that this binding holds. | 
createAttributeBinding, isControlQueriable, refreshControl, setControlEnabled, toString, updateValuesFromRow, updateValuesFromRowsaddBindingContainerChangeListenerForCtxEvent, addDataChangeListener, clearAttrDefs, clearEventsCache, compareAndSetAttribute, createAndNotifyDCE, createEventProducer, displayInShortForm, ensureVariableManager, eventForMyRow, fetchAttrDefs, findAttributeDef, generateDCE, getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeDef, getAttributeDef, getAttributeDefs, getAttributeDefsForRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeIndexOf, getAttributeNames, getAttributes, getAttributes, getAttributeUIHelper, getAttributeValidators, getAttributeValidators, getAttributeValue, getAttributeValue, getAttributeValueFromRow, getAttributeValues, getAttributeValues, getAttrViewExpressions, getBindingHint, getCachedEvents, getCategory, getChangeEventPolicy, getColumnNameForQuery, getControlType, getDataChangeEventPolicy, getDataChangeListener, getDisplayHeight, getDisplayHint, getDisplayWidth, getError, getErrors, getEventProducer, getFieldOrder, getFormat, getFormats, getFormattedAttributeValue, getHint, getHint, getHints, getInputErrorsForRowKey, getInputValue, getInputValue, getInputValueHandler, getInputValueInRow, getInputValueOnError, getIteratorBindingForDCE, getIteratorRenderHint, getLabel, getLabel, getLabels, getLabelSet, getLastEventId, getLocaleContext, getMasterKeyPathForDCE, getMergedAttributeValues, getNullValueString, getPath, getPermissionDef, getPermissionHolder, getPermissionInfo, getSelectionDef, getState, getTooltip, getTooltip, hasEventProducer, hasFormatInformation, hasServerBindingChanged, hasVariables, initResources, internalGet, internalGetDataControlReference, internalGetRow, internalHasPermission, internalHasPermission, isArrayIteratorType, isAttributeMandatory, isAttributeUpdateable, isAttributeUpdateable, isAttributeUpdateable, isAttributeUpdateable, isAutoSubmit, isEventsCachingEnabled, isMandatory, isNewInputValue, isNullInsertKeyPathForDCE, isPushDataChangeEvents, isPushOrPollDataChangeEvents, isUpdateable, isViewable, lookupAttributeDef, notifyDataChangeEvent, notifyDataExceptionEvent, notifyDCE, pinDataControl, processInputException, processNewInputValue, put, release, removeAttrName, removeDataChangeListener, removeFromDCExceptions, resetAttributeDefs, resetInputState, resolvePath, restoreFromState, setArrayIteratorType, setAttribute, setAttribute, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeNames, setAttributes, setAttributeValue, setAttributeValuesInRow, setAttrViewExpressions, setDef, setError, setEventProducer, setEventsCaching, setInputValue, setInputValue, setInputValueHandler, setInputValueInRow, setIteratorBinding, setListener, setNullValueString, startEvents, stopEditing, stopEvents, updateNavigated, updateRangeScrolled, updateRow, updateRowDeleted, updateRowInserted, useRowSpecificHints, validateInputValuegetCurrentRow, getFormBinding, getIteratorBinding, reportException, setFormBindingaddToDCExceptions, evaluateBooleanExpression, executeQuery, executeQueryIfNeeded, get, getAllRowsInRange, getApplicationModule, getAttributeListener, getBindingContainer, getControl, getDCIteratorBinding, getDef, getDefFullName, getDefName, getFullName, getLayoutObject, getName, getPermission, getPermissionTargetName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewableExpr, getViewObject, hasAttributeListener, hashCode, internalGetDataControl, internalSetName, isAssociatedWithDataControl, isControlViewable, isReleased, needsEstimatedRowCount, release, reportException, resetAttributeExceptionInRow, setBindingContainer, setControl, setDataControlPinned, setListener, setName, setViewableExprentrySet, equals, internalPut, setThrowIfPropertyNotFoundOnGetclear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitgetErrors, getInputValue, getLabel, isUpdateable, processNewInputValue, setInputValue, validateInputValuerelease, setListenergetName, getPath, release, resolvePath, setListenergetDefFullName, getDefName, getFullName, getNameprotected JUDefaultControlBinding()
public JUDefaultControlBinding(JUDefaultControlInterface control, JUIteratorBinding iterBinding, java.lang.String attrName)
control - Control which should be bound to an attribute of a BC4J row.iterBinding - JUIteratorBinding object that contains a reference to the RowSet Iterator that contains Rows to display.attrName - Name of the attribute in the BC4J Row object to display.public java.lang.Object getControlModel(java.lang.Object control)
getControlModel in class DCControlBindingpublic void addControlToPanel(java.lang.Object panel,
                     java.lang.Object layoutObject,
                     java.lang.Object layoutCons)
addControlToPanel in class JUCtrlAttrsBindingpublic java.lang.Object getValueAt(int attrIndex)
getValueAt in class JUCtrlAttrsBindingpublic void setValueAt(java.lang.Object value,
              int attrIndex)
setValueAt in class JUCtrlAttrsBindingpublic void setDataValueAt(java.lang.Object value,
                  int attrIndex)
setDataValueAt in class JUCtrlAttrsBindingpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic static JUDefaultControlBinding createAttributeBinding(JUFormBinding formBinding, JUDefaultControlInterface control, java.lang.String voInstanceName, java.lang.String voIterName, java.lang.String voIterBindingName, java.lang.String attrName)
formBinding - The containing JUPanelBinding in which the given iterator binding
 would be found/created.control - The control instance to bind to a ViewObject's attribute.voInstanceName - Name of the instance of the ViewObject in a BC4J ApplicationModule.voIterName - Runtime instance name of the iterator in the ViewObject (optional).voIterBindingName - Instance name of the iterator binding that uniquely identifies an
 iterator binding object used to read/write data in this given JUPanelBinding instance.attrName - The name of the attribute of this ViewObject rows that contains data
 to display/edit in the associated control.public static JUDefaultControlBinding getInstance(JUFormBinding formBinding, JUDefaultControlInterface control, java.lang.String voInstanceName, java.lang.String voIterName, java.lang.String voIterBindingName, java.lang.String attrName)