|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.minueto.MinuetoTool
public class MinuetoTool
The MinuetoTool class provides various tools that don't particularly
fit into other Minueto class.
| Constructor Summary | |
|---|---|
MinuetoTool()
|
|
| Method Summary | |
|---|---|
static int |
getDisplayHeight()
Returns the height of the current display (desktop) in pxels. |
static int |
getDisplayWidth()
Returns the width of the current display (desktop) in pxels. |
static boolean |
isLinux()
Returns true if the operating system is Linux. |
static boolean |
isMac()
Returns true if the operating system is MacOS. |
static boolean |
isWindows()
Returns true if the operating system is Windows. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinuetoTool()
| Method Detail |
|---|
public static int getDisplayWidth()
MinuetoWindow.
int denoting the width of the current display.public static int getDisplayHeight()
MinuetoWindow.
int denoting the height of the current display.public static boolean isWindows()
boolean indicating if the OS is Windowspublic static boolean isLinux()
boolean indicating if the OS is Linuxpublic static boolean isMac()
boolean indicating if the OS is MacOS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||