public class DefaultValidatorMessageMixin extends Object implements ValidatorMessageMixin
Example:
 
 <replace-with class="...CustomValidatorMessageMixin">
     <when-type-is class="gwt.material.design.client.base.validator.ValidatorMessageMixin" />
 </replace-with>
 
 | Modifier and Type | Field and Description | 
|---|---|
protected ValidationMessages | 
messages  | 
| Constructor and Description | 
|---|
DefaultValidatorMessageMixin()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
lookup(String key)
Lookup the message using the supplied key. 
 | 
String | 
lookup(String key,
      Object[] msgValues)
Lookup a message using the given key and replace the arguments in the given message with the supplied
 values. 
 | 
protected ValidationMessages messages
public DefaultValidatorMessageMixin()
public String lookup(String key)
ValidatorMessageMixinlookup in interface ValidatorMessageMixinkey - the key.public String lookup(String key, Object[] msgValues)
ValidatorMessageMixin
 
 Message:
 {1} is a {2}
 Call:
 lookup("key", "This", "test.");
 Returns:
 This is a test.
 
 lookup in interface ValidatorMessageMixinkey - the keymsgValues - the values used in the message.Copyright © 2018. All rights reserved.