Package com.reportmill.editor
Class RMEditorShapePainter
- java.lang.Object
-
- com.reportmill.base.RMObject
-
- com.reportmill.shape.RMShapePainter
-
- com.reportmill.editor.RMEditorShapePainter
-
- All Implemented Interfaces:
RMArchiver.Archiving,java.lang.Cloneable
- Direct Known Subclasses:
RBEditorShapePainter
public class RMEditorShapePainter extends RMShapePainter
A Shape painter subclass for painting shapes in an editor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.reportmill.shape.RMShapePainter
RMShapePainter.Paint
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Image_frameIcon
-
Constructor Summary
Constructors Constructor Description RMEditorShapePainter(RMEditor anEditor)Creates a shape painter 2 for the given editor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ImagegetDefaultImage()Returns the default image.RMEditorgetEditor()Returns the editor associated with this shape painter.voidpaintShape(RMLabel aLabel, java.awt.Graphics2D g)Handles painting a label shape.voidpaintShape(RMNestedDoc aDoc, java.awt.Graphics2D g)Handles painting a nested document shape.voidpaintShape(RMPolygon aPoly, java.awt.Graphics2D g)Handles painting a polygon shape.voidpaintShape(RMSound aSound, java.awt.Graphics2D g)Handles painting a sound shape.voidpaintShape(RMSwitchShape aSwitch, java.awt.Graphics2D g)Handles painting a switch shape.voidpaintShape(RMTable aTable, java.awt.Graphics2D g)Handles painting a table.voidpaintShape(RMTableRow aTableRow, java.awt.Graphics2D g)Handles painting a table row.voidpaintShape(RMText aText, java.awt.Graphics2D g)Paints text.-
Methods inherited from class com.reportmill.shape.RMShapePainter
getImageForShape, getImageForShape, isPrinting, paintShape, paintShape, paintShape, paintShape, paintShape_super, paintShapeDeep, paintShapeOver, paintShapeOver, setPrinting
-
Methods inherited from class com.reportmill.base.RMObject
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
-
-
-
-
Constructor Detail
-
RMEditorShapePainter
public RMEditorShapePainter(RMEditor anEditor)
Creates a shape painter 2 for the given editor.
-
-
Method Detail
-
getEditor
public RMEditor getEditor()
Returns the editor associated with this shape painter.
-
paintShape
public void paintShape(RMText aText, java.awt.Graphics2D g)
Paints text.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMSound aSound, java.awt.Graphics2D g)
Handles painting a sound shape.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMPolygon aPoly, java.awt.Graphics2D g)
Handles painting a polygon shape.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMSwitchShape aSwitch, java.awt.Graphics2D g)
Handles painting a switch shape.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMTable aTable, java.awt.Graphics2D g)
Handles painting a table.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMTableRow aTableRow, java.awt.Graphics2D g)
Handles painting a table row.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMLabel aLabel, java.awt.Graphics2D g)
Handles painting a label shape.- Overrides:
paintShapein classRMShapePainter
-
paintShape
public void paintShape(RMNestedDoc aDoc, java.awt.Graphics2D g)
Handles painting a nested document shape.- Overrides:
paintShapein classRMShapePainter
-
getDefaultImage
public java.awt.Image getDefaultImage()
Returns the default image.- Overrides:
getDefaultImagein classRMShapePainter
-
-