public class DefaultWidgetFactory extends Object implements WidgetFactory
| Constructor and Description |
|---|
DefaultWidgetFactory() |
| Modifier and Type | Method and Description |
|---|---|
TableCellEditor |
createCellEditor(JComboBox combo)
Creates cell editor for a table with combo as editor component.
|
DefaultCellEditor |
createCellEditor(JTextField textField)
Creates cell editor for text field
|
JComboBox |
createComboBox()
Creates a new JComboBox.
|
JComboBox |
createComboBox(Collection<String> model,
boolean sort)
Creates a new JComboBox with a collection of model objects.
|
JComboBox |
createComboBox(Object[] model,
boolean sort)
Creates a new JComboBox with an array of model objects.
|
org.syntax.jedit.JEditTextArea |
createJEditTextArea()
Creates and returns a JEdit text component with syntax highlighing
|
JComboBox |
createUndoableComboBox()
Creates undoable JComboBox.
|
public JComboBox createComboBox(Collection<String> model, boolean sort)
createComboBox in interface WidgetFactorypublic JComboBox createComboBox(Object[] model, boolean sort)
createComboBox in interface WidgetFactorypublic JComboBox createComboBox()
createComboBox in interface WidgetFactorypublic JComboBox createUndoableComboBox()
createUndoableComboBox in interface WidgetFactorypublic DefaultCellEditor createCellEditor(JTextField textField)
createCellEditor in interface WidgetFactorypublic TableCellEditor createCellEditor(JComboBox combo)
createCellEditor in interface WidgetFactorycombo - JComboBox to be used as editor componentpublic org.syntax.jedit.JEditTextArea createJEditTextArea()
createJEditTextArea in interface WidgetFactoryCopyright © 2001–2015 Apache Cayenne. All rights reserved.