public class DataComponentInfo extends ComponentInfo
DataView component. Used for components that have both a row and column, such as a cell in a crosstab or a data marker in a graph.| Constructor and Description |
|---|
DataComponentInfo(int row, int column)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this
DataComponentInfo. |
boolean |
equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this
DataComponentInfo. |
int |
getColumn()
Retrieves the column number.
|
QDR |
getQDR(DataAccess dataAccess, int flags)
Retrieves a
QDR for this DataComponentInfo. |
int |
getRow()
Retrieves the row number.
|
int |
hashCode() |
void |
setRowCol(int row, int col)
Sets the row and column.
|
java.lang.String |
toString()
Produces a
String that identifies the row and column. |
public DataComponentInfo(int row,
int column)
row - The row that the component is in.column - The column that the component is in.
public void setRowCol(int row,
int col)
DataComponentInfo.row - The row for which you want to use this DataComponentInfo.col - The column for which you want to use this ColumnComponentInfo.public java.lang.Object clone()
DataComponentInfo.clone in class ComponentInfoDataComponentInfo.public int getRow()
public int getColumn()
public boolean equals(java.lang.Object o)
DataComponentInfo. DataComponentInfo objects are equivalent if they refer to the same row and column.equals in class java.lang.Objecto - The object to compare with this DataComponentInfo.true if both objects refer to the same row and the same column, false if not or if o is not a DataComponentInfo.public QDR getQDR(DataAccess dataAccess, int flags)
QDR for this DataComponentInfo. The QDR identifies the dimension members that this data value represents. For example, if the data is dimensioned by Product, Geography, and Time, then the QDR identifies a single Product member, a single Geography member, and a single Time member.getQDR in class ComponentInfodataAccess - The DataAccess that provided the data for the data that this DataComponentInfo describes.flags - A constant that identifies whether to include page edge information if the QDR is not for the page edge. Valid constants are listed in the See Also section.QDR that identifies the dimension members for the data that this DataComponentInfo describes.DataAccess.QDR_WITH_PAGE, DataAccess.QDR_WITHOUT_PAGEpublic int hashCode()
hashCode in class ComponentInfopublic java.lang.String toString()
String that identifies the row and column.toString in class java.lang.ObjectString.