|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputFilter
Interface defining filter for JFilterInput components.
Implement the methods according to your needs.
Method Summary | |
---|---|
boolean |
allowEditing(String value)
Called before applying a changed value in the JFilterInput. |
String |
validExit(String value)
Called when exiting the control. |
Method Detail |
---|
boolean allowEditing(String value)
If this returns true, the value will be accepted, in any other case the new value will not be taken.
value
- The new value the input would have after applying
the current change.
String validExit(String value)
Lets you react on "finishing" some input. If the given value is not acceptable you can edit and return it. This is also the right place for error messages and similar things.
value
- The current value the input has.
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |