|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.bindings.dbf.ControlBindingImpl
oracle.adfnmc.bindings.dbf.AttributeBindingImpl
public class AttributeBindingImpl
Field Summary | |
---|---|
protected java.lang.String |
attrName
|
protected java.lang.Class |
expectedType
|
Fields inherited from class oracle.adfnmc.bindings.dbf.ControlBindingImpl |
---|
CLASS_INSTANCE, currentError, dataControl, errors, iterBinding, metadataDef, name, parentBindingContainer |
Fields inherited from interface oracle.adfnmc.el.ELResolver |
---|
RESOLVABLE_AT_DESIGN_TIME, TYPE |
Constructor Summary | |
---|---|
AttributeBindingImpl(AttributeValuesDefinition mdDef,
IteratorExecutableBindingImpl iterBinding)
|
|
AttributeBindingImpl(ListDefinition mdDef,
IteratorExecutableBindingImpl iterBinding)
|
|
AttributeBindingImpl(XmlAnyDefinition mdDef,
java.lang.String name,
IteratorExecutableBindingImpl iterBinding,
java.lang.String attrName)
|
Method Summary | |
---|---|
void |
addAttributeValueChangeListener(ValueChangeListener listener)
|
void |
addValueChangeListener(java.lang.String property,
ValueChangeListener listener)
|
void |
addValueListChangeListener(ValueChangeListener listener)
|
void |
attributeUpdated(java.lang.String attrName)
Fires when the value of an attribute of the current row pointed to by an iterator is set. |
java.lang.String |
getBoundAttributeName()
|
java.lang.Integer |
getDisplayHeight()
|
java.lang.String |
getDisplayHint()
|
java.lang.Integer |
getDisplayWidth()
|
java.lang.Class |
getExpectedType()
|
java.lang.String |
getFormat()
|
java.lang.Object |
getInputValue()
Returns the value that should be rendered on a view for the attribute associated with this binding. |
java.lang.Object |
getInputValue(int index)
|
java.lang.String |
getLabel()
Returns the display label or prompt for the attribute represented by this binding. |
java.lang.String |
getLabelHint()
|
java.lang.Boolean |
getMandatory()
|
java.lang.Integer |
getPrecision()
|
protected ELResolver |
getResolver()
|
protected java.lang.String |
getSingleNameValue(XmlAnyDefinition namesDef)
|
protected java.lang.String[] |
getSingleNameValues(List namesDefList)
|
java.lang.String |
getToolTip()
|
java.lang.Boolean |
getUpdateableHint()
|
List |
getValueList()
|
boolean |
isUpdateable()
Finds out whether the attribute is updateable or is for display only. |
protected void |
notifyValueChangeListeners(Set listeners)
|
protected void |
notifyValueListChangeListeners()
|
void |
positionChanged(int absoluteIndex)
Fires when the iterator position is changed to point to a different row. |
void |
rangeRefreshed()
|
void |
refresh()
|
void |
registerForIteratorEvents(IteratorExecutableBindingImpl evtSource)
|
void |
removeAttributeValueChangeListener(ValueChangeListener listener)
|
void |
removeValueChangeListener(java.lang.String property,
ValueChangeListener listener)
|
void |
removeValueListChangeListener(ValueChangeListener listener)
|
void |
rowInserted(java.lang.Object newRow)
|
void |
rowRemoved(java.lang.Object removedRow)
|
void |
setInputValue(java.lang.Object inputVal)
Updates the attribute value associated with this binding. |
void |
unregisterForIteratorEvents(IteratorExecutableBindingImpl evtSource)
|
Methods inherited from class oracle.adfnmc.bindings.dbf.ControlBindingImpl |
---|
containerInitialized, getBindings, getDataControl, getError, getErrors, getIterator, getMetadataDefinition, getName, getPath, getType, getValue, isReadOnly, prepareDeferredIterator, release, reportException, resolvePath, setListener, setValue, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.adfnmc.bindings.AttributeBinding |
---|
getError, getErrors |
Methods inherited from interface oracle.adfnmc.bindings.ControlBinding |
---|
containerInitialized, getBindings, getMetadataDefinition, getName, getPath, release, resolvePath, setListener |
Field Detail |
---|
protected java.lang.String attrName
protected java.lang.Class expectedType
Constructor Detail |
---|
public AttributeBindingImpl(XmlAnyDefinition mdDef, java.lang.String name, IteratorExecutableBindingImpl iterBinding, java.lang.String attrName)
public AttributeBindingImpl(AttributeValuesDefinition mdDef, IteratorExecutableBindingImpl iterBinding)
public AttributeBindingImpl(ListDefinition mdDef, IteratorExecutableBindingImpl iterBinding)
Method Detail |
---|
protected java.lang.String getSingleNameValue(XmlAnyDefinition namesDef)
protected java.lang.String[] getSingleNameValues(List namesDefList)
protected void notifyValueChangeListeners(Set listeners)
protected void notifyValueListChangeListeners()
public java.lang.String getBoundAttributeName()
public List getValueList()
protected ELResolver getResolver()
getResolver
in class ControlBindingImpl
public void refresh()
refresh
in class ControlBindingImpl
public void positionChanged(int absoluteIndex)
IteratorPositionListener
positionChanged
in interface IteratorPositionListener
public void attributeUpdated(java.lang.String attrName)
IteratorAttributeValueListener
attributeUpdated
in interface IteratorAttributeValueListener
attrName
- - Name of the attribute whose value has updatedpublic void rangeRefreshed()
rangeRefreshed
in interface IteratorCollectionListener
public void rowInserted(java.lang.Object newRow)
rowInserted
in interface IteratorCollectionListener
public void rowRemoved(java.lang.Object removedRow)
rowRemoved
in interface IteratorCollectionListener
public void addValueChangeListener(java.lang.String property, ValueChangeListener listener)
addValueChangeListener
in interface PropertyValueChangeSource
property
- Interned property stringpublic void removeValueChangeListener(java.lang.String property, ValueChangeListener listener)
removeValueChangeListener
in interface PropertyValueChangeSource
property
- Interned property stringpublic java.lang.Class getExpectedType()
public java.lang.Object getInputValue()
AttributeBinding
getInputValue
in interface AttributeBinding
public java.lang.Object getInputValue(int index)
public void setInputValue(java.lang.Object inputVal)
AttributeBinding
setInputValue
in interface AttributeBinding
inputVal
- The new attribute value.AttributeBinding.getErrors()
public java.lang.String getLabel()
AttributeBinding
getLabel
in interface AttributeBinding
public boolean isUpdateable()
AttributeBinding
isUpdateable
in interface AttributeBinding
public void registerForIteratorEvents(IteratorExecutableBindingImpl evtSource)
registerForIteratorEvents
in class ControlBindingImpl
public void unregisterForIteratorEvents(IteratorExecutableBindingImpl evtSource)
unregisterForIteratorEvents
in class ControlBindingImpl
public void addAttributeValueChangeListener(ValueChangeListener listener)
public void removeAttributeValueChangeListener(ValueChangeListener listener)
public void addValueListChangeListener(ValueChangeListener listener)
public void removeValueListChangeListener(ValueChangeListener listener)
public java.lang.Integer getDisplayHeight()
public java.lang.Integer getDisplayWidth()
public java.lang.String getDisplayHint()
public java.lang.String getFormat()
public java.lang.String getLabelHint()
public java.lang.Boolean getMandatory()
public java.lang.Integer getPrecision()
public java.lang.String getToolTip()
public java.lang.Boolean getUpdateableHint()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |