net.sourceforge.mp3dings
Class Globals
java.lang.Object
net.sourceforge.mp3dings.Globals
public final class Globals
- extends Object
Provides static constants for the application.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final String OK
CANCEL
public static final String CANCEL
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
LR
public static ResourceBundle LR
BUILDID
public static String BUILDID
COLOR_MAIN_BG
public static final int COLOR_MAIN_BG
- See Also:
- Constant Field Values
COLOR_TAB_BG
public static final int COLOR_TAB_BG
- See Also:
- Constant Field Values
COLOR_TOOLB_BG
public static final int COLOR_TOOLB_BG
- See Also:
- Constant Field Values
COLOR_PANEL_BG
public static final int COLOR_PANEL_BG
- See Also:
- Constant Field Values
COLOR_FILTERED
public static final int COLOR_FILTERED
- See Also:
- Constant Field Values
COLOR_UNFILTERED
public static final int COLOR_UNFILTERED
- See Also:
- Constant Field Values
SERIF_0_10
public static final Font SERIF_0_10
SERIF_0_12
public static final Font SERIF_0_12
MONOSPACE_0_12
public static final Font MONOSPACE_0_12
SANS_BOLD_12
public static final Font SANS_BOLD_12
INSETS_0505
public static final Insets INSETS_0505
INSETS_0
public static final Insets INSETS_0
INSETS_5
public static final Insets INSETS_5
getDir
public static String getDir(String which)
getColor
public static Color getColor(int id)
logStackTrace
public static void logStackTrace(Logger logger,
Level level,
Throwable ex)
logStackTrace
public static void logStackTrace(Logger logger,
Throwable ex)
setColors
public static void setColors(int[] rgb)
getMessage
public static String getMessage(String key,
Object arg)
getMessage
public static String getMessage(String key,
int arg)
getMessage
public static String getMessage(String key,
Object[] args)
getPrefNode
public static Preferences getPrefNode()
asInteger
public static Integer asInteger(int i)
resourceExists
public static boolean resourceExists(String s)
getString
public static String getString(String s)
getJavaVersion
public static int[] getJavaVersion()
getStringArray
public static String[] getStringArray(String s)
getKey
public static int getKey(String s)
getKeyObject
public static Integer getKeyObject(String s)
getObject
public static Object getObject(String key)
getNullFor
public static Object getNullFor(Class c)