net.sf.doolin.gui.validation
Class GUIValidationMessage

java.lang.Object
  extended by net.sf.doolin.gui.validation.GUIValidationMessage

public class GUIValidationMessage
extends Object

Validation message

Author:
Damien Coraboeuf

Constructor Summary
GUIValidationMessage(Object key, String msgKey, Object... params)
          Constructor
 
Method Summary
 String formattedText()
          Gets the displayable text for this message and for the current locale.
 Object key()
          Key that identifies the field this validation message applies to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIValidationMessage

public GUIValidationMessage(Object key,
                            String msgKey,
                            Object... params)
Constructor

Parameters:
key - Validation key
msgKey - Validation message key
params - Validation message parameters
Method Detail

formattedText

public String formattedText()
Gets the displayable text for this message and for the current locale.

Returns:
Message

key

public Object key()
Key that identifies the field this validation message applies to.

Returns:
Field key


Copyright © 2011. All Rights Reserved.