org.af.commons.widgets
Class WidgetFactory

java.lang.Object
  extended by org.af.commons.widgets.WidgetFactory

public class WidgetFactory
extends Object


Constructor Summary
WidgetFactory()
           
 
Method Summary
static JPanel makeDialogPanelWithButtons(Container content, ActionListener al)
           
static JPanel makeDialogPanelWithButtons(Container content, HorizontalButtonPane hbp, ActionListener al)
           
static EmptyBorder makeEmptyBorder()
           
static EmptyBorder makeEmptyBorder(int w)
           
static OkCancelButtonPane makeOkCancelButtonPanel()
           
static void registerDisabler(JCheckBox chb, Component c)
           
static void registerEnabler(JCheckBox chb, Component c)
           
static void setFontSizeGlobal(int size)
           
static void showCompleteTitle(JDialog dialog)
           
static Box surroundComponentWithGlue(Component c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetFactory

public WidgetFactory()
Method Detail

makeOkCancelButtonPanel

public static OkCancelButtonPane makeOkCancelButtonPanel()

makeEmptyBorder

public static EmptyBorder makeEmptyBorder()

makeEmptyBorder

public static EmptyBorder makeEmptyBorder(int w)

surroundComponentWithGlue

public static Box surroundComponentWithGlue(Component c)

registerEnabler

public static void registerEnabler(JCheckBox chb,
                                   Component c)

registerDisabler

public static void registerDisabler(JCheckBox chb,
                                    Component c)

setFontSizeGlobal

public static void setFontSizeGlobal(int size)

showCompleteTitle

public static void showCompleteTitle(JDialog dialog)

makeDialogPanelWithButtons

public static JPanel makeDialogPanelWithButtons(Container content,
                                                HorizontalButtonPane hbp,
                                                ActionListener al)

makeDialogPanelWithButtons

public static JPanel makeDialogPanelWithButtons(Container content,
                                                ActionListener al)