info.joseluismartin.gui.bind
Interface ControlAccessor

All Known Implementing Classes:
AbstractControlAccessor, ComboAccessor, ListAccessor, SelectorAccessor, TextComponentAccessor, ToggleButtonAccessor

public interface ControlAccessor

Interface for generic access to ui controls

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Method Summary
 void addControlChangeListener(ControlChangeListener l)
          Add a ControlChangeListener
 Object getControlValue()
          Gets the control value
 void removeControlChangeListener(ControlChangeListener l)
          Remove a ControlChangeListener
 void setControlValue(Object value)
          Sets the control value
 

Method Detail

getControlValue

Object getControlValue()
Gets the control value

Returns:
the control value

setControlValue

void setControlValue(Object value)
Sets the control value

Parameters:
value - the value to set

addControlChangeListener

void addControlChangeListener(ControlChangeListener l)
Add a ControlChangeListener

Parameters:
l - the ControlChangeListener to add.

removeControlChangeListener

void removeControlChangeListener(ControlChangeListener l)
Remove a ControlChangeListener

Parameters:
l - the ControlChangeListener to remove


Copyright © 2012 JDAL. All Rights Reserved.