|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
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.CellRange
oracle.adf.view.faces.bi.component.pivotTable.DataCellRange
public class DataCellRange
Represents the rectangular range of datacells from the specified start cell at the top left to the specified end cell at the bottom right, inclusive. (In RTL, the start cell is at the top right, and the end cell is at the bottom left.)
Constructor Summary | |
---|---|
DataCellRange(DataCellKey key) Creates a single-cell range (a range consisting of a single datacell). |
|
DataCellRange(DataCellKey startKey, DataCellIndex startIndex, DataCellKey endKey, DataCellIndex endIndex) Creates a rectangular range of datacells, spanning one or more rows and one or more columns. |
|
DataCellRange(DataCellKey startKey, DataCellKey endKey) Deprecated. This constructor can have severe performance consequences. Use the 4-arg constructor instead. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object) Indicates whether the specified object is equal to this range. |
DataCellIndex |
getEndIndex() Deprecated. Please use getEndIndex(DataModel) instead. |
DataCellIndex |
getEndIndex(DataModel model) Returns the end index of a multi-cell range, or null for a single-cell range. |
DataCellKey |
getEndKey() Returns the end key of a multi-cell range, or null for a single-cell range |
DataCellIndex |
getStartIndex() Deprecated. Please use getStartIndex(DataModel) instead. |
DataCellIndex |
getStartIndex(DataModel model) Returns the start index of a multi-cell range, or the index of a single-cell range. |
DataCellKey |
getStartKey() Returns the start key of a multi-cell range, or the key of a single-cell range. |
int |
hashCode() |
boolean |
isSingleCell() Indicates whether this range consists of a single cell or multiple cells. |
void |
setEndIndex(DataCellIndex endIndex) Deprecated. Do not use. |
void |
setStartIndex(DataCellIndex startIndex) Deprecated. Do not use. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataCellRange(DataCellKey key)
key
- the key of the datacell to include in this range
@Deprecated
public DataCellRange(DataCellKey startKey,
DataCellKey endKey)
startKey
- the key of the first datacell in this range, inclusiveendKey
- the key of the last datacell in this range, inclusivepublic DataCellRange(DataCellKey startKey, DataCellIndex startIndex, DataCellKey endKey, DataCellIndex endIndex)
startKey
and endKey
indicate the top left and bottom right datacells in the range, inclusive. (In RTL, the start cell is at the top right, and the end cell is at the bottom left.) If startKey.equals(endKey)
, a single-cell range is constructed, exactly as if the single-argument constructor had been called. The start and end indexes should be the indexes corresponding to the start and end keys. Like the keys, they should not be null. The caller is advised to use this constructor only if it can obtain the required indexes cheaply.
startKey
- the key of the first datacell in this range, inclusivestartIndex
- the index of the first datacell in this range, inclusiveendKey
- the key of the last datacell in this range, inclusiveendIndex
- the index of the last datacell in this range, inclusiveMethod Detail |
---|
public DataCellKey getStartKey()
getStartKey
in class CellRange
public DataCellKey getEndKey()
getEndKey
in class CellRange
public boolean isSingleCell()
isSingleCell
in class CellRange
true
if this range consists of a single cell; false
otherwise.public DataCellIndex getStartIndex(DataModel model)
getStartIndex
, or internally by the Pivot Table), this method computes the start index from the start key, stores that index for future use, and returns that index. Thus, the first call to this method can be expensive.getStartIndex
in class CellRange
public DataCellIndex getEndIndex(DataModel model)
getEndIndex
, or internally by the Pivot Table), this method computes the end index from the end key, stores that index for future use, and returns that index. Thus, the first call to this method can be expensive.getEndIndex
in class CellRange
@Deprecated
public DataCellIndex getStartIndex()
getStartIndex(DataModel)
instead.
@Deprecated
public DataCellIndex getEndIndex()
getEndIndex(DataModel)
instead.
@Deprecated
public void setStartIndex(DataCellIndex startIndex)
@Deprecated
public void setEndIndex(DataCellIndex endIndex)
public boolean equals(java.lang.Object object)
DataCellRange
, this method returns false
. Otherwise, if both ranges are single-cell ranges whose start keys are equal, this method returns true
. Otherwise, if both ranges are multi-cell ranges whose start keys are equal and whose end keys are equal, this method returns true
. Otherwise this method returns false
. This method ignores the start index and end index, since they are at best redundant and at worst not set or out of date.equals
in class java.lang.Object
object
- the object to test for equalitytrue
if the specified object is equal to this DataCellRange
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.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |