Class ClickReclassifyMenuItem

java.lang.Object
dataPlotsFX.clickPlotFX.ClickReclassifyMenuItem
All Implemented Interfaces:
OverlayMenuItem

public class ClickReclassifyMenuItem extends Object implements OverlayMenuItem
Menu items for manually classifying selected clicks in a TDGraph.
  • Field Details

    • CLICK_GROUP

      public static final int CLICK_GROUP
      Flag to ensure clicks types can be grouped into sub menu if needs be
      See Also:
  • Constructor Details

    • ClickReclassifyMenuItem

      public ClickReclassifyMenuItem(ClickPlotInfoFX clickPlotInfoFX)
  • Method Details

    • getNodeToolTip

      public javafx.scene.control.Tooltip getNodeToolTip()
      Specified by:
      getNodeToolTip in interface OverlayMenuItem
    • canBeUsed

      public boolean canBeUsed(DetectionGroupSummary foundDataUnits, int index, OverlayMark overlayMark)
      Description copied from interface: OverlayMenuItem
      Check whether the menu item can be used within a group of data units.
      Specified by:
      canBeUsed in interface OverlayMenuItem
      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.
      overlayMark - - 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
      Returns:
      integer flag which groups items
    • 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.
      Specified by:
      getSubMenuGroup in interface OverlayMenuItem
      Returns:
      the group number. -1 for no grouping.