|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.InputVerifier uk.ac.cisban.rod.gui.functions.Latin1InputVerifier
public class Latin1InputVerifier
Restricts a JTextComponent
's input to only what can be encoded into LATIN1,
which is what the database is encoded in, and highlights unmappable text in
red. Singleton, because I don't want 400 instances of it running around.
Based on
http://en.wikipedia.org/wiki/ISO_8859-1.
Method Summary | |
---|---|
static Latin1InputVerifier |
getInstance()
|
boolean |
verify(javax.swing.JComponent input)
|
Methods inherited from class javax.swing.InputVerifier |
---|
shouldYieldFocus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Latin1InputVerifier getInstance()
public boolean verify(javax.swing.JComponent input)
verify
in class javax.swing.InputVerifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |