Class ItemSelectionHighlight
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
-
- com.inductiveautomation.ignition.designer.designable.highlights.RectangularHighlight
-
- com.inductiveautomation.ignition.designer.designable.highlights.ItemSelectionHighlight
-
- All Implemented Interfaces:
IHighlight
public class ItemSelectionHighlight extends RectangularHighlight
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Stroke
S1
static java.awt.Stroke
S2
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.highlights.RectangularHighlight
rectangle, zoomed
-
Fields inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
DASHED_LINE, fillColor, stroke, strokeColor, THICK_LINE, THIN_LINE
-
-
Constructor Summary
Constructors Constructor Description ItemSelectionHighlight(AbstractDesignableWorkspace workspace, javax.swing.JComponent interactionLayer, DesignableContainer container, javax.swing.JComponent item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2D
getRectangle()
The outer bounding box of the highlightprotected int
getStrokePassCount()
void
paint(DesignPanel panel, java.awt.Graphics2D g)
Paint this highlightprotected void
setStrokePass(int pass)
-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.highlights.RectangularHighlight
getShape, getTooltip, isZoomed, setRectangle
-
Methods inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
getFillColor, getFillPassCount, getFillXorColor, getStroke, getStrokeColor, getStrokeXorColor, isFillXorMode, isStrokeXorMode, setFillPass
-
-
-
-
Constructor Detail
-
ItemSelectionHighlight
public ItemSelectionHighlight(AbstractDesignableWorkspace workspace, javax.swing.JComponent interactionLayer, DesignableContainer container, javax.swing.JComponent item)
-
-
Method Detail
-
paint
public void paint(DesignPanel panel, java.awt.Graphics2D g)
Description copied from interface:IHighlight
Paint this highlight- Specified by:
paint
in interfaceIHighlight
- Overrides:
paint
in classAbstractMultipassHighlight
-
getRectangle
public java.awt.geom.Rectangle2D getRectangle()
Description copied from interface:IHighlight
The outer bounding box of the highlight- Specified by:
getRectangle
in interfaceIHighlight
- Overrides:
getRectangle
in classRectangularHighlight
-
getStrokePassCount
protected int getStrokePassCount()
- Overrides:
getStrokePassCount
in classAbstractMultipassHighlight
-
setStrokePass
protected void setStrokePass(int pass)
- Overrides:
setStrokePass
in classAbstractMultipassHighlight
-
-