public class EditorResources
extends java.lang.Object
EditorResources class provides the resources shared in
this package.| 修飾子とタイプ | フィールドと説明 |
|---|---|
static java.lang.String |
DEFAULT_READ_CHARSET
The default character set for reading.
|
static java.lang.String |
DEFAULT_WRITE_CHARSET
The default character set for writing.
|
protected static Resources |
Resources |
| コンストラクタと説明 |
|---|
EditorResources() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static boolean |
getResourceBoolean(java.lang.String key,
boolean def)
Returns the resource boolean indicated by the specified key.
|
static java.awt.Color |
getResourceColor(java.lang.String key,
java.awt.Color def)
Returns the resource color indicated by the specified key.
|
static int |
getResourceInteger(java.lang.String key,
int def)
Returns the resource integer indicated by the specified key.
|
static java.lang.String |
getResourceString(java.lang.String key)
Returns the resource string indicated by the specified key.
|
static java.lang.String |
getResourceString(java.lang.String key,
java.lang.String def)
Returns the resource string indicated by the specified key.
|
protected static final Resources Resources
public static java.lang.String DEFAULT_READ_CHARSET
public static java.lang.String DEFAULT_WRITE_CHARSET
public static java.lang.String getResourceString(java.lang.String key)
key - the name of the resource.null
if there is no resource with that key.public static java.lang.String getResourceString(java.lang.String key,
java.lang.String def)
key - the name of the resource.def - a default value.public static int getResourceInteger(java.lang.String key,
int def)
key - the name of the resource.def - a default integer.public static boolean getResourceBoolean(java.lang.String key,
boolean def)
key - the name of the resource.def - a default boolean.public static java.awt.Color getResourceColor(java.lang.String key,
java.awt.Color def)
key - the name of the resource.def - a default color.