info.joseluismartin.gui.bind
Class SelectorAccessor

java.lang.Object
  extended by info.joseluismartin.gui.bind.AbstractControlAccessor
      extended by info.joseluismartin.gui.bind.SelectorAccessor
All Implemented Interfaces:
ControlAccessor, ActionListener, EventListener

public class SelectorAccessor
extends AbstractControlAccessor
implements ActionListener

ControlAccessor for Selector

Since:
1.1
Author:
Jose Luis Martin - (jlm@joseluismartin.info)
See Also:
ControlAccessor, Selector

Constructor Summary
SelectorAccessor(Object selector)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          
 Selector<?> getControl()
           
 List<?> getControlValue()
          Gets the control value
 void setControl(Selector<?> selector)
           
 void setControlValue(Object value)
          Sets the control value
 
Methods inherited from class info.joseluismartin.gui.bind.AbstractControlAccessor
addControlChangeListener, convertIfNecessary, fireControlChange, isEnabled, isTextControl, removeControlChangeListener, setControl, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectorAccessor

public SelectorAccessor(Object selector)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

Specified by:
actionPerformed in interface ActionListener

getControlValue

public List<?> 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 Selector<?> getControl()
Overrides:
getControl in class AbstractControlAccessor
Returns:
the control

setControl

public void setControl(Selector<?> selector)


Copyright © 2013 JDAL. All Rights Reserved.