public class UidInputFieldValidator extends AbstractTextComponentValidator
JTextComponent.| Constructor and Description |
|---|
UidInputFieldValidator(javax.swing.text.JTextComponent tc)
Constructs a new
TimeValidator for the given text component. |
| Modifier and Type | Method and Description |
|---|---|
static UidInputFieldValidator |
decorate(javax.swing.text.JTextComponent tc)
Decorates the given text component.
|
int |
getUid()
Returns the user identifier.
|
boolean |
isValid()
Replies true if the current content of the decorated text component is valid;
false otherwise
|
void |
validate()
Implement in subclasses to validate the content of the text component.
|
actionPerformed, changedUpdate, feedbackDisabled, feedbackInvalid, feedbackValid, focusGained, focusLost, getComponent, insertUpdate, propertyChange, removeUpdatepublic UidInputFieldValidator(javax.swing.text.JTextComponent tc)
TimeValidator for the given text component.tc - text componentpublic static UidInputFieldValidator decorate(javax.swing.text.JTextComponent tc)
tc - text component to decoratetcpublic boolean isValid()
AbstractTextComponentValidatorisValid in class AbstractTextComponentValidatorpublic void validate()
AbstractTextComponentValidatorvalidate in class AbstractTextComponentValidatorpublic int getUid()