org.pentaho.reporting.engine.classic.core.modules.gui.commonswing
Class AbstractGuiContext
java.lang.Object
org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractGuiContext
- All Implemented Interfaces:
- GuiContext, StatusListener, ReportEventSource, SwingGuiContext
- Direct Known Subclasses:
- DefaultGuiContext
public abstract class AbstractGuiContext
- extends Object
- implements SwingGuiContext, StatusListener, ReportEventSource
STATUS_TYPE_PROPERTY
public static final String STATUS_TYPE_PROPERTY
- See Also:
- Constant Field Values
STATUS_TEXT_PROPERTY
public static final String STATUS_TEXT_PROPERTY
- See Also:
- Constant Field Values
ERROR_PROPERTY
public static final String ERROR_PROPERTY
- See Also:
- Constant Field Values
getWindow
public abstract Window getWindow()
- Description copied from interface:
SwingGuiContext
- Returns the calling window.
- Specified by:
getWindow
in interface SwingGuiContext
- Returns:
- the calling window, or null, if there is none.
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface GuiContext
getIconTheme
public IconTheme getIconTheme()
- Specified by:
getIconTheme
in interface GuiContext
getConfiguration
public org.pentaho.reporting.libraries.base.config.Configuration getConfiguration()
- Specified by:
getConfiguration
in interface GuiContext
getStatusListener
public StatusListener getStatusListener()
- Specified by:
getStatusListener
in interface SwingGuiContext
setStatus
public void setStatus(StatusType type,
String text,
Throwable cause)
- Specified by:
setStatus
in interface StatusListener
getError
public Throwable getError()
getStatusType
public StatusType getStatusType()
getStatusText
public String getStatusText()
getEventSource
public ReportEventSource getEventSource()
- Specified by:
getEventSource
in interface SwingGuiContext
setPageNumber
public void setPageNumber(int pageNumber)
getPageNumber
public int getPageNumber()
- Specified by:
getPageNumber
in interface ReportEventSource
setNumberOfPages
public void setNumberOfPages(int numberOfPages)
getNumberOfPages
public int getNumberOfPages()
- Specified by:
getNumberOfPages
in interface ReportEventSource
setPaginating
public void setPaginating(boolean paginating)
isPaginating
public boolean isPaginating()
- Specified by:
isPaginating
in interface ReportEventSource
setPaginated
public void setPaginated(boolean paginated)
isPaginated
public boolean isPaginated()
- Specified by:
isPaginated
in interface ReportEventSource
getReportJob
public abstract MasterReport getReportJob()
- Specified by:
getReportJob
in interface ReportEventSource
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)
- Specified by:
addPropertyChangeListener
in interface ReportEventSource
addPropertyChangeListener
public void addPropertyChangeListener(String property,
PropertyChangeListener propertyChangeListener)
- Specified by:
addPropertyChangeListener
in interface ReportEventSource
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
- Specified by:
removePropertyChangeListener
in interface ReportEventSource
removePropertyChangeListener
public void removePropertyChangeListener(String property,
PropertyChangeListener propertyChangeListener)
- Specified by:
removePropertyChangeListener
in interface ReportEventSource