info.joseluismartin.gui.bind
Class ComboAccessor
java.lang.Object
info.joseluismartin.gui.bind.AbstractControlAccessor
info.joseluismartin.gui.bind.ComboAccessor
- All Implemented Interfaces:
- ControlAccessor, ActionListener, EventListener
public class ComboAccessor
- extends AbstractControlAccessor
- implements ActionListener
Control Accessor for JComboBox
- Since:
- 1.1
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
- See Also:
AbstractControlAccessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComboAccessor
public ComboAccessor(Object combo)
getControlValue
public Object getControlValue()
- Gets the control value
- Specified by:
getControlValue
in interface ControlAccessor
- Returns:
- the control value
setControlValue
public void setControlValue(Object value)
- Sets the control value
- Specified by:
setControlValue
in interface ControlAccessor
- Parameters:
value
- the value to set
getControl
public JComboBox getControl()
-
- Overrides:
getControl
in class AbstractControlAccessor
- Returns:
- the control
actionPerformed
public void actionPerformed(ActionEvent e)
-
- Specified by:
actionPerformed
in interface ActionListener
Copyright © 2013 JDAL. All Rights Reserved.