Class NavigationHelpPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class NavigationHelpPanel extends JPanel
Provides a description of the available navigation gestures.
Since:
3 Feb 2014
Author:
Mark Taylor
See Also:
  • Constructor Details

    • NavigationHelpPanel

      public NavigationHelpPanel()
      Constructor.
  • Method Details

    • setOptions

      public void setOptions(Map<uk.ac.starlink.ttools.plot2.Gesture,String> optMap)
      Sets the list of known gestures and their meanings.
      Parameters:
      optMap - ordered mapping of gestures to behaviour descriptions
    • setEnabled

      public void setEnabled(boolean enabled)
      Disabling the component greys it out as usual. The semantics of this are a bit different from usual; user interaction is not really possible anyway, but if you want to grey it out, this method works anyway.
      Overrides:
      setEnabled in class JComponent