Class AbstractReportDesignerContext
- java.lang.Object
-
- org.pentaho.reporting.designer.core.AbstractReportDesignerContext
-
- All Implemented Interfaces:
ReportDesignerContext
- Direct Known Subclasses:
DefaultReportDesignerContext
public abstract class AbstractReportDesignerContext extends Object implements ReportDesignerContext
-
-
Field Summary
-
Fields inherited from interface org.pentaho.reporting.designer.core.ReportDesignerContext
ACTIVE_CONTEXT_PROPERTY, PAGE_PROPERTY, PAGE_TOTAL_PROPERTY, REPORT_RENDER_CONTEXT_PROPERTY, SELECTION_WAITING_PROPERTY, STATUS_TEXT_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description AbstractReportDesignerContext(ReportDesignerView view)
-
Method Summary
-
-
-
Constructor Detail
-
AbstractReportDesignerContext
public AbstractReportDesignerContext(ReportDesignerView view)
-
-
Method Detail
-
getRecentFilesModel
public RecentFilesModel getRecentFilesModel()
- Specified by:
getRecentFilesModel
in interfaceReportDesignerContext
-
addMasterReport
public int addMasterReport(org.pentaho.reporting.engine.classic.core.MasterReport masterReportElement)
- Specified by:
addMasterReport
in interfaceReportDesignerContext
-
addSubReport
public int addSubReport(ReportDocumentContext parentReportContext, org.pentaho.reporting.engine.classic.core.SubReport subReportElement)
- Specified by:
addSubReport
in interfaceReportDesignerContext
-
removeReportRenderContext
public void removeReportRenderContext(int index)
- Specified by:
removeReportRenderContext
in interfaceReportDesignerContext
-
getReportRenderContextCount
public int getReportRenderContextCount()
- Specified by:
getReportRenderContextCount
in interfaceReportDesignerContext
-
getDocumentContext
public ReportDesignerDocumentContext getDocumentContext(int index)
- Specified by:
getDocumentContext
in interfaceReportDesignerContext
-
getReportRenderContext
public ReportRenderContext getReportRenderContext(int index)
- Specified by:
getReportRenderContext
in interfaceReportDesignerContext
-
getActiveContext
public ReportDocumentContext getActiveContext()
- Specified by:
getActiveContext
in interfaceReportDesignerContext
-
getActiveDocument
public ReportDesignerDocumentContext getActiveDocument()
- Specified by:
getActiveDocument
in interfaceReportDesignerContext
-
setActiveDocument
public void setActiveDocument(ReportDesignerDocumentContext activeContext)
- Specified by:
setActiveDocument
in interfaceReportDesignerContext
-
getStatusText
public String getStatusText()
-
setStatusText
public void setStatusText(String statusText)
- Specified by:
setStatusText
in interfaceReportDesignerContext
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfaceReportDesignerContext
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfaceReportDesignerContext
-
addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener
in interfaceReportDesignerContext
-
removePropertyChangeListener
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener
in interfaceReportDesignerContext
-
getView
public ReportDesignerView getView()
- Specified by:
getView
in interfaceReportDesignerContext
-
findActiveContextIndex
public int findActiveContextIndex()
- Specified by:
findActiveContextIndex
in interfaceReportDesignerContext
-
isSelectionWaiting
public boolean isSelectionWaiting()
- Specified by:
isSelectionWaiting
in interfaceReportDesignerContext
-
setSelectionWaiting
public void setSelectionWaiting(boolean selectionWaiting)
- Specified by:
setSelectionWaiting
in interfaceReportDesignerContext
-
getGlobalAuthenticationStore
public GlobalAuthenticationStore getGlobalAuthenticationStore()
- Specified by:
getGlobalAuthenticationStore
in interfaceReportDesignerContext
-
setPageNumbers
public void setPageNumbers(int page, int pageTotal)
- Specified by:
setPageNumbers
in interfaceReportDesignerContext
-
getPage
public int getPage()
- Specified by:
getPage
in interfaceReportDesignerContext
-
getPageTotal
public int getPageTotal()
- Specified by:
getPageTotal
in interfaceReportDesignerContext
-
getParent
public Component getParent()
- Specified by:
getParent
in interfaceReportDesignerContext
-
getPopupMenu
public JPopupMenu getPopupMenu(String id)
- Specified by:
getPopupMenu
in interfaceReportDesignerContext
-
getToolBar
public JComponent getToolBar(String id)
- Specified by:
getToolBar
in interfaceReportDesignerContext
-
-