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


oracle.dss.gridView
Interface AutoFitColumnRangeCallback


public interface AutoFitColumnRangeCallback

Specifies the range of columns 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 columns that the view uses than is possible through the AutoFitColumnCount property. If no callback is registered with the GridView, then view uses the value of AutoFitColumnCount to determine the number of columns it considers in calculating sizes.

See Also:
GridView.setAutoFitColumnRangeCallback(oracle.dss.gridView.AutoFitColumnRangeCallback), GridView.setAutoFitColumnCount(int), GridView.setAutoFitScope(int)

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

 

Method Detail

startAutoFit

public Range startAutoFit(int column)
Specifies the range of columns 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 column of the GridView. If the GridView is not visible, then the GridView passes the the first column of the DataSource, which is column zero.
Returns:
The range of columns, 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.