|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.0.0) E17492-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.view.faces.bi.component.pivotTable.Selection
public class Selection
Represents the selection in a Pivot Table. The selection is a set of ranges of cells, where each range is either a single-cell range or a multi-cell range. A valid selection must obey the following restrictions. These restrictions are enforced by the UI at runtime, and must be honored by application-specified selections as well.
SelectionSet
s may be non-empty at any time.
Constructor Summary | |
---|---|
Selection()
Creates a new, empty selection. |
Method Summary | |
---|---|
void |
clear()
Clears the selection, so that nothing is selected. |
boolean |
equals(java.lang.Object object)
Compares the specified object with this selection for equality. |
HeaderCellSelectionSet |
getColumnHeaderCells()
Returns the HeaderCellSelectionSet containing the selected column header cells. |
DataCellSelectionSet |
getDataCells()
Returns the DataCellSelectionSet containing the selected datacells. |
protected DataModel |
getDataModel()
Returns the data model used by this selection. |
protected PivotTableModel |
getPivotTableModel()
Deprecated. Use the getDataModel method instead. |
HeaderCellSelectionSet |
getRowHeaderCells()
Returns the HeaderCellSelectionSet containing the selected row header cells. |
int |
hashCode()
|
protected void |
setDataModel(DataModel model)
Sets the data model on the selection. |
protected void |
setPivotTableModel(PivotTableModel model)
Deprecated. Use the setDataModel method instead. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Selection()
Method Detail |
---|
public void clear()
public HeaderCellSelectionSet getColumnHeaderCells()
HeaderCellSelectionSet
containing the selected column header cells.
HeaderCellSelectionSet
containing the selected column header cells.
Possibly empty, but never null.public HeaderCellSelectionSet getRowHeaderCells()
HeaderCellSelectionSet
containing the selected row header cells.
HeaderCellSelectionSet
containing the selected row header cells.
Possibly empty, but never null.public DataCellSelectionSet getDataCells()
DataCellSelectionSet
containing the selected datacells.
DataCellSelectionSet
containing the selected datacells.
Possibly empty, but never null.protected void setDataModel(DataModel model)
model
- the data modelprotected DataModel getDataModel()
@Deprecated protected void setPivotTableModel(PivotTableModel model)
setDataModel
method instead.
model
- the Pivot Table model@Deprecated protected PivotTableModel getPivotTableModel()
getDataModel
method instead.
public boolean equals(java.lang.Object object)
true
if and only if the specified object is a Selection
object whose three
SelectionSet
s are equal to those of this Selection
, respectively.
equals
in class java.lang.Object
object
- the object to test for equality
true
if the specified object is equal to this object; false
otherwisepublic int hashCode()
hashCode
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.0.0) E17492-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |