sg.edu.nus.gui
Class GuiHelper

java.lang.Object
  extended by sg.edu.nus.gui.GuiHelper

public class GuiHelper
extends java.lang.Object

Help create custom component with property in GuiLoader class

Author:
VHTam

Constructor Summary
GuiHelper()
           
 
Method Summary
static javax.swing.JPanel createBlankColorPanel(int inset, java.awt.Color bkColor)
           
static javax.swing.JPanel createBlankColorPanel(int height, int width, java.awt.Color bkColor)
           
static javax.swing.JPanel createBlankThemePanel(int inset)
           
static javax.swing.JPanel createBlankThemePanel(int top, int left, int bottom, int right)
           
static javax.swing.border.Border createLnFBorder()
           
static javax.swing.JButton createLnFButton(java.lang.String caption)
           
static javax.swing.JComboBox createLnFComboBox()
           
static javax.swing.JLabel createLnFLabel(java.lang.String caption)
           
static javax.swing.JList createLnFList()
           
static javax.swing.JPanel createLnFPanel()
           
static javax.swing.JPasswordField createLnFPasswordField()
           
static javax.swing.JRadioButton createLnFRadioButton(java.lang.String caption)
           
static javax.swing.JScrollPane createLnFScrollPane(javax.swing.JComponent comp)
           
static javax.swing.JTextArea createLnFTextArea()
           
static javax.swing.JTextField createLnFTextField()
           
static javax.swing.JPanel createThemePanel()
           
static javax.swing.ImageIcon getIcon(java.lang.String iconConfigId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiHelper

public GuiHelper()
Method Detail

createLnFLabel

public static javax.swing.JLabel createLnFLabel(java.lang.String caption)

createLnFPanel

public static javax.swing.JPanel createLnFPanel()

createLnFBorder

public static javax.swing.border.Border createLnFBorder()

createLnFTextField

public static javax.swing.JTextField createLnFTextField()

createLnFComboBox

public static javax.swing.JComboBox createLnFComboBox()

createLnFPasswordField

public static javax.swing.JPasswordField createLnFPasswordField()

createLnFScrollPane

public static javax.swing.JScrollPane createLnFScrollPane(javax.swing.JComponent comp)

createLnFTextArea

public static javax.swing.JTextArea createLnFTextArea()

createLnFList

public static javax.swing.JList createLnFList()

createLnFRadioButton

public static javax.swing.JRadioButton createLnFRadioButton(java.lang.String caption)

createLnFButton

public static javax.swing.JButton createLnFButton(java.lang.String caption)

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String iconConfigId)

createBlankThemePanel

public static javax.swing.JPanel createBlankThemePanel(int inset)

createBlankColorPanel

public static javax.swing.JPanel createBlankColorPanel(int inset,
                                                       java.awt.Color bkColor)

createBlankColorPanel

public static javax.swing.JPanel createBlankColorPanel(int height,
                                                       int width,
                                                       java.awt.Color bkColor)

createThemePanel

public static javax.swing.JPanel createThemePanel()

createBlankThemePanel

public static javax.swing.JPanel createBlankThemePanel(int top,
                                                       int left,
                                                       int bottom,
                                                       int right)