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
,Cloneable
- Direct Known Subclasses:
RBEditorShapePainter
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 -
Constructor Summary
ConstructorsConstructorDescriptionRMEditorShapePainter
(RMEditor anEditor) Creates a shape painter 2 for the given editor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the default image.Returns the editor associated with this shape painter.void
paintShape
(RMLabel aLabel, Graphics2D g) Handles painting a label shape.void
paintShape
(RMNestedDoc aDoc, Graphics2D g) Handles painting a nested document shape.void
paintShape
(RMPolygon aPoly, Graphics2D g) Handles painting a polygon shape.void
paintShape
(RMSound aSound, Graphics2D g) Handles painting a sound shape.void
paintShape
(RMSwitchShape aSwitch, Graphics2D g) Handles painting a switch shape.void
paintShape
(RMTable aTable, Graphics2D g) Handles painting a table.void
paintShape
(RMTableRow aTableRow, Graphics2D g) Handles painting a table row.void
paintShape
(RMText aText, 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
-
Field Details
-
_frameIcon
-
-
Constructor Details
-
RMEditorShapePainter
Creates a shape painter 2 for the given editor.
-
-
Method Details
-
getEditor
Returns the editor associated with this shape painter. -
paintShape
Paints text.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a sound shape.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a polygon shape.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a switch shape.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a table.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a table row.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a label shape.- Overrides:
paintShape
in classRMShapePainter
-
paintShape
Handles painting a nested document shape.- Overrides:
paintShape
in classRMShapePainter
-
getDefaultImage
Returns the default image.- Overrides:
getDefaultImage
in classRMShapePainter
-