Util
Class Util

java.lang.Object
  extended by Util.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static javax.swing.JButton createBtn(javax.swing.ImageIcon nonhover, javax.swing.ImageIcon hover, java.lang.String cmd, java.awt.event.ActionListener al, boolean centered)
           
static javax.swing.JTextField createField()
           
static javax.swing.JLabel createLbl(java.lang.String s, java.awt.Font font)
           
static javax.swing.JPanel createPnl(int axis)
           
static javax.swing.JPanel createTitlePanel(java.lang.String title)
           
static java.awt.Color getFadeBg()
           
static java.awt.Font getGameFont()
           
static java.awt.Font getGameFontSmall()
           
static java.awt.Dimension getGameSize()
           
static java.awt.Color getMenuGradient()
           
static java.awt.Font getNormalFont()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getGameFont

public static java.awt.Font getGameFont()

getGameFontSmall

public static java.awt.Font getGameFontSmall()

getNormalFont

public static java.awt.Font getNormalFont()

getFadeBg

public static java.awt.Color getFadeBg()

getMenuGradient

public static java.awt.Color getMenuGradient()

getGameSize

public static java.awt.Dimension getGameSize()

createLbl

public static javax.swing.JLabel createLbl(java.lang.String s,
                                           java.awt.Font font)

createBtn

public static javax.swing.JButton createBtn(javax.swing.ImageIcon nonhover,
                                            javax.swing.ImageIcon hover,
                                            java.lang.String cmd,
                                            java.awt.event.ActionListener al,
                                            boolean centered)

createTitlePanel

public static javax.swing.JPanel createTitlePanel(java.lang.String title)

createPnl

public static javax.swing.JPanel createPnl(int axis)

createField

public static javax.swing.JTextField createField()