|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.table.TableSorter.MultipleFilter
Class that represents a filter to a table column. The filter has multiple
entries and in each is defined an object that indicates the value and the
logic operation to be performed, in this case or AND or
OR.
| Field Summary | |
protected java.util.ArrayList |
conditionList
|
protected java.util.ArrayList |
list
|
| Constructor Summary | |
TableSorter.MultipleFilter()
|
|
| Method Summary | |
void |
addAND(java.lang.Object filterValue)
Adds a value to the filter with an AND condition. |
void |
addOR(java.lang.Object filterValue)
Adds a value to the filter with an OR condition. |
java.lang.Object |
get(int index)
Returns the filter at the specified position in this list. |
java.lang.String |
getCondition(int index)
Returns the condition at the specified position in this list. |
void |
remove(int index)
Removes one condition from the filter. |
int |
size()
Returns the number of conditions configured to this filter. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.util.ArrayList list
protected java.util.ArrayList conditionList
| Constructor Detail |
public TableSorter.MultipleFilter()
| Method Detail |
public void addOR(java.lang.Object filterValue)
filterValue - the value to add to the filterpublic void addAND(java.lang.Object filterValue)
filterValue - the value to add to the filterpublic void remove(int index)
index - the condition indexpublic int size()
public java.lang.Object get(int index)
index - index of element to return
public java.lang.String getCondition(int index)
index - index of element to return
public java.lang.String toString()
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||