Package com.inductiveautomation.rm.shape
Class ReportOwner
java.lang.Object
com.inductiveautomation.rm.shape.ReportOwner
- All Implemented Interfaces:
RMKeyChain.Get
A base class that loads and runs reports.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A shape class to represent multiple pages of shapes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addModelObject
(Object anObj) Sets objects in this reportmill.void
addPageReferenceShape
(RMShape aShape) Registers a shape with a page key in it.protected Object
convertToStandardType
(Object anObj) Called by various objects to convert objects to generic types.protected RMDocument
Creates the template.Generates the report.Returns an unmodifiable version of the_dataStack
.getKeyChainListValue
(String aKeyChain) Returns a list for the given keychain.getKeyChainValue
(Object aRoot, RMKeyChain aKeyChain) RMKeyChain.Get implementation to run against DataStack.getModel()
Returns the model object.Returns the string used to represent null values.Returns the list of page reference shapes.boolean
Returns whether this reportmill paginates.Returns the template.Returns the last data object in the data objects list.Removes a specific object at given index in list.void
pushDataStack
(Object anObj) Adds a data object to the data object list.void
Performs page substitutions on any text fields that were identified as containing @Page@ keys.Performs RPG on a given shape.void
setNullString
(String aString) Sets the string used to represent null values.void
setPageReferenceShapes
(List aList) Sets the list of page reference shapes.void
setPaginate
(boolean aFlag) Sets whether this reportmill paginates.protected void
setTemplate
(RMDocument aDoc) Sets the template.
-
Constructor Details
-
ReportOwner
public ReportOwner()
-
-
Method Details
-
getTemplate
Returns the template. -
createTemplate
Creates the template. -
setTemplate
Sets the template. -
getNullString
Returns the string used to represent null values. -
setNullString
Sets the string used to represent null values. -
getPaginate
public boolean getPaginate()Returns whether this reportmill paginates. -
setPaginate
public void setPaginate(boolean aFlag) Sets whether this reportmill paginates. -
getModel
Returns the model object. -
addModelObject
Sets objects in this reportmill. -
pushDataStack
Adds a data object to the data object list. -
popDataStack
Removes a specific object at given index in list. -
peekDataStack
Returns the last data object in the data objects list. -
getDataStack
Returns an unmodifiable version of the_dataStack
. -
generateReport
Generates the report. -
rpg
Performs RPG on a given shape. -
getPageReferenceShapes
Returns the list of page reference shapes. -
setPageReferenceShapes
Sets the list of page reference shapes. -
addPageReferenceShape
Registers a shape with a page key in it. -
getKeyChainValue
RMKeyChain.Get implementation to run against DataStack.- Specified by:
getKeyChainValue
in interfaceRMKeyChain.Get
-
getKeyChainListValue
Returns a list for the given keychain. -
convertToStandardType
Called by various objects to convert objects to generic types. -
resolvePageReferences
public void resolvePageReferences()Performs page substitutions on any text fields that were identified as containing @Page@ keys.
-