|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.ui.widget.filter.FilterParamModel<M,T>
public class FilterParamModel<M,T>
This class represents the model for a parameter of a filter
FilterAcceptor,
FilterModel,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
FilterParamModel.ResultState
|
static class |
FilterParamModel.State
|
| Field Summary | |
|---|---|
protected FilterAcceptor<M,T> |
acceptor
param acceptor |
protected int |
hits
number of hits for this param |
protected String |
paramKey
parameter identifier |
protected FilterParamModel.ResultState |
resultState
current result state for this model |
protected FilterParamModel.State |
state
current state for this model |
protected T |
val
val coming fro ui |
| Constructor Summary | |
|---|---|
FilterParamModel(String paramKey,
Class<T> type,
ValueGetter<M,T> valueGetter)
|
|
| Method Summary | |
|---|---|
boolean |
accept(M item)
|
boolean |
canUse(String... val)
|
void |
extractParam(Object... val)
|
void |
reset()
|
void |
resetResult()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String paramKey
protected T val
protected FilterParamModel.State state
protected FilterParamModel.ResultState resultState
protected int hits
protected transient FilterAcceptor<M,T> acceptor
| Constructor Detail |
|---|
public FilterParamModel(String paramKey,
Class<T> type,
ValueGetter<M,T> valueGetter)
| Method Detail |
|---|
public void extractParam(Object... val)
public boolean accept(M item)
public void reset()
public void resetResult()
public boolean canUse(String... val)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||