org.pentaho.reporting.engine.classic.core.modules.gui.commonswing
Class DefaultGuiContext

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractGuiContext
      extended by org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.DefaultGuiContext
All Implemented Interfaces:
GuiContext, StatusListener, ReportEventSource, SwingGuiContext

public class DefaultGuiContext
extends AbstractGuiContext

Todo: Document Me

Author:
Thomas Morgner

Field Summary
 
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractGuiContext
ERROR_PROPERTY, STATUS_TEXT_PROPERTY, STATUS_TYPE_PROPERTY
 
Fields inherited from interface org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ReportEventSource
NUMBER_OF_PAGES_PROPERTY, PAGE_NUMBER_PROPERTY, PAGINATED_PROPERTY, PAGINATING_PROPERTY, REPORT_JOB_PROPERTY
 
Constructor Summary
DefaultGuiContext(Component parent, MasterReport report)
           
 
Method Summary
 MasterReport getReportJob()
           
 Window getWindow()
          Returns the calling window.
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractGuiContext
addPropertyChangeListener, addPropertyChangeListener, getConfiguration, getError, getEventSource, getIconTheme, getLocale, getNumberOfPages, getPageNumber, getStatusListener, getStatusText, getStatusType, isPaginated, isPaginating, removePropertyChangeListener, removePropertyChangeListener, setNumberOfPages, setPageNumber, setPaginated, setPaginating, setStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGuiContext

public DefaultGuiContext(Component parent,
                         MasterReport report)
Method Detail

getWindow

public Window getWindow()
Description copied from interface: SwingGuiContext
Returns the calling window.

Specified by:
getWindow in interface SwingGuiContext
Specified by:
getWindow in class AbstractGuiContext
Returns:
the calling window, or null, if there is none.

getReportJob

public MasterReport getReportJob()
Specified by:
getReportJob in interface ReportEventSource
Specified by:
getReportJob in class AbstractGuiContext