org.moyoman.client.reference.util
Class MessageSupport

java.lang.Object
  |
  +--org.moyoman.client.reference.util.MessageSupport
All Implemented Interfaces:
IGUIConstants

public class MessageSupport
extends Object
implements IGUIConstants

Provides support for obtaining internationalized messages. This class is a wrapper around org.moyoman.comm.client.CommandExecutor.

Since:
v0.01
Version:
v0.01
Author:
Jeffrey M. Thompson

Field Summary
private static CommandExecutor _commandExecutor
          Command executor.
 
Fields inherited from interface org.moyoman.client.reference.util.IGUIConstants
DEBUG, DIRTY_PROPERTY, GAP, MARGIN, TRANSPARENT_COLOR
 
Constructor Summary
private MessageSupport()
          Private constructor to prevent instance creation.
 
Method Summary
static String getMessage(String key)
          Return the string for the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_commandExecutor

private static CommandExecutor _commandExecutor
Command executor.

Constructor Detail

MessageSupport

private MessageSupport()
Private constructor to prevent instance creation.

Since:
v0.01
Method Detail

getMessage

public static String getMessage(String key)
Return the string for the given key.

Parameters:
key - Key to the message.
Since:
v0.01