Class RectangularHighlight
- java.lang.Object
 - 
- com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
 - 
- com.inductiveautomation.ignition.designer.designable.highlights.RectangularHighlight
 
 
 
- 
- All Implemented Interfaces:
 IHighlight
- Direct Known Subclasses:
 ExpandedGroupHighlight,ItemSelectionHighlight,SelectionMarqueeHighlight
public class RectangularHighlight extends AbstractMultipassHighlight implements IHighlight
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.awt.geom.Rectangle2Drectangleprotected booleanzoomed- 
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 RectangularHighlight(java.awt.geom.Rectangle2D rectangle, boolean zoomed, java.awt.Color strokeColor, java.awt.Stroke stroke) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2DgetRectangle()The outer bounding box of the highlightprotected java.awt.ShapegetShape(DesignPanel panel)com.google.common.base.Optional<java.lang.String>getTooltip()Return the tooltip for this highlight, if applicablebooleanisZoomed()If this is true, the highlight's rectangle needs to be adjusted for zoom level in order to be accurate in 2d space.voidsetRectangle(java.awt.geom.Rectangle2D rectangle)- 
Methods inherited from class com.inductiveautomation.ignition.designer.designable.highlights.AbstractMultipassHighlight
getFillColor, getFillPassCount, getFillXorColor, getStroke, getStrokeColor, getStrokePassCount, getStrokeXorColor, isFillXorMode, isStrokeXorMode, paint, setFillPass, setStrokePass 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.inductiveautomation.ignition.designer.designable.highlights.IHighlight
paint 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isZoomed
public boolean isZoomed()
Description copied from interface:IHighlightIf this is true, the highlight's rectangle needs to be adjusted for zoom level in order to be accurate in 2d space. Otherwise the rectangle is already in 2d space- Specified by:
 isZoomedin interfaceIHighlight
 
- 
getRectangle
public java.awt.geom.Rectangle2D getRectangle()
Description copied from interface:IHighlightThe outer bounding box of the highlight- Specified by:
 getRectanglein interfaceIHighlight
 
- 
setRectangle
public void setRectangle(java.awt.geom.Rectangle2D rectangle)
 
- 
getShape
protected final java.awt.Shape getShape(DesignPanel panel)
- Specified by:
 getShapein classAbstractMultipassHighlight
 
- 
getTooltip
public com.google.common.base.Optional<java.lang.String> getTooltip()
Description copied from interface:IHighlightReturn the tooltip for this highlight, if applicable- Specified by:
 getTooltipin interfaceIHighlight
 
 - 
 
 -