Class TextStripperMenu


  • public class TextStripperMenu
    extends java.lang.Object
    Author:
    Tilman Hausherr
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMenuListeners​(java.awt.event.ActionListener listener)
      Add the ActionListener for the menu items.
      static TextStripperMenu getInstance()
      Provides the TextStripperMenu instance.
      javax.swing.JMenu getMenu()
      Provide the JMenu instance of the ZoomMenu.
      static boolean isIgnoreSpaces()  
      static boolean isSorted()  
      void setEnableMenu​(boolean isEnable)
      Set if the menu should be enabled or disabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static TextStripperMenu getInstance()
        Provides the TextStripperMenu instance.
        Returns:
        TextStripperMenu instance.
      • isSorted

        public static boolean isSorted()
      • isIgnoreSpaces

        public static boolean isIgnoreSpaces()
      • getMenu

        public javax.swing.JMenu getMenu()
        Provide the JMenu instance of the ZoomMenu.
        Returns:
        JMenu instance.
      • setEnableMenu

        public void setEnableMenu​(boolean isEnable)
        Set if the menu should be enabled or disabled.
        Parameters:
        isEnable - boolean instance.
      • addMenuListeners

        public void addMenuListeners​(java.awt.event.ActionListener listener)
        Add the ActionListener for the menu items.
        Parameters:
        listener - ActionListener.