SCCT.JavaSubscriber
Class SCCT_ArrayFilter
java.lang.Object
SCCT.JavaSubscriber.SCCT_AbstractPackage
SCCT.JavaSubscriber.SCCT_AbstractDataPackage
SCCT.JavaSubscriber.SCCT_Filter
SCCT.JavaSubscriber.SCCT_ArrayFilter
public class SCCT_ArrayFilter
- extends SCCT_Filter
This class represents an array filter.
Method Summary |
void |
selectColumns(int from,
int to)
Selects the columns in the specified range range. |
void |
selectRows(int from,
int to)
Selects the rows in the specified range. |
void |
setQuery(java.lang.String query)
The query syntax is: r1-r2;c1-c2 where r1 is the start row, r2 is the end row, c1 is the start column and c2 is the end column. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCCT_ArrayFilter
public SCCT_ArrayFilter(SCCT_2DArrayPackage.SCCT_ArrayType arrayType)
- To instantiate an array filter you have to select the array type on which apply the filter.
selectRows
public void selectRows(int from,
int to)
- Selects the rows in the specified range.
- Parameters:
from
- The starting point from which rows are selected.to
- The ending point to which rows are selected.
selectColumns
public void selectColumns(int from,
int to)
- Selects the columns in the specified range range.
- Parameters:
from
- The starting point from which columns are selected.to
- The ending point to which columns are selected.
setQuery
public void setQuery(java.lang.String query)
- The query syntax is: r1-r2;c1-c2 where r1 is the start row, r2 is the end row, c1 is the start column and c2 is the end column.
This method is complementary to selectColumns(from,to) and selectRows(from,to) methods.
The subscriber library doesn't control query syntax, so, it may be overlooked by publisher if it has a wrong syntax.