mud.client
Class GuiUtil

java.lang.Object
  extended by mud.client.GuiUtil

public class GuiUtil
extends java.lang.Object


Field Summary
static java.awt.Color GRADIENT_1
           
static java.awt.Color GRADIENT_2
           
static java.awt.Color GRADIENT_3
           
static java.awt.Color SELECTION_1
           
static java.awt.Color SELECTION_2
           
 
Constructor Summary
GuiUtil()
           
 
Method Summary
static void drawGradientSelectionRect(java.awt.Graphics graphics, int x, int y, int w, int h)
           
static void drawSelectionRect(java.awt.Graphics g, int x, int y, int w, int h)
           
static void drawSelectionRect(java.awt.Graphics g, int x, int y, int w, int h, java.awt.Color c1, java.awt.Color c2)
           
static java.awt.Font loadFont(java.lang.String name)
           
static void recursiveDisableRepaint(java.awt.Component c)
           
static void recursiveSetEnabled(java.awt.Component c, boolean e)
           
static java.awt.Color setAlpha(java.awt.Color c, int alpha)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELECTION_1

public static final java.awt.Color SELECTION_1

SELECTION_2

public static final java.awt.Color SELECTION_2

GRADIENT_1

public static final java.awt.Color GRADIENT_1

GRADIENT_2

public static final java.awt.Color GRADIENT_2

GRADIENT_3

public static final java.awt.Color GRADIENT_3
Constructor Detail

GuiUtil

public GuiUtil()
Method Detail

loadFont

public static final java.awt.Font loadFont(java.lang.String name)

recursiveSetEnabled

public static void recursiveSetEnabled(java.awt.Component c,
                                       boolean e)

recursiveDisableRepaint

public static void recursiveDisableRepaint(java.awt.Component c)

setAlpha

public static java.awt.Color setAlpha(java.awt.Color c,
                                      int alpha)

drawSelectionRect

public static void drawSelectionRect(java.awt.Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h)

drawSelectionRect

public static void drawSelectionRect(java.awt.Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h,
                                     java.awt.Color c1,
                                     java.awt.Color c2)

drawGradientSelectionRect

public static void drawGradientSelectionRect(java.awt.Graphics graphics,
                                             int x,
                                             int y,
                                             int w,
                                             int h)