Package qupath.lib.gui.tools
Class CommandFinderTools.CommandEntry
java.lang.Object
qupath.lib.gui.tools.CommandFinderTools.CommandEntry
- Enclosing class:
CommandFinderTools
Helper class to wrap summary data for a command to display in the list.
-
Property Summary
TypePropertyDescriptionProperty corresponding togetAcceleratorText()
Property corresponding togetLongText()
Property corresponding togetMenuPath()
Property corresponding togetText()
-
Method Summary
Modifier and TypeMethodDescriptionProperty corresponding togetAcceleratorText()
Get a String representation of any accelerator for the commandGet a string representation of the menu path for this command, including the menu path and the text.Get the long text (description) for the command, if available.Get the menu item corresponding to this command.Get a String representation of the menu containing this command.getText()
Get the name of the command.Property corresponding togetLongText()
Property corresponding togetMenuPath()
Property corresponding togetText()
-
Property Details
-
acceleratorText
Property corresponding togetAcceleratorText()
- See Also:
-
text
Property corresponding togetText()
- See Also:
-
longText
Property corresponding togetLongText()
- See Also:
-
-
Method Details
-
getMenuItem
Get the menu item corresponding to this command.- Returns:
-
getCommandPath
Get a string representation of the menu path for this command, including the menu path and the text.- Returns:
-
getText
Get the name of the command.- Returns:
-
getLongText
Get the long text (description) for the command, if available. This assumes an action property has been set, seeActionTools.putActionProperty(MenuItem, org.controlsfx.control.action.Action)
- Returns:
- the long text for the command, or null if no such text is available
-
getAcceleratorText
Get a String representation of any accelerator for the command- Returns:
-
getMenuPath
Get a String representation of the menu containing this command.- Returns:
-
acceleratorTextProperty
Property corresponding togetAcceleratorText()
- Returns:
- See Also:
-
textProperty
Property corresponding togetText()
- Returns:
- See Also:
-
longTextProperty
Property corresponding togetLongText()
- Returns:
- See Also:
-