Class MLExportOverlayMenu
java.lang.Object
dataPlotsFX.overlaymark.menuOptions.ExportOverlayMenu
dataPlotsFX.overlaymark.menuOptions.MLExportOverlayMenu
- All Implemented Interfaces:
OverlayMenuItem
Export to MATLAB .mat files menu.
- Author:
- Jamie Macaulay
-
Nested Class Summary
Nested classes/interfaces inherited from class dataPlotsFX.overlaymark.menuOptions.ExportOverlayMenu
ExportOverlayMenu.FileTransferable
-
Field Summary
Fields inherited from class dataPlotsFX.overlaymark.menuOptions.ExportOverlayMenu
standardIconSize
Fields inherited from interface dataPlotsFX.overlaymark.menuOptions.OverlayMenuItem
buttonWidthStandard, DATAINFO, EXPORT_GROUP, NO_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canBeUsed
(DetectionGroupSummary foundDataUnits, int selectedIndex, OverlayMark mark) Check whether the menu item can be used within a group of data units.javafx.scene.control.Tooltip
int
Indicates whether menu items should be grouped together in a sub menu.javafx.scene.control.Labeled
menuAction
(DetectionGroupSummary foundDataUnits, int selectedIndex, OverlayMark mark) Returns a control which performs an action when pressed (or action occurs)void
menuPressed
(DetectionGroupSummary foundDataUnits, int selectedIndex, OverlayMark mark) Methods inherited from class dataPlotsFX.overlaymark.menuOptions.ExportOverlayMenu
getFlag, showConfirmOverlay
-
Constructor Details
-
MLExportOverlayMenu
public MLExportOverlayMenu()Create the export overlay
-
-
Method Details
-
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.
-
canBeUsed
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.selectedIndex
- :. 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.
-
getNodeToolTip
public javafx.scene.control.Tooltip getNodeToolTip()