de.schwarzrot.ui.service
Interface FormComponentFactory
- All Known Implementing Classes:
- DefaultFormComponentFactory
public interface FormComponentFactory
used to eliminate the cuppling to static Factory calls, to allow configurable
factories.
- Author:
- Reinhard Mantey
Method Summary |
JCheckBox |
createCheckBox(com.jgoodies.binding.value.ValueModel model,
String checkBoxText)
|
JButton |
createColorChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
|
JButton |
createColorChooser(com.jgoodies.binding.value.ValueModel model,
Component parent,
String label)
|
JComboBox |
createComboBox(ComboBoxModel model)
|
JComboBox |
createComboBox(Object[] data)
|
JComboBox |
createComboBox(Object[] data,
ListCellRenderer cellRenderer)
|
|
createComboBox(com.jgoodies.binding.list.SelectionInList<E> selectionInList)
|
|
createComboBox(com.jgoodies.binding.list.SelectionInList<E> selectionInList,
ListCellRenderer cellRenderer)
|
|
createComboBox(com.jgoodies.binding.value.ValueModel model,
Collection<E> listData)
|
|
createComboBox(com.jgoodies.binding.value.ValueModel model,
Collection<E> listData,
ListCellRenderer cellRenderer)
|
|
createComboBox(com.jgoodies.binding.value.ValueModel model,
ListModel listModel,
ListCellRenderer cellRenderer)
|
JFormattedTextField |
createDateField(com.jgoodies.binding.value.ValueModel model)
|
JFormattedTextField |
createDateField(com.jgoodies.binding.value.ValueModel valueModel,
boolean enableShortcuts)
|
JFormattedTextField |
createDateField(com.jgoodies.binding.value.ValueModel valueModel,
boolean enableShortcuts,
boolean commitsOnValidEdit)
|
JFormattedTextField |
createDateTimeField(com.jgoodies.binding.value.ValueModel model)
|
JButton |
createDialogButton(String applicationId,
FormComponentFactory.ButtonType type)
|
JButton |
createDialogButton(String applicationId,
String buttonId)
|
JFormattedTextField |
createDoubleField(com.jgoodies.binding.value.ValueModel model)
|
JSpinner |
createDoubleSpinner(com.jgoodies.binding.value.ValueModel model,
Double defaultValue,
Double min,
Double max,
Double stepSize)
|
JButton |
createFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
|
JButton |
createFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent,
int fileSelectionMode)
|
JButton |
createFontChooser(com.jgoodies.binding.value.ValueModel fontNameModel,
com.jgoodies.binding.value.ValueModel fontStyleModel,
com.jgoodies.binding.value.ValueModel fontSizeModel,
Component parent)
|
JButton |
createImageChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
|
JFormattedTextField |
createIntegerField(com.jgoodies.binding.value.ValueModel model)
|
JSlider |
createIntegerSlider(BoundedRangeModel model)
|
JSlider |
createIntegerSlider(com.jgoodies.binding.value.ValueModel model,
int min,
int max,
int stepSize)
|
JSpinner |
createIntegerSpinner(com.jgoodies.binding.value.ValueModel model,
int defaultValue,
int min,
int max,
int stepSize)
|
|
createList(ca.odell.glazedlists.EventList<E> dataList,
ca.odell.glazedlists.swing.DefaultEventSelectionModel<E> selModel)
|
|
createList(ca.odell.glazedlists.EventList<E> dataList,
ca.odell.glazedlists.swing.DefaultEventSelectionModel<E> selModel,
ListCellRenderer cellRenderer)
|
|
createList(com.jgoodies.binding.list.SelectionInList<E> selectionInList)
|
|
createList(com.jgoodies.binding.list.SelectionInList<E> selectionInList,
ListCellRenderer cellRenderer)
|
|
createList(com.jgoodies.binding.value.ValueModel model)
|
JButton |
createLocalFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
|
JButton |
createLocalFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent,
int fileSelectionMode,
boolean doSave)
|
JFormattedTextField |
createLongField(com.jgoodies.binding.value.ValueModel model)
|
JSpinner |
createLongSpinner(com.jgoodies.binding.value.ValueModel model,
long defaultValue,
long min,
long max,
long stepSize)
|
JRadioButton |
createRadioButton(com.jgoodies.binding.value.ValueModel model,
Object choice,
String text)
|
JComponent |
createReportIconAndTextPane(com.jgoodies.validation.ValidationResultModel model)
|
JTextArea |
createTextArea(com.jgoodies.binding.value.ValueModel model)
|
JTextArea |
createTextArea(com.jgoodies.binding.value.ValueModel model,
boolean commitOnFocusLost)
|
JTextField |
createTextField(com.jgoodies.binding.value.ValueModel model)
|
JTextField |
createTextField(com.jgoodies.binding.value.ValueModel model,
boolean commitOnFocusLost)
|
JFormattedTextField |
createTimeField(com.jgoodies.binding.value.ValueModel model)
|
JButton |
createToolBarButton(String formId,
String buttonId)
|
File |
getDefaultImageDirectory()
|
void |
setDefaultImageDirectory(File imageDirectory)
|
createCheckBox
JCheckBox createCheckBox(com.jgoodies.binding.value.ValueModel model,
String checkBoxText)
createColorChooser
JButton createColorChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
createColorChooser
JButton createColorChooser(com.jgoodies.binding.value.ValueModel model,
Component parent,
String label)
createComboBox
JComboBox createComboBox(ComboBoxModel model)
createComboBox
JComboBox createComboBox(Object[] data)
createComboBox
JComboBox createComboBox(Object[] data,
ListCellRenderer cellRenderer)
createComboBox
<E> JComboBox createComboBox(com.jgoodies.binding.list.SelectionInList<E> selectionInList)
createComboBox
<E> JComboBox createComboBox(com.jgoodies.binding.list.SelectionInList<E> selectionInList,
ListCellRenderer cellRenderer)
createComboBox
<E> JComboBox createComboBox(com.jgoodies.binding.value.ValueModel model,
Collection<E> listData)
createComboBox
<E> JComboBox createComboBox(com.jgoodies.binding.value.ValueModel model,
Collection<E> listData,
ListCellRenderer cellRenderer)
createComboBox
<E> JComboBox createComboBox(com.jgoodies.binding.value.ValueModel model,
ListModel listModel,
ListCellRenderer cellRenderer)
createDateField
JFormattedTextField createDateField(com.jgoodies.binding.value.ValueModel model)
createDateField
JFormattedTextField createDateField(com.jgoodies.binding.value.ValueModel valueModel,
boolean enableShortcuts)
createDateField
JFormattedTextField createDateField(com.jgoodies.binding.value.ValueModel valueModel,
boolean enableShortcuts,
boolean commitsOnValidEdit)
createDateTimeField
JFormattedTextField createDateTimeField(com.jgoodies.binding.value.ValueModel model)
createDialogButton
JButton createDialogButton(String applicationId,
FormComponentFactory.ButtonType type)
createDialogButton
JButton createDialogButton(String applicationId,
String buttonId)
createDoubleField
JFormattedTextField createDoubleField(com.jgoodies.binding.value.ValueModel model)
createDoubleSpinner
JSpinner createDoubleSpinner(com.jgoodies.binding.value.ValueModel model,
Double defaultValue,
Double min,
Double max,
Double stepSize)
createFileChooser
JButton createFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
createFileChooser
JButton createFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent,
int fileSelectionMode)
createFontChooser
JButton createFontChooser(com.jgoodies.binding.value.ValueModel fontNameModel,
com.jgoodies.binding.value.ValueModel fontStyleModel,
com.jgoodies.binding.value.ValueModel fontSizeModel,
Component parent)
createImageChooser
JButton createImageChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
createIntegerField
JFormattedTextField createIntegerField(com.jgoodies.binding.value.ValueModel model)
createIntegerSlider
JSlider createIntegerSlider(BoundedRangeModel model)
createIntegerSlider
JSlider createIntegerSlider(com.jgoodies.binding.value.ValueModel model,
int min,
int max,
int stepSize)
createIntegerSpinner
JSpinner createIntegerSpinner(com.jgoodies.binding.value.ValueModel model,
int defaultValue,
int min,
int max,
int stepSize)
createList
<E> JList createList(ca.odell.glazedlists.EventList<E> dataList,
ca.odell.glazedlists.swing.DefaultEventSelectionModel<E> selModel)
createList
<E> JList createList(ca.odell.glazedlists.EventList<E> dataList,
ca.odell.glazedlists.swing.DefaultEventSelectionModel<E> selModel,
ListCellRenderer cellRenderer)
createList
<E> JList createList(com.jgoodies.binding.list.SelectionInList<E> selectionInList)
createList
<E> JList createList(com.jgoodies.binding.list.SelectionInList<E> selectionInList,
ListCellRenderer cellRenderer)
createList
<E> JList createList(com.jgoodies.binding.value.ValueModel model)
createLocalFileChooser
JButton createLocalFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent)
createLocalFileChooser
JButton createLocalFileChooser(com.jgoodies.binding.value.ValueModel model,
Component parent,
int fileSelectionMode,
boolean doSave)
createLongField
JFormattedTextField createLongField(com.jgoodies.binding.value.ValueModel model)
createLongSpinner
JSpinner createLongSpinner(com.jgoodies.binding.value.ValueModel model,
long defaultValue,
long min,
long max,
long stepSize)
createRadioButton
JRadioButton createRadioButton(com.jgoodies.binding.value.ValueModel model,
Object choice,
String text)
createReportIconAndTextPane
JComponent createReportIconAndTextPane(com.jgoodies.validation.ValidationResultModel model)
createTextArea
JTextArea createTextArea(com.jgoodies.binding.value.ValueModel model)
createTextArea
JTextArea createTextArea(com.jgoodies.binding.value.ValueModel model,
boolean commitOnFocusLost)
createTextField
JTextField createTextField(com.jgoodies.binding.value.ValueModel model)
createTextField
JTextField createTextField(com.jgoodies.binding.value.ValueModel model,
boolean commitOnFocusLost)
createTimeField
JFormattedTextField createTimeField(com.jgoodies.binding.value.ValueModel model)
createToolBarButton
JButton createToolBarButton(String formId,
String buttonId)
getDefaultImageDirectory
File getDefaultImageDirectory()
setDefaultImageDirectory
void setDefaultImageDirectory(File imageDirectory)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.