public abstract class AbstractElementRenderer extends Object implements ElementRenderer
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() |
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() |
void |
removeChangeListener(ChangeListener changeListener) |
void |
setVisualHeight(double visualHeight) |
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
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