Package org.graffiti.selection
Class SelectionAdapter
java.lang.Object
org.graffiti.selection.SelectionAdapter
- All Implemented Interfaces:
SelectionListener
public class SelectionAdapter extends Object implements SelectionListener
Adapter for the SelectionListener interface, providing default
empty implementation. Useful, given you don't need all interface methods.
- Since:
- 2.7.0
- Author:
- D. Garkov
-
Constructor Summary
Constructors Constructor Description SelectionAdapter()
-
Method Summary
Modifier and Type Method Description void
selectionChanged(SelectionEvent e)
Is called, if something in the selection model changed.void
selectionListChanged(SelectionEvent e)
Is called, if a named selection is added or removed.
-
Constructor Details
-
SelectionAdapter
public SelectionAdapter()
-
-
Method Details
-
selectionChanged
Description copied from interface:SelectionListener
Is called, if something in the selection model changed.- Specified by:
selectionChanged
in interfaceSelectionListener
-
selectionListChanged
Description copied from interface:SelectionListener
Is called, if a named selection is added or removed.- Specified by:
selectionListChanged
in interfaceSelectionListener
-