Package org.fife.ui.rtextarea
Class IconRowHeader.GutterIconImpl
java.lang.Object
org.fife.ui.rtextarea.IconRowHeader.GutterIconImpl
- All Implemented Interfaces:
Comparable<GutterIconInfo>
,GutterIconInfo
- Enclosing class:
IconRowHeader
private static class IconRowHeader.GutterIconImpl
extends Object
implements GutterIconInfo, Comparable<GutterIconInfo>
Implementation of the icons rendered.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(GutterIconInfo other) boolean
getIcon()
Returns the icon being rendered.int
Returns the offset that is being tracked.Returns the tool tip to display when the mouse hovers over this icon.int
hashCode()
-
Field Details
-
icon
-
pos
-
toolTip
-
-
Constructor Details
-
GutterIconImpl
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GutterIconInfo>
-
equals
-
getIcon
Description copied from interface:GutterIconInfo
Returns the icon being rendered.- Specified by:
getIcon
in interfaceGutterIconInfo
- Returns:
- The icon being rendered.
-
getMarkedOffset
public int getMarkedOffset()Description copied from interface:GutterIconInfo
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.- Specified by:
getMarkedOffset
in interfaceGutterIconInfo
- Returns:
- The offset being tracked.
-
getToolTip
Description copied from interface:GutterIconInfo
Returns the tool tip to display when the mouse hovers over this icon.- Specified by:
getToolTip
in interfaceGutterIconInfo
- Returns:
- The tool tip to display.
-
hashCode
public int hashCode()
-