|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.schwarzrot.ui.service.DefaultFormComponentFactory.MessageTextChangeHandler
protected static final class DefaultFormComponentFactory.MessageTextChangeHandler
Sets a JTextComponent's text to the messages text of a ValidationResult.
| Constructor Summary | |
|---|---|
protected |
DefaultFormComponentFactory.MessageTextChangeHandler(JTextComponent textComponent)
Constructs a MessageTextChangeHandler for the given text component. |
| Method Summary | |
|---|---|
void |
propertyChange(PropertyChangeEvent evt)
The ValidationResult of the observed ValidationResultModel has changed. |
protected static void |
updateText(JTextComponent aTextComponent,
com.jgoodies.validation.ValidationResult result)
Sets the message text of the given ValidationResult as text in the given component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DefaultFormComponentFactory.MessageTextChangeHandler(JTextComponent textComponent)
textComponent - the target component to set texts in| Method Detail |
|---|
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListener
protected static void updateText(JTextComponent aTextComponent,
com.jgoodies.validation.ValidationResult result)
aTextComponent - the target where to set the message textresult - used to request the validation message text
|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||