Indicates if the provided character can be "typed" in the element. @param c the character @return true if it is accepted
(final char c)
| 868 | * @return {@code true} if it is accepted |
| 869 | */ |
| 870 | protected boolean acceptChar(final char c) { |
| 871 | // This range is this is private use area |
| 872 | // see http://www.unicode.org/charts/PDF/UE000.pdf |
| 873 | return (c < '\uE000' || c > '\uF8FF') |
| 874 | && (c == ' ' || c == '\t' || c == '\u3000' || c == '\u2006' || !Character.isWhitespace(c)); |
| 875 | } |
| 876 | |
| 877 | /** |
| 878 | * Returns {@code true} if clicking Enter (ASCII 10, or '\n') should submit the enclosed form (if any). |
nothing calls this directly
no test coverage detected