Class AbstractSfcGridHighlight
java.lang.Object
com.inductiveautomation.sfc.designer.workspace.AbstractSfcGridHighlight
- All Implemented Interfaces:
IHighlight
- Direct Known Subclasses:
ErrorHighlight
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe outer bounding box of the highlightcom.google.common.base.Optional<String>
Return the tooltip for this highlight, if applicableboolean
isZoomed()
If this is true, the highlight's rectangle needs to be adjusted for zoom level in order to be accurate in 2d space.protected Rectangle
location()
void
paint
(DesignPanel panel, Graphics2D g) Paint this highlightprotected abstract void
paint
(Graphics2D g)
-
Field Details
-
location
-
displayPanel
-
-
Constructor Details
-
AbstractSfcGridHighlight
-
-
Method Details
-
location
-
getRectangle
Description copied from interface:IHighlight
The outer bounding box of the highlight- Specified by:
getRectangle
in interfaceIHighlight
-
paint
Description copied from interface:IHighlight
Paint this highlight- Specified by:
paint
in interfaceIHighlight
-
paint
-
isZoomed
public boolean isZoomed()Description copied from interface:IHighlight
If 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:
isZoomed
in interfaceIHighlight
-
getTooltip
Description copied from interface:IHighlight
Return the tooltip for this highlight, if applicable- Specified by:
getTooltip
in interfaceIHighlight
-