org.PingOO.DLAI.lib.PWidget.text
Interface PDocument
- All Known Implementing Classes:
- LetterOnlyDocument, NumberOnlyDocument
- public abstract interface PDocument
Interface for all PDocuments.
- Since:
- PingOO 2.0
- Version:
- 2.0
- Author:
- Fabrice Bouyé (bouye@cur-archamps.fr)
|
Method Summary |
boolean |
isCharValid(char c)
Indicates if the argument character is valid for insertion in the current document. |
boolean |
isStringValid(java.lang.String s)
Indicates if the argument string is valid for insertion in the current document. |
isCharValid
public boolean isCharValid(char c)
- Indicates if the argument character is valid for insertion in the current document.
- Parameters:
c - The char&cter to be tested.
isStringValid
public boolean isStringValid(java.lang.String s)
- Indicates if the argument string is valid for insertion in the current document.
- Parameters:
s - The string to be tested.