Package com.inductiveautomation.rm.shape
Interface RMShapePainter
-
- All Superinterfaces:
java.lang.Cloneable
,RMPainter
- All Known Implementing Classes:
RMEditorShapePainter
,RMShapePainterJ2D
public interface RMShapePainter extends RMPainter
This class manages the painting of shapes to a Java2D graphics object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RMShapePainter
clone()
Standard clone implementation.boolean
isEditing()
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 Detail
-
paintShape
void paintShape(RMShape aShape)
Paints a simple shape.
-
sendPaintShape
void sendPaintShape(RMShape aShape)
Paints a child shape.
-
isEditing
boolean isEditing()
Returns whether painting is for editor.
-
isSelected
boolean isSelected(RMShape aShape)
Returns whether given shape is selected.
-
isSuperSelected
boolean isSuperSelected(RMShape aShape)
Returns whether given shape is super selected.
-
isSuperSelectedShape
boolean isSuperSelectedShape(RMShape aShape)
Returns whether given shape is THE super selected shape.
-
clone
RMShapePainter clone()
Standard clone implementation.
-
-