|
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 ControlBindingImpl
public void containerInitialized(BindingContainer container)
ControlBindingImpl
containerInitialized
in interface ControlBinding
containerInitialized
in class ControlBindingImpl
public void registerForIteratorEvents(IteratorExecutableBindingImpl evtSource)
registerForIteratorEvents
in class ControlBindingImpl
public void unregisterForIteratorEvents(IteratorExecutableBindingImpl evtSource)
unregisterForIteratorEvents
in class ControlBindingImpl
public 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 ICollectionModel
public int getElementCount()
ICollectionModel
getElementCount
in interface ICollectionModel
public int getEstimatedTotalElementCount()
ICollectionModel
getEstimatedTotalElementCount
in interface ICollectionModel
public int getLoadedElementCount()
ICollectionModel
getLoadedElementCount
in interface ICollectionModel
public boolean hasNextElement()
ICollectionModel
hasNextElement
in interface ICollectionModel
public int iterateOverElements(int startIndex, int count, ICollectionModelElementIndexChangeDelegate listener)
ICollectionModel
iterateOverElements
in interface ICollectionModel
startIndex
- count
- - the number of elements to iterate over requested by the callerlistener
- - caller supplied delegate
public int getCurrentModelIndex()
ICollectionModel
getCurrentModelIndex
in interface ICollectionModel
public void setModelIndex(int index)
ICollectionModel
setModelIndex
in interface ICollectionModel
public int getRangeSize()
ICollectionModel
getRangeSize
in interface ICollectionModel
public int setRangeSize(int size)
setRangeSize
in interface ICollectionModel
public int getRangeStart()
ICollectionModel
getRangeStart
in interface ICollectionModel
public void setRangeStart(int index)
ICollectionModel
setRangeStart
in interface ICollectionModel
index
- absolute index of the element to start the next range onpublic int getIndexOfRowFromKey(java.lang.Object key)
getIndexOfRowFromKey
in interface ICollectionModel
public java.lang.Object getRowKeyAtIndex(int index)
getRowKeyAtIndex
in interface ICollectionModel
public void setVariableIndex(int index, ICollectionModelElementIndexChangeDelegate listener)
ICollectionModel
setVariableIndex
in interface ICollectionModel
public void setVariableName(java.lang.String name)
setVariableName
in interface ICollectionModel
public void addCollectionModelListener(ICollectionModelListener listener)
addCollectionModelListener
in interface ICollectionModel
public void removeCollectionModelListener(ICollectionModelListener listener)
removeCollectionModelListener
in interface ICollectionModel
public void positionChanged(int absoluteIndex)
IteratorPositionListener
positionChanged
in interface IteratorPositionListener
public 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 attributeUpdated(java.lang.String attrName)
IteratorAttributeValueListener
attributeUpdated
in interface IteratorAttributeValueListener
attrName
- - Name of the attribute whose value has updatedpublic void attributeUpdated(java.lang.String attrName, java.lang.Object key)
IteratorKeyedAttributeValueListener
attributeUpdated
in interface IteratorKeyedAttributeValueListener
attrName
- - Name of the attribute whose value has updatedkey
- - The primary key of the row the updated attributepublic int getCurrentRowIndex()
RangeBinding
getCurrentRowIndex
in interface RangeBinding
public java.lang.String[] getLabelSet()
RangeBinding
getLabelSet
in interface RangeBinding
public List getRangeSet()
RangeBinding
index
- 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 RangeBinding
public void setCurrentRowAtIndex(int index)
RangeBinding
setCurrentRowAtIndex
in interface RangeBinding
index
- the index of the new current row.public SortCriterion[] getSortCriteria()
RangeBinding
getSortCriteria
in interface RangeBinding
public void setSortCriteria(SortCriterion[] criteria)
RangeBinding
setSortCriteria
in interface RangeBinding
public void applySortCriteria()
RangeBinding
applySortCriteria
in interface RangeBinding
public 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 |