Class AlphabeticalMarkers

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public abstract class AlphabeticalMarkers extends JPanel
Popup panel for displaying alphabetical markers.
See Also:
  • Method Details

    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent
    • showMarkers

      public void showMarkers()
      Makes the alphabetical markers visible.
    • hideMarkers

      public void hideMarkers()
      Makes the alphabetical markers invisible.
    • translateSegmentNumber

      public String translateSegmentNumber(String inputValue)
      Translate a marker title letter to a segment number. If the letter found, it will be converted to actual segment number string.
      Parameters:
      inputValue - as marker title letter
      Returns:
      if the letter found translated string, otherwise inputValue.
    • containsTitle

      public boolean containsTitle(int title)
      Returns true if this list contains the specified title.
      Parameters:
      title - as segment shortcut letter
      Returns:
      true if this list contains the specified title