Package gui.tool
Class SearchTool
java.lang.Object
gui.tool.SearchTool
- All Implemented Interfaces:
PageEventHandler
,Tool
-
Nested Class Summary
Nested classes/interfaces inherited from interface gui.page.PageEventHandler
PageEventHandler.HandlerMethod<T extends javafx.event.Event>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disabledFor
(Page page) Called when the handler is no longer set to receive events for the given page.void
enabledFor
(Page page) Called when the handler is set to receive events from the given page.javafx.scene.Node
Return the "graphic" to show in the toolbar for this tool.getName()
Return the name of this tool.javafx.scene.layout.FlowPane
Return the GUI element which configures the settings for this tool.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gui.page.PageEventHandler
getHandlerMethods
-
Constructor Details
-
SearchTool
public SearchTool()
-
-
Method Details
-
enabledFor
Description copied from interface:PageEventHandler
Called when the handler is set to receive events from the given page.- Specified by:
enabledFor
in interfacePageEventHandler
-
disabledFor
Description copied from interface:PageEventHandler
Called when the handler is no longer set to receive events for the given page.Implementors should get rid of any references to the given page when this method is called.
- Specified by:
disabledFor
in interfacePageEventHandler
-
getName
Description copied from interface:Tool
Return the name of this tool. -
getGraphic
public javafx.scene.Node getGraphic()Description copied from interface:Tool
Return the "graphic" to show in the toolbar for this tool.- Specified by:
getGraphic
in interfaceTool
-
getSettingsGUI
public javafx.scene.layout.FlowPane getSettingsGUI()Description copied from interface:Tool
Return the GUI element which configures the settings for this tool.The returned Node will be shown in the tool pane when this tool is selected.
- Specified by:
getSettingsGUI
in interfaceTool
-