com.jgoodies.validation.view
Interface ValidationComponentUtils.Visitor
- Enclosing class:
- ValidationComponentUtils
public static interface ValidationComponentUtils.Visitor
Describes visitors that visit a component tree.
Visitor implementations are used to mark components,
to change component background, to associate components
with additional information; things that are not already
provided by the #updateComponentTreeXXX
methods
and this class' predefined Visitor implementations.
Method Summary |
void |
visit(JComponent component,
Map<Object,ValidationResult> keyMap)
Visits the given component using the specified key map, that maps
message keys to associated validation subresults. |
visit
void visit(JComponent component,
Map<Object,ValidationResult> keyMap)
- Visits the given component using the specified key map, that maps
message keys to associated validation subresults.
Typically an implementation will operate on the component state.
- Parameters:
component
- the component to be visitedkeyMap
- maps messages keys to associated validation results
Copyright © 2003-2011 JGoodies Karsten Lentzsch. All Rights Reserved.