Class RMEditorShapePainter
- java.lang.Object
- 
- com.inductiveautomation.rm.shape.RMShapePainterJ2D
- 
- com.inductiveautomation.rm.editor.RMEditorShapePainter
 
 
- 
- All Implemented Interfaces:
- RMPainter,- RMShapePainter,- java.lang.Cloneable
 
 public class RMEditorShapePainter extends RMShapePainterJ2D A Java2D painter subclass for editor.
- 
- 
Constructor SummaryConstructors Constructor Description RMEditorShapePainter(java.awt.Graphics2D aGr, RMEditor anEditor)Creates an editor java2d painter for the given editor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<RMShape>getSelected()booleanisEditing()Returns 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.protected voidpaintText(RMTextShape aText)Paints text - special case because uses editor.protected voidpaintTextEditor(RMTextEditor aTE)Paints a given layout in a given graphics.voidsendPaintShape(RMShape aShape)Override to handle text.- 
Methods inherited from class com.inductiveautomation.rm.shape.RMShapePainterJ2Dclip, clone, dispose, draw, drawButton, drawButton, drawGlyphVector, drawImage, drawImage, drawLine, drawRect, drawString, fill, fill3DRect, fillRect, getAlignmentX, getAlignmentY, getBounds, getClip, getClipBounds, getColor, getFont, getFontAscent, getGraphics, getOpacity, getPaint, getScale, getStringBounds, getStroke, isGrowToFit, isPrinting, isShrinkToFit, paintShape, rotate, scale, setAlignmentX, setAlignmentY, setAntialiasing, setBounds, setBounds, setClip, setColor, setFont, setGrowToFit, setOpacity, setPaint, setPrinting, setScale, setShrinkToFit, setStroke, toString, transform, translate
 
- 
 
- 
- 
- 
Constructor Detail- 
RMEditorShapePainterpublic RMEditorShapePainter(java.awt.Graphics2D aGr, RMEditor anEditor)Creates an editor java2d painter for the given editor.
 
- 
 - 
Method Detail- 
isEditingpublic boolean isEditing() Returns whether painting is for editor.- Specified by:
- isEditingin interface- RMShapePainter
- Overrides:
- isEditingin class- RMShapePainterJ2D
 
 - 
isSelectedpublic boolean isSelected(RMShape aShape) Returns whether given shape is selected.- Specified by:
- isSelectedin interface- RMShapePainter
- Overrides:
- isSelectedin class- RMShapePainterJ2D
 
 - 
isSuperSelectedpublic boolean isSuperSelected(RMShape aShape) Returns whether given shape is super selected.- Specified by:
- isSuperSelectedin interface- RMShapePainter
- Overrides:
- isSuperSelectedin class- RMShapePainterJ2D
 
 - 
isSuperSelectedShapepublic boolean isSuperSelectedShape(RMShape aShape) Returns whether given shape is THE super selected shape.- Specified by:
- isSuperSelectedShapein interface- RMShapePainter
- Overrides:
- isSuperSelectedShapein class- RMShapePainterJ2D
 
 - 
getSelectedpublic java.util.List<RMShape> getSelected() 
 - 
sendPaintShapepublic void sendPaintShape(RMShape aShape) Override to handle text.- Specified by:
- sendPaintShapein interface- RMShapePainter
- Overrides:
- sendPaintShapein class- RMShapePainterJ2D
 
 - 
paintTextprotected void paintText(RMTextShape aText) Paints text - special case because uses editor.
 - 
paintTextEditorprotected void paintTextEditor(RMTextEditor aTE) Paints a given layout in a given graphics.
 
- 
 
-