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.boolean
Returns whether painting is for editor.boolean
isSelected
(RMShape aShape) Returns whether given shape is selected.boolean
isSuperSelected
(RMShape aShape) Returns whether given shape is super selected.boolean
isSuperSelectedShape
(RMShape aShape) Returns whether given shape is THE super selected shape.void
paintShape
(RMShape aShape) Paints a simple shape.void
sendPaintShape
(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.
-