public class Generic extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Generic.QuitHandler
OsX.QuitHandler.HandleQuit is invoked if the interface
has been added via OsX.addQuitHandler . |
Modifier and Type | Field and Description |
---|---|
protected static boolean |
MAC_OS_X |
protected static Generic |
singleton |
protected static boolean |
WINDOWS |
Constructor and Description |
---|
Generic() |
Modifier and Type | Method and Description |
---|---|
static Generic.QuitHandler |
addQuitHandler(Generic.QuitHandler quitHandler)
Adds a quit event handler
|
protected Generic.QuitHandler |
addQuitHandler2(Generic.QuitHandler quitHandler) |
private static Generic |
getSingleton() |
static List<String> |
prepareCmdList(List<String> command) |
List<String> |
prepareCmdList2(List<String> command) |
static String |
prepareCmdString(String command) |
String |
prepareCmdString2(String command) |
static Image |
setDocIconImage(Image img) |
Image |
setDocIconImage2(Image img) |
protected static boolean MAC_OS_X
protected static boolean WINDOWS
protected static Generic singleton
private static Generic getSingleton()
public static Generic.QuitHandler addQuitHandler(Generic.QuitHandler quitHandler)
quitHandler
- to addprotected Generic.QuitHandler addQuitHandler2(Generic.QuitHandler quitHandler)
public static String prepareCmdString(String command)
command
- public static List<String> prepareCmdList(List<String> command)
command
-