com.algosome.common.util
Class UIUtils

java.lang.Object
  extended by com.algosome.common.util.UIUtils

public class UIUtils
extends java.lang.Object

This is the Globals class for GeneCoder. This holds all the global variables and constants All the DNA, Protein, trace, etc..objects are private. Therefore the data can only be accessed through the globals object. This allows us to manage reference counts to these objects and dispose of them properly.


Field Summary
static java.awt.Color COLOR_LIGHT_GRAY
           
static java.awt.Font COURIER12
           
static java.awt.Font COURIER13
           
static java.awt.Font GENEVA12
           
static int opacity
          Static variables used for window events - used to see if this window is already open
static int RIGHT_MOUSE_CLICK
           
static java.lang.String UNICODE_BULLET
           
static java.lang.String UNICODE_DOWN_ARROW
           
static java.lang.String UNICODE_UP_ARROW
           
static java.awt.Point windowLocation
           
 
Constructor Summary
UIUtils()
          Constructor.
 
Method Summary
static void disableCopyPasteForComponent(javax.swing.JComponent jc)
           
static boolean isRightClick(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowLocation

public static java.awt.Point windowLocation

opacity

public static int opacity
Static variables used for window events - used to see if this window is already open


COURIER12

public static final java.awt.Font COURIER12

COURIER13

public static final java.awt.Font COURIER13

GENEVA12

public static final java.awt.Font GENEVA12

COLOR_LIGHT_GRAY

public static final java.awt.Color COLOR_LIGHT_GRAY

UNICODE_UP_ARROW

public static final java.lang.String UNICODE_UP_ARROW
See Also:
Constant Field Values

UNICODE_DOWN_ARROW

public static final java.lang.String UNICODE_DOWN_ARROW
See Also:
Constant Field Values

UNICODE_BULLET

public static final java.lang.String UNICODE_BULLET
See Also:
Constant Field Values

RIGHT_MOUSE_CLICK

public static final int RIGHT_MOUSE_CLICK
See Also:
Constant Field Values
Constructor Detail

UIUtils

public UIUtils()
Constructor.

Method Detail

isRightClick

public static final boolean isRightClick(java.awt.event.MouseEvent e)

disableCopyPasteForComponent

public static void disableCopyPasteForComponent(javax.swing.JComponent jc)