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.
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(GutterIconInfo other) booleangetIcon()Returns the icon being rendered.intReturns the offset that is being tracked.Returns the tool tip to display when the mouse hovers over this icon.inthashCode()
-
Field Details
-
icon
-
pos
-
toolTip
-
-
Constructor Details
-
GutterIconImpl
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<GutterIconInfo>
-
equals
-
getIcon
Description copied from interface:GutterIconInfoReturns the icon being rendered.- Specified by:
getIconin interfaceGutterIconInfo- Returns:
- The icon being rendered.
-
getMarkedOffset
public int getMarkedOffset()Description copied from interface:GutterIconInfoReturns 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:
getMarkedOffsetin interfaceGutterIconInfo- Returns:
- The offset being tracked.
-
getToolTip
Description copied from interface:GutterIconInfoReturns the tool tip to display when the mouse hovers over this icon.- Specified by:
getToolTipin interfaceGutterIconInfo- Returns:
- The tool tip to display.
-
hashCode
-