|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.validation.ValidationComponentUtils
public class ValidationComponentUtils
Utilities for the validation of components.
| Method Summary | |
|---|---|
static GUIValidation |
getAssociatedResult(JComponent comp,
Map<Object,GUIValidation> keyMap)
Gets GUIValidation object associated with a component. |
static Object[] |
getMessageKeys(JComponent comp)
Gets the field keys for a component |
static void |
setMessageKey(JComponent component,
Object messageKey)
Sets the field key on a component |
static void |
setMessageKeys(JComponent comp,
Object[] messageKeys)
Sets a list of field keys on a component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setMessageKey(JComponent component,
Object messageKey)
component - Component to setmessageKey - Field key to set
public static void setMessageKeys(JComponent comp,
Object[] messageKeys)
comp - Component to setmessageKeys - Keys to setpublic static Object[] getMessageKeys(JComponent comp)
comp - Component
null if none is defined
public static GUIValidation getAssociatedResult(JComponent comp,
Map<Object,GUIValidation> keyMap)
GUIValidation object associated with a component.
comp - ComponentkeyMap - Cache for the component validation messages, indexed by field
key
null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||