public abstract class AbstractElementRenderer extends Object implements ElementRenderer
Modifier | Constructor and Description |
---|---|
protected |
AbstractElementRenderer(org.pentaho.reporting.engine.classic.core.Section element,
ReportDocumentContext reportRenderContext) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener changeListener) |
void |
dispose() |
boolean |
draw(Graphics2D graphics2D) |
void |
fireChangeEvent() |
Rectangle2D |
getBounds() |
org.pentaho.reporting.engine.classic.core.Section |
getElement() |
org.pentaho.reporting.engine.classic.core.Element[] |
getElementsAt(double x,
double y) |
org.pentaho.reporting.engine.classic.core.Element[] |
getElementsAt(double x,
double y,
double width,
double height) |
org.pentaho.reporting.engine.classic.core.metadata.ElementType |
getElementType() |
long[] |
getHorizontalEdgePositionKeys() |
BreakPositionsList |
getHorizontalEdgePositions() |
double |
getLayoutHeight() |
protected DesignerPageDrawable |
getLogicalPageDrawable() |
ReportDocumentContext |
getReportRenderContext() |
org.pentaho.reporting.engine.classic.core.util.InstanceID |
getRepresentationId() |
org.pentaho.reporting.engine.classic.core.util.geom.StrictBounds |
getRootElementBounds() |
BreakPositionsList |
getVerticalEdgePositions() |
LinealModel |
getVerticalLinealModel() |
double |
getVisualHeight() |
void |
handleError(ReportDesignerContext designerContext,
ReportDocumentContext reportContext) |
void |
invalidateLayout() |
boolean |
isHideInLayout() |
protected Rectangle2D |
performLayouting() |
void |
removeChangeListener(ChangeListener changeListener) |
void |
setVisualHeight(double visualHeight) |
protected AbstractElementRenderer(org.pentaho.reporting.engine.classic.core.Section element, ReportDocumentContext reportRenderContext)
public void dispose()
dispose
in interface ElementRenderer
public ReportDocumentContext getReportRenderContext()
public org.pentaho.reporting.engine.classic.core.Section getElement()
getElement
in interface ElementRenderer
public org.pentaho.reporting.engine.classic.core.metadata.ElementType getElementType()
getElementType
in interface ElementRenderer
public org.pentaho.reporting.engine.classic.core.util.InstanceID getRepresentationId()
getRepresentationId
in interface ElementRenderer
public void addChangeListener(ChangeListener changeListener)
addChangeListener
in interface ElementRenderer
public void removeChangeListener(ChangeListener changeListener)
removeChangeListener
in interface ElementRenderer
public void fireChangeEvent()
public double getVisualHeight()
getVisualHeight
in interface ElementRenderer
public void setVisualHeight(double visualHeight)
setVisualHeight
in interface ElementRenderer
public boolean isHideInLayout()
isHideInLayout
in interface ElementRenderer
public LinealModel getVerticalLinealModel()
getVerticalLinealModel
in interface ElementRenderer
public double getLayoutHeight()
getLayoutHeight
in interface ElementRenderer
public void invalidateLayout()
invalidateLayout
in interface ElementRenderer
public Rectangle2D getBounds()
getBounds
in interface ElementRenderer
public org.pentaho.reporting.engine.classic.core.util.geom.StrictBounds getRootElementBounds()
getRootElementBounds
in interface ElementRenderer
protected Rectangle2D performLayouting()
public boolean draw(Graphics2D graphics2D)
draw
in interface ElementRenderer
public void handleError(ReportDesignerContext designerContext, ReportDocumentContext reportContext)
handleError
in interface ElementRenderer
public BreakPositionsList getHorizontalEdgePositions()
getHorizontalEdgePositions
in interface ElementRenderer
public long[] getHorizontalEdgePositionKeys()
getHorizontalEdgePositionKeys
in interface ElementRenderer
public BreakPositionsList getVerticalEdgePositions()
getVerticalEdgePositions
in interface ElementRenderer
public org.pentaho.reporting.engine.classic.core.Element[] getElementsAt(double x, double y, double width, double height)
getElementsAt
in interface ElementRenderer
public org.pentaho.reporting.engine.classic.core.Element[] getElementsAt(double x, double y)
getElementsAt
in interface ElementRenderer
protected DesignerPageDrawable getLogicalPageDrawable()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.