org.keridwen.modelling.global.parameters.i18n
Enum GlobalParametersDictionary

java.lang.Object
  extended by java.lang.Enum<GlobalParametersDictionary>
      extended by org.keridwen.modelling.global.parameters.i18n.GlobalParametersDictionary
All Implemented Interfaces:
Serializable, Comparable<GlobalParametersDictionary>, org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

public enum GlobalParametersDictionary
extends Enum<GlobalParametersDictionary>
implements org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

This class is the internationalization dictionary of the Global Parameters bundle.


Enum Constant Summary
BOOLEAN
           
DESCRIPTION
           
DOUBLE
           
FLOAT
           
INT
           
NAME
           
OBJECT
           
STRING
           
TYPE
           
UNIT
           
VALUE
           
VERBOSITY
           
 
Method Summary
 Color getColor()
           
 Date getDate()
           
 Locale getDefaultLocale()
           
 String getDefaultString()
           
 Class<?> getEntryClass()
           
 org.keridwen.core.i18n.entry.EntryType getEntryType()
           
 Font getFont()
           
 org.keridwen.core.i18n.DefaultDictionaryHelper getHelper()
           
 Icon getIcon()
           
 Image getImage()
           
 String getKey()
           
 KeyStroke getKeyStroke()
           
 int getMnemonic()
           
 String getResourceBundleBaseName()
           
 String getString()
           
 String getString(Object... objects)
           
 boolean isEntryOfType(org.keridwen.core.i18n.entry.EntryType typeToCheck)
           
static void setLocale(Locale localeToSet)
          Sets the dictionary locale to the given locale
static GlobalParametersDictionary valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GlobalParametersDictionary[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NAME

public static final GlobalParametersDictionary NAME

TYPE

public static final GlobalParametersDictionary TYPE

VALUE

public static final GlobalParametersDictionary VALUE

UNIT

public static final GlobalParametersDictionary UNIT

DESCRIPTION

public static final GlobalParametersDictionary DESCRIPTION

VERBOSITY

public static final GlobalParametersDictionary VERBOSITY

OBJECT

public static final GlobalParametersDictionary OBJECT

FLOAT

public static final GlobalParametersDictionary FLOAT

DOUBLE

public static final GlobalParametersDictionary DOUBLE

INT

public static final GlobalParametersDictionary INT

STRING

public static final GlobalParametersDictionary STRING

BOOLEAN

public static final GlobalParametersDictionary BOOLEAN
Method Detail

values

public static GlobalParametersDictionary[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GlobalParametersDictionary c : GlobalParametersDictionary.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GlobalParametersDictionary valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

setLocale

public static void setLocale(Locale localeToSet)
Sets the dictionary locale to the given locale

Parameters:
localeToSet - the locale to set

getColor

public Color getColor()
Specified by:
getColor in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getDate

public Date getDate()
Specified by:
getDate in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getDefaultLocale

public Locale getDefaultLocale()
Specified by:
getDefaultLocale in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getDefaultString

public String getDefaultString()
Specified by:
getDefaultString in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getEntryClass

public Class<?> getEntryClass()
Specified by:
getEntryClass in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getEntryType

public org.keridwen.core.i18n.entry.EntryType getEntryType()
Specified by:
getEntryType in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getFont

public Font getFont()
Specified by:
getFont in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getHelper

public org.keridwen.core.i18n.DefaultDictionaryHelper getHelper()
Specified by:
getHelper in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getIcon

public Icon getIcon()
Specified by:
getIcon in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getImage

public Image getImage()
Specified by:
getImage in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getKey

public String getKey()
Specified by:
getKey in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getKeyStroke

public KeyStroke getKeyStroke()
Specified by:
getKeyStroke in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getMnemonic

public int getMnemonic()
Specified by:
getMnemonic in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getResourceBundleBaseName

public String getResourceBundleBaseName()
Specified by:
getResourceBundleBaseName in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getString

public String getString()
Specified by:
getString in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

getString

public String getString(Object... objects)
Specified by:
getString in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>

isEntryOfType

public boolean isEntryOfType(org.keridwen.core.i18n.entry.EntryType typeToCheck)
Specified by:
isEntryOfType in interface org.keridwen.core.i18n.Dictionary<org.keridwen.core.i18n.DefaultDictionaryHelper>


Copyright © 2012-2013 Artenum. All Rights Reserved.