org.jminor.framework.client.ui
Class EntityComboProvider
java.lang.Object
org.jminor.common.ui.input.AbstractInputProvider<Entity,JComboBox>
org.jminor.framework.client.ui.EntityComboProvider
- All Implemented Interfaces:
- InputProvider<Entity,JComboBox>
public final class EntityComboProvider
- extends AbstractInputProvider<Entity,JComboBox>
A InputProvider implementation for Entity values based on a JComboBox.
- See Also:
EntityComboBoxModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityComboProvider
public EntityComboProvider(EntityComboBoxModel model,
Entity initialValue)
- Instantiates a new input provider based on the EntityComboBoxModel class
- Parameters:
model
- the combo box modelinitialValue
- the initial value to display
getValue
public Entity getValue()
-
- Specified by:
getValue
in interface InputProvider<Entity,JComboBox>
- Specified by:
getValue
in class AbstractInputProvider<Entity,JComboBox>
- Returns:
- the value according to the input component