Class ComboBoxFieldComponentFactory
java.lang.Object
org.openjump.core.ui.swing.factory.field.ComboBoxFieldComponentFactory
- All Implemented Interfaces:
FieldComponentFactory
Factory to build a combobox component.
- Version:
- 0.1.0
- Author:
- Michael Michaud
-
Constructor Summary
ConstructorsConstructorDescriptionComboBoxFieldComponentFactory(WorkbenchContext workbenchContext) ComboBoxFieldComponentFactory(WorkbenchContext workbenchContext, String option, Object[] items) -
Method Summary
Modifier and TypeMethodDescriptioncreateComponent(ValueChangeListener listener) getValue(JComponent component) voidsetValue(JComponent component, Object value)
-
Constructor Details
-
ComboBoxFieldComponentFactory
-
ComboBoxFieldComponentFactory
public ComboBoxFieldComponentFactory(WorkbenchContext workbenchContext, String option, Object[] items)
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceFieldComponentFactory
-
setValue
- Specified by:
setValuein interfaceFieldComponentFactory
-
createComponent
- Specified by:
createComponentin interfaceFieldComponentFactory
-
createComponent
- Specified by:
createComponentin interfaceFieldComponentFactory
-