info.joseluismartin.gui.table
Class TableListView<T>
java.lang.Object
info.joseluismartin.gui.AbstractView<List<T>>
info.joseluismartin.gui.table.TableListView<T>
- All Implemented Interfaces:
- BinderHolder, ControlChangeListener, Binder<List<T>>, ModelHolder<List<T>>, View<List<T>>, EventListener
public class TableListView<T>
- extends AbstractView<List<T>>
View for showing Lists in a TablePanel
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
Methods inherited from class info.joseluismartin.gui.AbstractView |
addControlChangeListener, addView, afterRefresh, afterUpdate, autobind, bind, bind, clear, controlChange, doRefresh, doUpdate, enableView, fireControlChange, getBinder, getBinderFactory, getBindingResult, getControlAccessorFactory, getControlInitializer, getErrorMessage, getErrorProcessors, getHeight, getIgnoredProperties, getMessage, getMessage, getMessageSource, getModel, getName, getPanel, getValidator, getWidth, ignoreProperties, ignoreProperty, isAutobinding, isDirty, isInitializeControls, listen, refresh, removeControlChangeListener, setAutobinding, setBinderFactory, setControlAccessorFactory, setControlInitializer, setDirty, setErrorProcessors, setHeight, setIgnoredProperties, setInitializeControls, setMessageSource, setModel, setName, setValidator, setWidth, update, validateView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableListView
public TableListView()
TableListView
public TableListView(List<T> model)
TableListView
public TableListView(String tableName)
init
public void init()
buildPanel
protected JComponent buildPanel()
- Build the JComponent that hold controls.
- Specified by:
buildPanel
in class AbstractView<List<T>>
- Returns:
- a JCompoent
onSetModel
public void onSetModel(List<T> model)
- Description copied from class:
AbstractView
- Callback method to handle model changes
- Overrides:
onSetModel
in class AbstractView<List<T>>
- Parameters:
model
- the new model
main
public static void main(String[] args)
getGuiFactory
public GuiFactory getGuiFactory()
- Returns:
- the guiFactory
setGuiFactory
public void setGuiFactory(GuiFactory guiFactory)
- Parameters:
guiFactory
- the guiFactory to set
Copyright © 2013 JDAL. All Rights Reserved.