issrg.pba.management.manager.gui
Class UtilityGUI

java.lang.Object
  extended by issrg.pba.management.manager.gui.UtilityGUI

public final class UtilityGUI
extends java.lang.Object

A gui utility class containing static methods. used by the PERMIS management GUI.

Version:
0.6.2008.07.17
Author:
mfb4@kent.ac.uk

Field Summary
static int COLOUR_GREEN_B
           
static int COLOUR_GREEN_G
           
static int COLOUR_GREEN_R
           
static int COLOUR_ORANGE_B
           
static int COLOUR_ORANGE_G
           
static int COLOUR_ORANGE_R
           
static int COLOUR_RED_B
           
static int COLOUR_RED_G
           
static int COLOUR_RED_R
           
static int COLOUR_WHITE_B
           
static int COLOUR_WHITE_G
           
static int COLOUR_WHITE_R
           
static int RIGID_AREA_PIXEL_SIZE
          The rigid area used in creating a box to space out GUI components.
static int RIGID_AREA_PIXEL_SIZE_2
          The rigid area used in creating a box to space out GUI components.
static int RIGID_AREA_PIXEL_SIZE_3
          The rigid area used in creating a box to space out GUI components.
 
Method Summary
static void limitHeight(javax.swing.JComponent component)
          set the maximum height for the component to be the same as the preferred height.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGID_AREA_PIXEL_SIZE

public static final int RIGID_AREA_PIXEL_SIZE
The rigid area used in creating a box to space out GUI components.

See Also:
Constant Field Values

RIGID_AREA_PIXEL_SIZE_3

public static final int RIGID_AREA_PIXEL_SIZE_3
The rigid area used in creating a box to space out GUI components.

See Also:
Constant Field Values

RIGID_AREA_PIXEL_SIZE_2

public static final int RIGID_AREA_PIXEL_SIZE_2
The rigid area used in creating a box to space out GUI components.

See Also:
Constant Field Values

COLOUR_ORANGE_R

public static final int COLOUR_ORANGE_R
See Also:
Constant Field Values

COLOUR_ORANGE_G

public static final int COLOUR_ORANGE_G
See Also:
Constant Field Values

COLOUR_ORANGE_B

public static final int COLOUR_ORANGE_B
See Also:
Constant Field Values

COLOUR_WHITE_R

public static final int COLOUR_WHITE_R
See Also:
Constant Field Values

COLOUR_WHITE_G

public static final int COLOUR_WHITE_G
See Also:
Constant Field Values

COLOUR_WHITE_B

public static final int COLOUR_WHITE_B
See Also:
Constant Field Values

COLOUR_RED_R

public static final int COLOUR_RED_R
See Also:
Constant Field Values

COLOUR_RED_G

public static final int COLOUR_RED_G
See Also:
Constant Field Values

COLOUR_RED_B

public static final int COLOUR_RED_B
See Also:
Constant Field Values

COLOUR_GREEN_R

public static final int COLOUR_GREEN_R
See Also:
Constant Field Values

COLOUR_GREEN_G

public static final int COLOUR_GREEN_G
See Also:
Constant Field Values

COLOUR_GREEN_B

public static final int COLOUR_GREEN_B
See Also:
Constant Field Values
Method Detail

limitHeight

public static void limitHeight(javax.swing.JComponent component)
set the maximum height for the component to be the same as the preferred height.

Parameters:
component - the JComponent to set
Since:
0.4.2008.04.02