de.schwarzrot.ui.service
Class DefaultFormComponentFactory.LabelIconChangeHandler
java.lang.Object
de.schwarzrot.ui.service.DefaultFormComponentFactory.LabelIconChangeHandler
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
- Enclosing class:
- DefaultFormComponentFactory
protected static final class DefaultFormComponentFactory.LabelIconChangeHandler
- extends Object
- implements PropertyChangeListener
Sets the component visible iff the validation result has errors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFormComponentFactory.LabelIconChangeHandler
protected DefaultFormComponentFactory.LabelIconChangeHandler(JLabel label)
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- The ValidationResult's severity has changed. Updates the label's
visibility and icon.
- Specified by:
propertyChange
in interface PropertyChangeListener
updateVisibilityAndIcon
protected static void updateVisibilityAndIcon(JLabel aLabel,
com.jgoodies.validation.Severity severity)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.