Interface IHighlight
- All Known Implementing Classes:
AbstractSfcGridHighlight
,ErrorHighlight
,ExpandedGroupHighlight
,ItemSelectionHighlight
,RectangularHighlight
,ScaleControls.AnchorHL
,SelectionMarqueeHighlight
public interface IHighlight
-
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.void
paint
(DesignPanel panel, Graphics2D g) Paint this highlight
-
Method Details
-
getRectangle
Rectangle2D getRectangle()The outer bounding box of the highlight -
paint
Paint this highlight -
isZoomed
boolean isZoomed()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 -
getTooltip
com.google.common.base.Optional<String> getTooltip()Return the tooltip for this highlight, if applicable
-