Package dk.gtz.graphedit.view
Class SearchPaneController
java.lang.Object
dk.gtz.graphedit.view.SearchPaneController
- All Implemented Interfaces:
ICloseable,IFocusable
View controller for the search pane modal.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SearchPaneController
public SearchPaneController()Construct a new instance
-
-
Method Details
-
onClose
Description copied from interface:ICloseableSet a function to handle the close event.- Specified by:
onClosein interfaceICloseable- Parameters:
onClose- the function to call whenICloseable.close()is called
-
close
public void close()Description copied from interface:ICloseableClose the unit. This will invoke theICloseable.onClose(Runnable)handler.- Specified by:
closein interfaceICloseable
-
addFocusListener
Description copied from interface:IFocusableAdd an event listener for when the focus is stolen- Specified by:
addFocusListenerin interfaceIFocusable- Parameters:
focusEventHandler- the handler to call
-
focus
public void focus()Description copied from interface:IFocusableSteal the focus- Specified by:
focusin interfaceIFocusable
-