info.joseluismartin.gui.bind
Class ControlError

java.lang.Object
  extended by org.springframework.context.support.DefaultMessageSourceResolvable
      extended by org.springframework.validation.ObjectError
          extended by org.springframework.validation.FieldError
              extended by info.joseluismartin.gui.bind.ControlError
All Implemented Interfaces:
Serializable, org.springframework.context.MessageSourceResolvable

public class ControlError
extends org.springframework.validation.FieldError

FieldError for Swing controls

Author:
Jose Luis Martin - (jlm@joseluismartin.info)
See Also:
Serialized Form

Constructor Summary
ControlError(Object control, String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage)
           
ControlError(String objectName, String field, Object rejectedValue, boolean bindingFailure, String[] codes, Object[] arguments, String defaultMessage)
           
ControlError(String objectName, String field, String defaultMessage)
           
 
Method Summary
 Object getComponent()
           
 void setComponent(Object component)
           
 
Methods inherited from class org.springframework.validation.FieldError
equals, getField, getRejectedValue, hashCode, isBindingFailure, toString
 
Methods inherited from class org.springframework.validation.ObjectError
getObjectName
 
Methods inherited from class org.springframework.context.support.DefaultMessageSourceResolvable
getArguments, getCode, getCodes, getDefaultMessage, resolvableToString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControlError

public ControlError(String objectName,
                    String field,
                    Object rejectedValue,
                    boolean bindingFailure,
                    String[] codes,
                    Object[] arguments,
                    String defaultMessage)
Parameters:
objectName -
field -
rejectedValue -
bindingFailure -
codes -
arguments -
defaultMessage -

ControlError

public ControlError(String objectName,
                    String field,
                    String defaultMessage)
Parameters:
objectName -
field -
defaultMessage -

ControlError

public ControlError(Object control,
                    String objectName,
                    String field,
                    Object rejectedValue,
                    boolean bindingFailure,
                    String[] codes,
                    Object[] arguments,
                    String defaultMessage)
Parameters:
control -
objectName -
field -
rejectedValue -
bindingFailure -
codes -
arguments -
defaultMessage -
Method Detail

getComponent

public Object getComponent()
Returns:
the component

setComponent

public void setComponent(Object component)
Parameters:
component - the component to set


Copyright © 2013 JDAL. All Rights Reserved.