Class DataToolTab.DataToolAxes

All Implemented Interfaces:
CartesianAxes, DrawableAxes, Dimensioned, Drawable, Interactive, Measurable, Selectable
Enclosing class:
DataToolTab

protected class DataToolTab.DataToolAxes extends CartesianInteractive
An interactive axes class that returns popup menus for x and y-variables.
  • Constructor Details

    • DataToolAxes

      protected DataToolAxes(PlottingPanel panel)
      Constructor.
      Parameters:
      panel - a PlottingPanel
  • Method Details

    • hasHorzVariablesPopup

      protected boolean hasHorzVariablesPopup()
      Description copied from class: CartesianInteractive
      Reports whether this provides a popup menu for setting the horizontal axis variable.
      Overrides:
      hasHorzVariablesPopup in class CartesianInteractive
      Returns:
      true if this has a popup menu with horizontal axis variables
    • getHorzVariablesPopup

      protected JPopupMenu getHorzVariablesPopup()
      Description copied from class: CartesianInteractive
      Gets a popup menu with horizontal axis variables. This default method returns null; subclasses should override to return a popup with associated action for setting horizontal axis variable.
      Overrides:
      getHorzVariablesPopup in class CartesianInteractive
      Returns:
      the popup menu
    • hasVertVariablesPopup

      protected boolean hasVertVariablesPopup()
      Description copied from class: CartesianInteractive
      Reports whether this provides a popup menu for setting the vertical axis variable.
      Overrides:
      hasVertVariablesPopup in class CartesianInteractive
      Returns:
      true if this has a popup menu with vertical axis variables
    • getVertVariablesPopup

      protected JPopupMenu getVertVariablesPopup()
      Description copied from class: CartesianInteractive
      Gets a popup menu with vertical axis variables. This default method returns null; subclasses should override to return a popup with associated action for setting vertical axis variable.
      Overrides:
      getVertVariablesPopup in class CartesianInteractive
      Returns:
      the popup menu