|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.find.OLAPFindSelectorAdapter
public class OLAPFindSelectorAdapter
Performs member and cell searches on an OLAPDataSetInterface model
Field Summary | |
---|---|
static int |
cellCount
The default number of cells to retrieve from the model. |
protected java.lang.Object[] |
cells
|
protected AxisInterface |
columnAxis
|
protected TupleInterface[] |
columnTuples
|
protected int |
currentColumn
|
protected int |
currentRow
|
protected ResultSetInterface |
resultSet
|
protected ResultSetMetadataInterface |
resultSetMetadata
|
protected AxisInterface |
rowAxis
|
protected TupleInterface[] |
rowTuples
|
protected OLAPDataSetInterface |
tableModel
|
Fields inherited from interface com.sas.dataselectors.find.FindSelectorInterface |
---|
BACKWARD, CELL_VALUES_BY_COLUMN, CELL_VALUES_BY_ROW, COLUMN_AXIS, COLUMN_NUMBER, CONTAINS, EQUAL_TO, ERROR, FORWARD, GOTO, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, LIKE, MEMBERS_ON_COLUMNS, MEMBERS_ON_ROWS, NOT_FOUND, ROW_AXIS, ROW_COLUMN_AXIS, ROW_NUMBER, SEARCH_WRAPPED, STARTS_WITH |
Constructor Summary | |
---|---|
OLAPFindSelectorAdapter(OLAPDataSetInterface model)
|
Method Summary | |
---|---|
java.util.Map |
find(java.lang.String type,
java.lang.String condition,
java.lang.String value,
java.lang.String direction)
Performs searches of member and cell values. |
AxisInterface |
getColumnAxis()
Get the column axis |
TupleInterface[] |
getColumnTuples()
Get the column tuples array |
int |
getCurrentColumn()
Get the viewer current column index |
int |
getCurrentRow()
Get the current row index |
ResultSetMetadataInterface |
getResultSetMetadata()
Get the resultset metadata |
AxisInterface |
getRowAxis()
Get the row axis |
TupleInterface[] |
getRowTuples()
Get the row tuples array |
OLAPDataSetInterface |
getTableModel()
Get the viewer model |
void |
setCurrentColumn(int i)
Set the viewer current column index |
void |
setCurrentRow(int i)
Set the viewer current row |
void |
setTableModel(OLAPDataSetInterface interface1)
Set the viewer model |
Field Detail |
---|
protected OLAPDataSetInterface tableModel
protected ResultSetInterface resultSet
protected ResultSetMetadataInterface resultSetMetadata
protected AxisInterface rowAxis
protected TupleInterface[] rowTuples
protected AxisInterface columnAxis
protected TupleInterface[] columnTuples
protected java.lang.Object[] cells
protected int currentRow
protected int currentColumn
public static int cellCount
Constructor Detail |
---|
public OLAPFindSelectorAdapter(OLAPDataSetInterface model)
Method Detail |
---|
public java.util.Map find(java.lang.String type, java.lang.String condition, java.lang.String value, java.lang.String direction) throws OLAPException
find
in interface FindSelectorInterface
type
- The find typecondition
- The find condition.value
- The value being searched fordirection
- The search direction (forward or backward)
OLAPException
public AxisInterface getColumnAxis()
public TupleInterface[] getColumnTuples()
public int getCurrentRow()
public ResultSetMetadataInterface getResultSetMetadata()
public AxisInterface getRowAxis()
public TupleInterface[] getRowTuples()
public OLAPDataSetInterface getTableModel()
public void setCurrentRow(int i)
setCurrentRow
in interface FindSelectorInterface
i
- the viewer current rowpublic void setTableModel(OLAPDataSetInterface interface1)
interface1
- the viewer modelpublic int getCurrentColumn()
public void setCurrentColumn(int i)
setCurrentColumn
in interface FindSelectorInterface
i
- the viewer column
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |