Class ViewInfoButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class ViewInfoButton extends JButton
Small button that displays information about a view.

This button is useful for views that do not have a toolbar, or for views whose toolbar does not include the standard information tool. The action is deliberately simple: clicking the button delegates to BaseView.viewInfo().

See Also:
  • Field Details

    • infoIcon

      protected static final Icon infoIcon
      Icon displayed in the view information button.
  • Constructor Details

    • ViewInfoButton

      public ViewInfoButton(BaseView view)
      Construct a button that shows information for the supplied view.
      Parameters:
      view - the view whose information dialog should be displayed