Package com.inductiveautomation.rm.shape
Interface RMShapePainter
- All Known Implementing Classes:
RMEditorShapePainter,RMShapePainterJ2D
This class manages the painting of shapes to a Java2D graphics object.
-
Method Summary
Modifier and TypeMethodDescriptionclone()Standard clone implementation.booleanReturns whether painting is for editor.booleanisSelected(RMShape aShape) Returns whether given shape is selected.booleanisSuperSelected(RMShape aShape) Returns whether given shape is super selected.booleanisSuperSelectedShape(RMShape aShape) Returns whether given shape is THE super selected shape.voidpaintShape(RMShape aShape) Paints a simple shape.voidsendPaintShape(RMShape aShape) Paints a child shape.Methods inherited from interface com.inductiveautomation.rm.graphics.RMPainter
clip, dispose, draw, drawButton, drawButton, drawGlyphVector, drawImage, drawImage, drawLine, drawRect, drawString, fill, fill3DRect, fillRect, getClip, getClipBounds, getColor, getFont, getFontAscent, getGraphics, getOpacity, getPaint, getStringBounds, getStroke, isPrinting, rotate, scale, setAntialiasing, setClip, setColor, setFont, setOpacity, setPaint, setStroke, transform, translate
-
Method Details
-
paintShape
Paints a simple shape. -
sendPaintShape
Paints a child shape. -
isEditing
boolean isEditing()Returns whether painting is for editor. -
isSelected
Returns whether given shape is selected. -
isSuperSelected
Returns whether given shape is super selected. -
isSuperSelectedShape
Returns whether given shape is THE super selected shape. -
clone
RMShapePainter clone()Standard clone implementation.
-