|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Our validators need to support querying max length, for generic rename dialogs. They also need to support getting the message not only as a string, which isValid returns, but also as a SystemMessage, which getSystemMessage() does if isValid returns non-null.
Field Summary | |
---|---|
static String |
Copyright
|
Method Summary | |
---|---|
int |
getMaximumNameLength()
Return the max length for this name, or -1 if no max |
SystemMessage |
getSystemMessage()
If isValid returns non-null and you desire a full bodied SystemMessage versus a string, call this method after isValid to get the full bodied SystemMessage. |
SystemMessage |
validate(String text)
For convenience, this is a shortcut to calling:
if (isValid(text) ! |
Field Detail |
public static final String Copyright
Method Detail |
public int getMaximumNameLength()
public SystemMessage getSystemMessage()
Will be null if isValid returned null.
public SystemMessage validate(String text)
if (isValid(text) != null)
msg = getSystemMessage();
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |