|
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.RangeBindingImpl
public class RangeBindingImpl
| Field Summary | |
|---|---|
static java.lang.Class |
CLASS_INSTANCE
|
| Fields inherited from class oracle.adfnmc.bindings.dbf.ControlBindingImpl |
|---|
currentError, dataControl, errors, iterBinding, metadataDef, name, parentBindingContainer |
| Fields inherited from interface oracle.adfnmc.el.ELResolver |
|---|
RESOLVABLE_AT_DESIGN_TIME, TYPE |
| Constructor Summary | |
|---|---|
RangeBindingImpl(TreeBindingDefinition mdDef,
IteratorExecutableBindingImpl iterBinding)
|
|
RangeBindingImpl(XmlAnyDefinition mdDef,
java.lang.String name,
IteratorExecutableBindingImpl iterBinding)
|
|
| Method Summary | |
|---|---|
void |
addCollectionModelListener(ICollectionModelListener listener)
|
void |
addColumnAttributeBinding(java.lang.String columnName,
java.lang.String binds)
|
void |
applySortCriteria()
-DRM added |
void |
applySortCriteria(boolean inMemory)
-DRM added |
void |
attributeUpdated(java.lang.String attrName)
Fires when the value of an attribute of the current row pointed to by an iterator is set. |
void |
attributeUpdated(java.lang.String attrName,
java.lang.Object key)
Fires when the value of an attribute of any row on a collection pointed to by an iterator is set. |
void |
containerInitialized(BindingContainer container)
Overriding implementations should always call this base implementation before returning to set the parent container |
ControlBinding |
getBinding()
|
ICollectionModel |
getCollectionModel()
|
IndexedAttributeBindingImpl |
getColumnBinding(java.lang.String name)
|
int |
getCurrentModelIndex()
Get the current underlying model index. |
int |
getCurrentRowIndex()
Returns the index of the current row. |
int |
getElementCount()
Get the total count of elements in the underlying model This may load in all possible elements if they have not been already, if the model is page based |
int |
getEstimatedTotalElementCount()
Get the total possible count of elements that can be loaded into the underlying model |
int |
getIndexOfRowFromKey(java.lang.Object key)
|
java.lang.String[] |
getLabelSet()
Returns the display label or prompt for the all the attributes represented by this binding. |
int |
getLoadedElementCount()
Get the count of elements presently loaded into the underlying model |
List |
getRangeSet()
Returns a list of Map elements over the range of rows. |
int |
getRangeSize()
Get the range size of the underlying page based model collection |
int |
getRangeStart()
Get the start index of the range of elements the underlying page based model is positioned on |
protected ELResolver |
getResolver()
|
java.lang.Object |
getRowKeyAtIndex(int index)
|
SortCriterion[] |
getSortCriteria()
-DRM added |
boolean |
hasNextElement()
Returns false if the collection model is positioned on the last element in the underlying model |
int |
iterateOverElements(int startIndex,
int count,
ICollectionModelElementIndexChangeDelegate listener)
For some number of elements in a collection, position the evaluation index such that it points to the next element and call a notification through the listener interface. |
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 |
removeCollectionModelListener(ICollectionModelListener listener)
|
void |
rowInserted(java.lang.Object newRow)
|
void |
rowRemoved(java.lang.Object removedRow)
|
void |
setCurrentRowAtIndex(int index)
Designates a given index as the current row. |
void |
setModelIndex(int index)
Set the actual underlying model index to the specified value. |
int |
setRangeSize(int size)
|
void |
setRangeStart(int index)
Set the start index of the range of elements to position the underlying page based model on |
void |
setSortCriteria(SortCriterion[] criteria)
-DRM added |
void |
setVariableIndex(int index,
ICollectionModelElementIndexChangeDelegate listener)
Set the evaluation index to the specified index for the length of the call. |
void |
setVariableName(java.lang.String name)
|
void |
unregisterForIteratorEvents(IteratorExecutableBindingImpl evtSource)
|
| Methods inherited from class oracle.adfnmc.bindings.dbf.ControlBindingImpl |
|---|
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.ControlBinding |
|---|
getBindings, getMetadataDefinition, getName, getPath, release, resolvePath, setListener |
| Field Detail |
|---|
public static final java.lang.Class CLASS_INSTANCE
| Constructor Detail |
|---|
public RangeBindingImpl(XmlAnyDefinition mdDef,
java.lang.String name,
IteratorExecutableBindingImpl iterBinding)
public RangeBindingImpl(TreeBindingDefinition mdDef,
IteratorExecutableBindingImpl iterBinding)
| Method Detail |
|---|
protected ELResolver getResolver()
getResolver in class ControlBindingImplpublic void containerInitialized(BindingContainer container)
ControlBindingImpl
containerInitialized in interface ControlBindingcontainerInitialized in class ControlBindingImplpublic void registerForIteratorEvents(IteratorExecutableBindingImpl evtSource)
registerForIteratorEvents in class ControlBindingImplpublic void unregisterForIteratorEvents(IteratorExecutableBindingImpl evtSource)
unregisterForIteratorEvents in class ControlBindingImplpublic void refresh()
refresh in class ControlBindingImpl
public void addColumnAttributeBinding(java.lang.String columnName,
java.lang.String binds)
public IndexedAttributeBindingImpl getColumnBinding(java.lang.String name)
public ICollectionModel getCollectionModel()
public ControlBinding getBinding()
getBinding in interface ICollectionModelpublic int getElementCount()
ICollectionModel
getElementCount in interface ICollectionModelpublic int getEstimatedTotalElementCount()
ICollectionModel
getEstimatedTotalElementCount in interface ICollectionModelpublic int getLoadedElementCount()
ICollectionModel
getLoadedElementCount in interface ICollectionModelpublic boolean hasNextElement()
ICollectionModel
hasNextElement in interface ICollectionModel
public int iterateOverElements(int startIndex,
int count,
ICollectionModelElementIndexChangeDelegate listener)
ICollectionModel
iterateOverElements in interface ICollectionModelstartIndex - count - - the number of elements to iterate over requested by the callerlistener - - caller supplied delegate
public int getCurrentModelIndex()
ICollectionModel
getCurrentModelIndex in interface ICollectionModelpublic void setModelIndex(int index)
ICollectionModel
setModelIndex in interface ICollectionModelpublic int getRangeSize()
ICollectionModel
getRangeSize in interface ICollectionModelpublic int setRangeSize(int size)
setRangeSize in interface ICollectionModelpublic int getRangeStart()
ICollectionModel
getRangeStart in interface ICollectionModelpublic void setRangeStart(int index)
ICollectionModel
setRangeStart in interface ICollectionModelindex - absolute index of the element to start the next range onpublic int getIndexOfRowFromKey(java.lang.Object key)
getIndexOfRowFromKey in interface ICollectionModelpublic java.lang.Object getRowKeyAtIndex(int index)
getRowKeyAtIndex in interface ICollectionModel
public void setVariableIndex(int index,
ICollectionModelElementIndexChangeDelegate listener)
ICollectionModel
setVariableIndex in interface ICollectionModelpublic void setVariableName(java.lang.String name)
setVariableName in interface ICollectionModelpublic void addCollectionModelListener(ICollectionModelListener listener)
addCollectionModelListener in interface ICollectionModelpublic void removeCollectionModelListener(ICollectionModelListener listener)
removeCollectionModelListener in interface ICollectionModelpublic void positionChanged(int absoluteIndex)
IteratorPositionListener
positionChanged in interface IteratorPositionListenerpublic void rangeRefreshed()
rangeRefreshed in interface IteratorCollectionListenerpublic void rowInserted(java.lang.Object newRow)
rowInserted in interface IteratorCollectionListenerpublic void rowRemoved(java.lang.Object removedRow)
rowRemoved in interface IteratorCollectionListenerpublic void attributeUpdated(java.lang.String attrName)
IteratorAttributeValueListener
attributeUpdated in interface IteratorAttributeValueListenerattrName - - Name of the attribute whose value has updated
public void attributeUpdated(java.lang.String attrName,
java.lang.Object key)
IteratorKeyedAttributeValueListener
attributeUpdated in interface IteratorKeyedAttributeValueListenerattrName - - Name of the attribute whose value has updatedkey - - The primary key of the row the updated attributepublic int getCurrentRowIndex()
RangeBinding
getCurrentRowIndex in interface RangeBindingpublic java.lang.String[] getLabelSet()
RangeBinding
getLabelSet in interface RangeBindingpublic List getRangeSet()
RangeBindingindex - returns index of the rowkey - returns Key of the rowkeyStr - returns String format of the key of the row at this index()currencyString - if this row is the current row, returns "*" else returns a space.attributeValues - returns an array of attribute values for attributes that are bound
to this row
getRangeSet in interface RangeBindingpublic void setCurrentRowAtIndex(int index)
RangeBinding
setCurrentRowAtIndex in interface RangeBindingindex - the index of the new current row.public SortCriterion[] getSortCriteria()
RangeBinding
getSortCriteria in interface RangeBindingpublic void setSortCriteria(SortCriterion[] criteria)
RangeBinding
setSortCriteria in interface RangeBindingpublic void applySortCriteria()
RangeBinding
applySortCriteria in interface RangeBindingpublic void applySortCriteria(boolean inMemory)
RangeBinding
applySortCriteria in interface RangeBinding
|
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 | ||||||||