info.joseluismartin.gui.report
Class ReportView

java.lang.Object
  extended by info.joseluismartin.gui.AbstractView<Report>
      extended by info.joseluismartin.gui.report.ReportView
All Implemented Interfaces:
BinderHolder, ControlChangeListener, Binder<Report>, ModelHolder<Report>, View<Report>, EventListener

public class ReportView
extends AbstractView<Report>

Author:
Jose A. Corbacho

Field Summary
 
Fields inherited from class info.joseluismartin.gui.AbstractView
DEFAULT_BINDER_FACTORY_NAME, errors, height, messageSource, width
 
Constructor Summary
ReportView()
           
ReportView(Report model)
          Constructor
 
Method Summary
protected  JComponent buildPanel()
          Build the JComponent that hold controls.
protected  void doRefresh()
          Allow subclasses to do custom refresh
 void doUpdate()
          Callback method on update()
 ReportFileView getFileView()
          GETTERS AND SETTERS
 ReportService getReportService()
           
 PersistentManager<ReportType,Long> getTypeService()
           
 void init()
           
 void onSetModel(Report model)
          Callback method to handle model changes
 void setFileView(ReportFileView fileView)
           
 void setReportService(ReportService reportService)
           
 void setTypeService(PersistentManager<ReportType,Long> typeService)
           
 
Methods inherited from class info.joseluismartin.gui.AbstractView
addControlChangeListener, addView, afterRefresh, afterUpdate, autobind, bind, bind, clear, controlChange, 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
 

Constructor Detail

ReportView

public ReportView(Report model)
Constructor

Parameters:
model - the model for this view

ReportView

public ReportView()
Method Detail

init

public void init()

doRefresh

protected void doRefresh()
Description copied from class: AbstractView
Allow subclasses to do custom refresh

Overrides:
doRefresh in class AbstractView<Report>

doUpdate

public void doUpdate()
Description copied from class: AbstractView
Callback method on update()

Overrides:
doUpdate in class AbstractView<Report>

buildPanel

protected JComponent buildPanel()
Description copied from class: AbstractView
Build the JComponent that hold controls.

Specified by:
buildPanel in class AbstractView<Report>
Returns:
a JCompoent

onSetModel

public void onSetModel(Report model)
Description copied from class: AbstractView
Callback method to handle model changes

Overrides:
onSetModel in class AbstractView<Report>
Parameters:
model - the new model

getFileView

public ReportFileView getFileView()
GETTERS AND SETTERS


setFileView

public void setFileView(ReportFileView fileView)

getTypeService

public PersistentManager<ReportType,Long> getTypeService()

setTypeService

public void setTypeService(PersistentManager<ReportType,Long> typeService)

getReportService

public ReportService getReportService()

setReportService

public void setReportService(ReportService reportService)


Copyright © 2013 JDAL. All Rights Reserved.