Class JaxoZoomPopupMenu

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement, JaxoLocalized

public class JaxoZoomPopupMenu extends JPopupMenu implements JaxoLocalized
A class that displays a pop-up menu if the user right-clicks on a tab.
Since:
2.0
See Also:
  • Constructor Details

    • JaxoZoomPopupMenu

      public JaxoZoomPopupMenu()
      Constructor: sets all the menu entries.
  • Method Details

    • setZoomFactor

      public void setZoomFactor(int value)
      Sets the zoom factor to the given value.
      Parameters:
      value - The new zoom factor.
    • addActionListener

      public void addActionListener(ActionListener l)
      Adds an action listener to this popup menu.
      Parameters:
      l - The ActionListener to add.
    • updateLanguage

      public final void updateLanguage()
      Updates the component with the current language as set in the preferences (JaxoPrefs.PREF_LANGUAGE).
      Specified by:
      updateLanguage in interface JaxoLocalized