info.joseluismartin.gui.bind
Class TablePanelAccessor

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

public class TablePanelAccessor
extends AbstractControlAccessor
implements EditorListener

Control Accessor for TablePanel, usually used with CollectionPersistentService to edit Lists

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

Constructor Summary
TablePanelAccessor(Object control)
           
 
Method Summary
 TablePanel<Object> getControl()
           
 Object getControlValue()
          Gets the control value
 void modelChanged(EditorEvent e)
          notify that model change state
 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

TablePanelAccessor

public TablePanelAccessor(Object control)
Parameters:
control -
Method Detail

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

modelChanged

public void modelChanged(EditorEvent e)
notify that model change state

Specified by:
modelChanged in interface EditorListener
Parameters:
e - editor event

getControl

public TablePanel<Object> getControl()
Overrides:
getControl in class AbstractControlAccessor
Returns:
the control


Copyright © 2013 JDAL. All Rights Reserved.