public class HeaderCellIndex extends CellIndex
| Modifier and Type | Field and Description |
|---|---|
static int |
EDGE_UNDEFINED
The value placed in the
edge field when the deprecated constructor is used. |
| Constructor and Description |
|---|
HeaderCellIndex(int layer,
int slice)
Deprecated.
The 3-arg constructor should be used instead.
|
HeaderCellIndex(int edge,
int layer,
int slice)
Creates a new
HeaderCellIndex with the specified edge, layer, and slice. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Returns
true if and only if the specified object is a HeaderCellIndex
whose edge, layer, and slice are equal to those of this HeaderCellIndex. |
int |
getEdge()
Returns the header cell's edge.
|
int |
getLayer()
Returns the start layer.
|
int |
getSlice()
Returns the start slice.
|
int |
hashCode() |
public static final int EDGE_UNDEFINED
edge field when the deprecated constructor is used.@Deprecated
public HeaderCellIndex(int layer,
int slice)
HeaderCellIndex with the specified layer and slice.
The edge will automatically be set to HeaderCellIndex.EDGE_UNDEFINED.layer - the start layer of the header cellslice - the start slice of the header cellpublic HeaderCellIndex(int edge,
int layer,
int slice)
HeaderCellIndex with the specified edge, layer, and slice.edge - the edge of the header cell. The value can either be
oracle.dss.util.DataDirector.COLUMN_EDGE or
oracle.dss.util.DataDirector.ROW_EDGE.layer - the start layer of the header cellslice - the start slice of the header cellpublic int getEdge()
public int getLayer()
public int getSlice()
public boolean equals(java.lang.Object object)
true if and only if the specified object is a HeaderCellIndex
whose edge, layer, and slice are equal to those of this HeaderCellIndex.equals in class java.lang.Objectobject - the object to test for equalitytrue if the specified object is equal to this HeaderCellIndex object; false otherwisepublic int hashCode()
hashCode in class java.lang.Object