public class RMEditorShapePainter extends RMShapePainterJ2D
| Constructor and Description |
|---|
RMEditorShapePainter(java.awt.Graphics2D aGr,
RMEditor anEditor)
Creates an editor java2d painter for the given editor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RMShape> |
getSelected() |
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.
|
protected void |
paintText(RMTextShape aText)
Paints text - special case because uses editor.
|
protected void |
paintTextEditor(RMTextEditor aTE)
Paints a given layout in a given graphics.
|
void |
sendPaintShape(RMShape aShape)
Override to handle text.
|
clip, 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, translatepublic RMEditorShapePainter(java.awt.Graphics2D aGr,
RMEditor anEditor)
public boolean isEditing()
isEditing in interface RMShapePainterisEditing in class RMShapePainterJ2Dpublic boolean isSelected(RMShape aShape)
isSelected in interface RMShapePainterisSelected in class RMShapePainterJ2Dpublic boolean isSuperSelected(RMShape aShape)
isSuperSelected in interface RMShapePainterisSuperSelected in class RMShapePainterJ2Dpublic boolean isSuperSelectedShape(RMShape aShape)
isSuperSelectedShape in interface RMShapePainterisSuperSelectedShape in class RMShapePainterJ2Dpublic java.util.List<RMShape> getSelected()
public void sendPaintShape(RMShape aShape)
sendPaintShape in interface RMShapePaintersendPaintShape in class RMShapePainterJ2Dprotected void paintText(RMTextShape aText)
protected void paintTextEditor(RMTextEditor aTE)