Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.adf.model
Interface RangeBinding

All Superinterfaces:
ControlBinding, RangeBinding

public interface RangeBinding
extends ControlBinding, RangeBinding

A ControlBinding that binds a single attribute value exposed via a datacontrol to a view component.


Method Summary
 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 x)
          Designates a given index as the current row.
 
Methods inherited from interface oracle.adf.model.ControlBinding
release, setListener
 
Methods inherited from interface oracle.binding.ControlBinding
getName, getPath, release, resolvePath, setListener
 

Method Detail

getLabelSet

java.lang.String[] getLabelSet()
Description copied from interface: RangeBinding
Returns the display label or prompt for the all the attributes represented by this binding.

Specified by:
getLabelSet in interface RangeBinding
Returns:
An array of the display label or prompt strings, one per attribute represented by this AttributesBinding.

getCurrentRowIndex

int getCurrentRowIndex()
Description copied from interface: RangeBinding
Returns the index of the current row.

Specified by:
getCurrentRowIndex in interface RangeBinding
Returns:
The index of the current row.

setCurrentRowAtIndex

void setCurrentRowAtIndex(int x)
Description copied from interface: RangeBinding
Designates a given index as the current row.

Specified by:
setCurrentRowAtIndex in interface RangeBinding
Parameters:
x - the index of the new current row.

getRangeSet

java.util.List getRangeSet()
Description copied from interface: RangeBinding
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:
  • index - returns index of the row
  • key - returns Key of the row
  • keyStr - 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
  • Specified by:
    getRangeSet in interface RangeBinding
    Returns:
    A list of Map elements as described above.

    Oracle Fusion Middleware Java API Reference for Oracle ADF Model
    11g Release 2 (11.1.2.0.0)

    E17483-01

    Copyright © 1997, 2011, Oracle. All rights reserved.