|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.psnc.vlab.util.FormTools
public class FormTools
FormTools class - contains various helper methods which checks the
correctness of specified data types i.e. whether specified value is valid
String, int, long value. There is also a set of methods which acts on swing
components
| Constructor Summary | |
|---|---|
FormTools()
|
|
| Method Summary | |
|---|---|
static boolean |
isValidateFormStringNull(java.lang.String value)
Tests whether the validate string is null |
static boolean |
isValidateStringDouble(java.lang.String value)
Checks whether the string value is a type of Double |
static boolean |
isValidateStringInteger(java.lang.String value)
Checks whether the string value is a type of Integer |
static boolean |
isValidateStringLong(java.lang.String value)
Checks whether the string value is a type of Long |
static boolean |
isValidateStringNumber(java.lang.String value)
Checks whether the string value is a number |
static java.lang.String |
toUpperLetterAndDigit(java.lang.String s)
Change string value to upper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormTools()
| Method Detail |
|---|
public static boolean isValidateStringNumber(java.lang.String value)
value - string value
true/falsepublic static boolean isValidateStringInteger(java.lang.String value)
value - string value
true if it is Integer, false
otherwisepublic static boolean isValidateStringLong(java.lang.String value)
value - string value
true if it is Long, false otherwisepublic static boolean isValidateStringDouble(java.lang.String value)
value - string value
true if it is Double, false
otherwisepublic static boolean isValidateFormStringNull(java.lang.String value)
value - the string value
true if is not empty, false,
otherwisepublic static java.lang.String toUpperLetterAndDigit(java.lang.String s)
s - string value
|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||