Class AbstractSfcGridHighlight
java.lang.Object
com.inductiveautomation.sfc.designer.workspace.AbstractSfcGridHighlight
- All Implemented Interfaces:
- IHighlight
- Direct Known Subclasses:
- ErrorHighlight
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe outer bounding box of the highlightcom.google.common.base.Optional<String>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.protected Rectanglelocation()voidpaint(DesignPanel panel, Graphics2D g) Paint this highlightprotected abstract voidpaint(Graphics2D g) 
- 
Field Details- 
location
- 
displayPanel
 
- 
- 
Constructor Details- 
AbstractSfcGridHighlight
 
- 
- 
Method Details- 
location
- 
getRectangleDescription copied from interface:IHighlightThe outer bounding box of the highlight- Specified by:
- getRectanglein interface- IHighlight
 
- 
paintDescription copied from interface:IHighlightPaint this highlight- Specified by:
- paintin interface- IHighlight
 
- 
paint
- 
isZoomedpublic 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 interface- IHighlight
 
- 
getTooltipDescription copied from interface:IHighlightReturn the tooltip for this highlight, if applicable- Specified by:
- getTooltipin interface- IHighlight
 
 
-