be.lassi.ui.util
Class Build
java.lang.Object
be.lassi.ui.util.Build
public class Build
- extends java.lang.Object
Factory for Swing components, providing binding to Holder
instances. Provides a facade to the JGoodies BasicComponentFactory
adapting our Holder
s to ValueModel
s instances
that are requitred by JGoodies.
Method Summary |
static javax.swing.JCheckBox |
checkBox(Holder<java.lang.Boolean> holder,
java.lang.String text)
|
static javax.swing.JTextField |
textField(Holder<java.lang.String> holder)
|
static javax.swing.JToggleButton |
toggleButton(Holder<java.lang.Boolean> holder,
java.lang.String text)
|
static javax.swing.JLabel |
validationResultLabel(com.jgoodies.validation.ValidationResultModel model)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkBox
public static javax.swing.JCheckBox checkBox(Holder<java.lang.Boolean> holder,
java.lang.String text)
textField
public static javax.swing.JTextField textField(Holder<java.lang.String> holder)
toggleButton
public static javax.swing.JToggleButton toggleButton(Holder<java.lang.Boolean> holder,
java.lang.String text)
validationResultLabel
public static javax.swing.JLabel validationResultLabel(com.jgoodies.validation.ValidationResultModel model)