|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Filter
Common interface for all Filters. Allows FROG to pass the argument String
and samples into them.
WARNING! Do not attempt to create a constructor that
requires parameters or make the constructor private! FROG must be able to
call Class.newInstance() on your Filter to instantiate it!
| Method Summary | |
|---|---|
Accel3D |
filter(Accel3D acc)
Takes in a sample and returns either the unchanged sample or null depending on the Filter's criteria. |
String |
getDefaults()
Returns the default parameter String for this Filter. |
String |
getName()
Returns the name of this Filter. |
String |
getParameters()
Returns the current parameters in a comma-separated String of values. |
void |
setup(String param)
Sets up this Filter with a given comma-separated String. |
| Method Detail |
|---|
Accel3D filter(Accel3D acc)
acc - data to be filtered out
null if the filter removed this Accel3D.
Otherwise returns the original Accel3D unmodified.String getDefaults()
String getName()
String getParameters()
void setup(String param)
param -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||