public class ItemSelectionHighlight extends RectangularHighlight
Modifier and Type | Field and Description |
---|---|
static java.awt.Stroke |
S1 |
static java.awt.Stroke |
S2 |
rectangle, zoomed
DASHED_LINE, fillColor, stroke, strokeColor, THICK_LINE, THIN_LINE
Constructor and Description |
---|
ItemSelectionHighlight(AbstractDesignableWorkspace workspace,
javax.swing.JComponent interactionLayer,
DesignableContainer container,
javax.swing.JComponent item) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getRectangle()
The outer bounding box of the highlight
|
protected int |
getStrokePassCount() |
void |
paint(DesignPanel panel,
java.awt.Graphics2D g)
Paint this highlight
|
protected void |
setStrokePass(int pass) |
getShape, getTooltip, isZoomed, setRectangle
getFillColor, getFillPassCount, getFillXORColor, getStroke, getStrokeColor, getStrokeXORColor, isFillXORMode, isStrokeXORMode, setFillPass
public ItemSelectionHighlight(AbstractDesignableWorkspace workspace, javax.swing.JComponent interactionLayer, DesignableContainer container, javax.swing.JComponent item)
public void paint(DesignPanel panel, java.awt.Graphics2D g)
IHighlight
paint
in interface IHighlight
paint
in class AbstractMultipassHighlight
public java.awt.geom.Rectangle2D getRectangle()
IHighlight
getRectangle
in interface IHighlight
getRectangle
in class RectangularHighlight
protected int getStrokePassCount()
getStrokePassCount
in class AbstractMultipassHighlight
protected void setStrokePass(int pass)
setStrokePass
in class AbstractMultipassHighlight