Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.gridView
Interface AutoFitRowRangeCallback


public interface AutoFitRowRangeCallback

Specifies the range of rows to consider in the calculation of automatic sizes for cells. Implement this callback in your application if you want finer control over the range of rows that the view uses than is possible through the AutoFitRowCount property. If no callback is registered with the GridView, then view uses the value of AutoFitRowCount to determine the number of rows it considers in calculating sizes.

See Also:
GridView.setAutoFitRowRangeCallback(oracle.dss.gridView.AutoFitRowRangeCallback), GridView.setAutoFitRowCount(int), GridView.setAutoFitScope(int)

Method Summary
 void endAutoFit()
          The GridView calls this method after it has finished calculating the automatic sizes.
 Range startAutoFit(int row)
          Specifies the range of rows to consider when calculating sizes of cells in a GridView.

 

Method Detail

startAutoFit

public Range startAutoFit(int row)
Specifies the range of rows to consider when calculating sizes of cells in a GridView. The GridView calls this at the start of an autofit operation.
Parameters:
row - The first visible row of the GridView. If the GridView is not visible, then the GridView passes the the first row of the DataSource, which is row zero.
Returns:
The range of rows, inclusive, to use in calculating the automatic sizes.

endAutoFit

public void endAutoFit()
The GridView calls this method after it has finished calculating the automatic sizes.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.