Package org.fife.ui.rtextarea
Interface GutterIconInfo
-
public interface GutterIconInfoInformation about an icon displayed in aGutter. Instances of this class are returned byGutter.addLineTrackingIcon(int, Icon)andGutter.addOffsetTrackingIcon(int, Icon). They can later be used in calls toGutter.removeTrackingIcon(GutterIconInfo)to be individually removed.- See Also:
Gutter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IcongetIcon()Returns the icon being rendered.intgetMarkedOffset()Returns the offset that is being tracked.StringgetToolTip()Returns the tool tip to display when the mouse hovers over this icon.
-
-
-
Method Detail
-
getIcon
Icon getIcon()
Returns the icon being rendered.- Returns:
- The icon being rendered.
-
getMarkedOffset
int getMarkedOffset()
Returns the offset that is being tracked. The line of this offset is where the icon is rendered. This offset may change as the user types to track the new location of the marked offset.- Returns:
- The offset being tracked.
-
getToolTip
String getToolTip()
Returns the tool tip to display when the mouse hovers over this icon.- Returns:
- The tool tip to display.
-
-