jgnash.ui.util
Class ValidationFactory

java.lang.Object
  extended by jgnash.ui.util.ValidationFactory

public class ValidationFactory
extends java.lang.Object

Validation factory methods

Version:
$Id$
Author:
Craig Cavanaugh

Nested Class Summary
private static class ValidationFactory.ValidationUI
           
 
Field Summary
private static javax.swing.Icon errorIcon
           
static java.lang.String VALIDATION_PROPERTY
           
 
Constructor Summary
private ValidationFactory()
           
 
Method Summary
static void showValidationError(java.lang.String error, javax.swing.JComponent component)
           
static javax.swing.JComponent wrap(javax.swing.JComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorIcon

private static javax.swing.Icon errorIcon

VALIDATION_PROPERTY

public static final java.lang.String VALIDATION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

ValidationFactory

private ValidationFactory()
Method Detail

wrap

public static javax.swing.JComponent wrap(javax.swing.JComponent component)

showValidationError

public static void showValidationError(java.lang.String error,
                                       javax.swing.JComponent component)