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.voidpaintShape(RMLabel aLabel, Graphics2D g) Handles painting a label shape.voidpaintShape(RMNestedDoc aDoc, Graphics2D g) Handles painting a nested document shape.voidpaintShape(RMPolygon aPoly, Graphics2D g) Handles painting a polygon shape.voidpaintShape(RMSound aSound, Graphics2D g) Handles painting a sound shape.voidpaintShape(RMSwitchShape aSwitch, Graphics2D g) Handles painting a switch shape.voidpaintShape(RMTable aTable, Graphics2D g) Handles painting a table.voidpaintShape(RMTableRow aTableRow, Graphics2D g) Handles painting a table row.voidpaintShape(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, setPrintingMethods 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:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a sound shape.- Overrides:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a polygon shape.- Overrides:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a switch shape.- Overrides:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a table.- Overrides:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a table row.- Overrides:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a label shape.- Overrides:
 paintShapein classRMShapePainter
 - 
paintShape
Handles painting a nested document shape.- Overrides:
 paintShapein classRMShapePainter
 - 
getDefaultImage
Returns the default image.- Overrides:
 getDefaultImagein classRMShapePainter
 
 -