Interface OverlayMenuItem
- All Known Implementing Classes:
 ClickReclassifyMenuItem,CopyDetectionPlot,CopyTDDataPlot,CSVExportOverlayMenu,ExportOverlayMenu,MLExportOverlayMenu,RExportOverlayMenu,StandardOverlayMenuItem,WavExportOverlayMenu
public interface OverlayMenuItem
Interface for menu items which are TD Display specific.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFlag for menu items which are form Data Infosstatic final intstatic final int - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeUsed(DetectionGroupSummary foundDataUnits, int index, OverlayMark overlayMark) Check whether the menu item can be used within a group of data units.intgetFlag()Flags for general grouping menu itemsjavafx.scene.control.TooltipintIndicates whether menu items should be grouped together in a sub menu.javafx.scene.control.ControlmenuAction(DetectionGroupSummary foundDataUnits, int index, OverlayMark overlayMark) Returns a control which performs an action when pressed (or action occurs) 
- 
Field Details
- 
buttonWidthStandard
static final int buttonWidthStandard- See Also:
 
 - 
NO_GROUP
static final int NO_GROUP- See Also:
 
 - 
EXPORT_GROUP
static final int EXPORT_GROUP- See Also:
 
 - 
DATAINFO
static final int DATAINFOFlag for menu items which are form Data Infos- See Also:
 
 
 - 
 - 
Method Details
- 
getNodeToolTip
javafx.scene.control.Tooltip getNodeToolTip() - 
canBeUsed
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.overlayMark- - holds info on the current mark drawn on the display.
 - 
getFlag
int getFlag()Flags for general grouping menu items- Returns:
 - integer flag which groups items
 
 - 
getSubMenuGroup
int getSubMenuGroup()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.
 
 
 -