org.opensourcephysics.controls
Class ControlsRes
java.lang.Object
org.opensourcephysics.controls.ControlsRes
public class ControlsRes
- extends java.lang.Object
ControlsRes provides access to internationalized string resources for OSPControls.
- Version:
- 1.0
- Author:
- Wolfgang Christian
Method Summary |
static java.lang.String |
getString(java.lang.String key)
Gets the localized value of a string. |
static void |
setLocale(java.util.Locale locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANIMATION_NEW
public static java.lang.String ANIMATION_NEW
ANIMATION_INIT
public static java.lang.String ANIMATION_INIT
ANIMATION_STEP
public static java.lang.String ANIMATION_STEP
ANIMATION_RESET
public static java.lang.String ANIMATION_RESET
ANIMATION_START
public static java.lang.String ANIMATION_START
ANIMATION_STOP
public static java.lang.String ANIMATION_STOP
ANIMATION_RESET_TIP
public static java.lang.String ANIMATION_RESET_TIP
ANIMATION_INIT_TIP
public static java.lang.String ANIMATION_INIT_TIP
ANIMATION_START_TIP
public static java.lang.String ANIMATION_START_TIP
ANIMATION_STOP_TIP
public static java.lang.String ANIMATION_STOP_TIP
ANIMATION_NEW_TIP
public static java.lang.String ANIMATION_NEW_TIP
ANIMATION_STEP_TIP
public static java.lang.String ANIMATION_STEP_TIP
CALCULATION_CALC
public static java.lang.String CALCULATION_CALC
CALCULATION_RESET
public static java.lang.String CALCULATION_RESET
CALCULATION_CALC_TIP
public static java.lang.String CALCULATION_CALC_TIP
CALCULATION_RESET_TIP
public static java.lang.String CALCULATION_RESET_TIP
XML_NAME
public static java.lang.String XML_NAME
XML_VALUE
public static java.lang.String XML_VALUE
setLocale
public static void setLocale(java.util.Locale locale)
getString
public static java.lang.String getString(java.lang.String key)
- Gets the localized value of a string. If no localized value is found, the
key is returned surrounded by exclamation points.
- Parameters:
key
- the string to localize
- Returns:
- the localized string