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 Details

  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(GutterIconInfo other)
      Specified by:
      compareTo in interface Comparable<GutterIconInfo>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getIcon

      public Icon getIcon()
      Description copied from interface: GutterIconInfo
      Returns the icon being rendered.
      Specified by:
      getIcon in interface GutterIconInfo
      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 interface GutterIconInfo
      Returns:
      The offset being tracked.
    • getToolTip

      public String getToolTip()
      Description copied from interface: GutterIconInfo
      Returns the tool tip to display when the mouse hovers over this icon.
      Specified by:
      getToolTip in interface GutterIconInfo
      Returns:
      The tool tip to display.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object