Class TToolBar.CalibrationButton

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants
Enclosing class:
TToolBar

protected class TToolBar.CalibrationButton extends TButton implements ActionListener
A button to manage the creation and visibility of calibration tools.
See Also:
  • Method Details

    • getPopup

      protected JPopupMenu getPopup()
      Overrides TButton method.
      Overrides:
      getPopup in class TButton
      Returns:
      the popup, or null if the right side of this button was clicked
    • getCalibrationToolsMenu

      protected JMenu getCalibrationToolsMenu()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Responds to action events from both this button and the popup items.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - the action event