net.sf.doolin.gui.validation
Class DefaultValidationGUIViewDecorator
java.lang.Object
net.sf.doolin.gui.view.decorator.AbstractGUIViewDecorator
net.sf.doolin.gui.validation.AbstractValidationGUIViewDecorator
net.sf.doolin.gui.validation.DefaultValidationGUIViewDecorator
- All Implemented Interfaces:
- GUIValidationDecorator, GUIViewDecorator
public class DefaultValidationGUIViewDecorator
- extends AbstractValidationGUIViewDecorator
Default decorator for the validation of the view. It uses an instance of
IconFeedbackPanel.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValidationGUIViewDecorator
public DefaultValidationGUIViewDecorator()
createValidationComponent
protected <V> JComponent createValidationComponent(GUIView<V> view,
JComponent component,
DecorationStyle decorationStyle,
ValidationSupport<V> validationSupport)
- Description copied from class:
AbstractValidationGUIViewDecorator
- Creates a component for the validation.
- Specified by:
createValidationComponent in class AbstractValidationGUIViewDecorator
- Type Parameters:
V - Type of object for the view- Parameters:
view - View to decoratecomponent - View component to decoratedecorationStyle - Decoration stylevalidationSupport - Validation support
- Returns:
- Decorated component
decorateField
public <V> JComponent decorateField(Field<V> field,
JComponent fieldComponent)
- Description copied from interface:
GUIValidationDecorator
- Decorates a field.
- Type Parameters:
V - Type of object for the view- Parameters:
field - Field to decoratefieldComponent - Field component to decorate
- Returns:
- Decorated field component
Copyright © 2011. All Rights Reserved.