Class CSVExportOverlayMenu

java.lang.Object
dataPlotsFX.overlaymark.menuOptions.ExportOverlayMenu
dataPlotsFX.overlaymark.menuOptions.CSVExportOverlayMenu
All Implemented Interfaces:
OverlayMenuItem

public class CSVExportOverlayMenu extends ExportOverlayMenu
Export data units as .csv file
Author:
Jamie Macaulay
  • Constructor Details

    • CSVExportOverlayMenu

      public CSVExportOverlayMenu()
  • Method Details

    • canBeUsed

      public boolean canBeUsed(DetectionGroupSummary foundDataUnits, int index, OverlayMark mark)
      Description copied from interface: OverlayMenuItem
      Check whether the menu item can be used within a group of data units.
      Parameters:
      foundDataUnits - - class which holds a list of data units and metadata info.
      index - :. If the index is invalid input: '<'0 then returns whether the menu item can be used for at least one of the units in the list.
      mark - - holds info on the current mark drawn on the display.
    • getFlag

      public int getFlag()
      Description copied from interface: OverlayMenuItem
      Flags for general grouping menu items
      Specified by:
      getFlag in interface OverlayMenuItem
      Overrides:
      getFlag in class ExportOverlayMenu
      Returns:
      integer flag which groups items
    • getNodeToolTip

      public javafx.scene.control.Tooltip getNodeToolTip()
    • getSubMenuGroup

      public int getSubMenuGroup()
      Description copied from interface: OverlayMenuItem
      Indicates whether menu items should be grouped together in a sub menu. Make the same group and same flag if so.
      Returns:
      the group number. -1 for no grouping.