|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.beans.JCChart3dBeanBundle
JCChartBeanBundle
contains locale-specific objects and helpers to get this information.
When a program needs a locale-specific String it can load it from the resource bundle that
is appropriate for the current user's locale. Those are located in the com.klg.jclass.chart\resources
directory. In this way, program code can be written that is largely independent of the user's locale,
isolating most of the locale-specific information in resource bundles.
Field Summary | |
static String |
ACTION
|
static String |
ALLOW_USER_CHANGES
|
static String |
ALT
|
static String |
APPLY
|
static String |
CLICK_TO_EDIT
|
static String |
CTRL
|
static String |
EDIT_DATA_TEXTAREA
|
static String |
EDIT_X_VALUES
|
static String |
EDIT_Y_VALUES
|
static String |
EDIT_Z_VALUES
|
static String |
FILE_LOCATION
|
static String |
LOAD_DATA_FROM_FILE
|
static String |
META
|
static String |
MODIFIER
|
static String |
NONE
|
static String |
SHIFT
|
static String |
TRIGGER_PROPERTIES
|
Constructor Summary | |
JCChart3dBeanBundle()
|
Method Summary | |
static void |
setBundleLocale(Locale l)
Static function used to programatically change the default locale. |
static String |
string(String key)
Static function that retrives a String based on its key. |
static String |
string(String key,
MessageFormat formatter,
Object[] args)
Static function used to format a String based on its key. |
static String |
string(String key,
Object[] args)
Static function used to format a String based on its key. |
static String |
string(String key,
Object[] args,
double[] limits,
String[] formats,
int choiceVar)
Static function used to format a String based on its key. |
static String |
string(String language,
String country,
String key)
Static function that localizes a String based on its key, language, and country. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CLICK_TO_EDIT
public static final String LOAD_DATA_FROM_FILE
public static final String EDIT_DATA_TEXTAREA
public static final String EDIT_X_VALUES
public static final String EDIT_Y_VALUES
public static final String EDIT_Z_VALUES
public static final String FILE_LOCATION
public static final String TRIGGER_PROPERTIES
public static final String SHIFT
public static final String CTRL
public static final String ALT
public static final String META
public static final String MODIFIER
public static final String ACTION
public static final String NONE
public static final String ALLOW_USER_CHANGES
public static final String APPLY
Constructor Detail |
public JCChart3dBeanBundle()
Method Detail |
public static String string(String language, String country, String key)
language
- desired languagecountry
- desired countrykey
- the key of the String that is to be retrived
public static String string(String key)
key
- the key of the String that is to be retrived
public static String string(String key, Object[] args)
key
- the key of the String that is to be retrivedargs
- set of objects used in formatting
public static String string(String key, MessageFormat formatter, Object[] args)
key
- the key of the String that is to be retrivedformatter
- a formatter provided by the userargs
- set of objects used in formatting
public static void setBundleLocale(Locale l)
l
- localepublic static String string(String key, Object[] args, double[] limits, String[] formats, int choiceVar)
key
- the key of the String that is to be retrivedargs
- set of objects used in formattinglimits
- the list of doubles that specifies a half-open intervalformats
- it is an array of choices: one choice for each interval defined by the limits arraychoiceVar
- It is used to identify which of the variables from the String contains
the formatting information used in the choice formatting feature.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |