Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adfmf.bindings
Interface RangeBinding

All Superinterfaces:
ControlBinding

public interface RangeBinding
extends ControlBinding

A ControlBinding that binds multiple attribute values exposed via a datacontrol to a view component, and manages access to current ranges and position within the attribute collection. It can be used for binding the detail rows in a master-detail relationship.
This interface is implemented by the data binding framework, and is made available to the View components through the binding container.


Method Summary
 void applySortCriteria()
          Apply the sort criteria
 void applySortCriteria(boolean inMemory)
          Apply the sort criteria
 int getCurrentRowIndex()
          Returns the index of the current row.
 java.lang.String[] getLabelSet()
          Returns the display label or prompt for the all the attributes represented by this binding.
 java.util.List getRangeSet()
          Returns a list of Map elements over the range of rows.
 void setCurrentRowAtIndex(int index)
          Designates a given index as the current row.

 

Methods inherited from interface oracle.adfmf.bindings.ControlBinding
containerInitialized, getBindings, getMetadataDefinition, getName, release

 

Method Detail

getLabelSet

java.lang.String[] getLabelSet()
Returns the display label or prompt for the all the attributes represented by this binding.
Returns:
An array of the display label or prompt strings, one per attribute represented by this AttributesBinding.

getCurrentRowIndex

int getCurrentRowIndex()
Returns the index of the current row.
Returns:
The index of the current row.

setCurrentRowAtIndex

void setCurrentRowAtIndex(int index)
Designates a given index as the current row.
Parameters:
index - the index of the new current row.

getRangeSet

java.util.List getRangeSet()
Returns a list of Map elements over the range of rows. The elements in this list are wrapper objects over the indexed row in the range that restricts access to only the attributes that this control-binding is bound to. The map exposes the following properties for each row in the range: