gumbo.graphic
Class GraphicSystem

java.lang.Object
  |
  +--gumbo.graphic.GraphicSystem

public class GraphicSystem
extends java.lang.Object

Constants and utilities that provide system specific information, including that of the operating operating system and the native graphic system.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Method Summary
static KeyboardSensors.KeyFlag getCaptureCancelKey()
          Gets the system specific "capture cancel" key.
static KeyboardSensors.KeyFlag getMultiSelectKey()
          Gets the system specific "multi-select" key.
static KeyboardSensors.KeyFlag getRangeSelectKey()
          Gets the system specific "range-select" key.
static boolean isSystemLinux()
          Returns true if the operating system is any flavor of Linux.
static boolean isSystemMac()
          Returns true if the operating system is any flavor of Mac.
static boolean isSystemWindows()
          Returns true if the operating system is any flavor of Windows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isSystemWindows

public static boolean isSystemWindows()
Returns true if the operating system is any flavor of Windows.


isSystemLinux

public static boolean isSystemLinux()
Returns true if the operating system is any flavor of Linux.


isSystemMac

public static boolean isSystemMac()
Returns true if the operating system is any flavor of Mac.


getCaptureCancelKey

public static KeyboardSensors.KeyFlag getCaptureCancelKey()
Gets the system specific "capture cancel" key. Used to cancel armed buttons triggers and drag operations (which generally involve capture of the mouse or keyboard).


getMultiSelectKey

public static KeyboardSensors.KeyFlag getMultiSelectKey()
Gets the system specific "multi-select" key. Used as a modifier to multi-select (and toggle-select) discrete items.


getRangeSelectKey

public static KeyboardSensors.KeyFlag getRangeSelectKey()
Gets the system specific "range-select" key. Used as a modifier to range-select contiguous items.