public interface Selector extends GraphicsNodeMouseListener, GraphicsNodeKeyListener, GraphicsNodeChangeListener
Modifier and Type | Method and Description |
---|---|
void |
addSelectionListener(SelectionListener l)
Add a SelectionListener to this Selector's notification list.
|
java.lang.Object |
getSelection()
Get the contents of the current selection buffer.
|
boolean |
isEmpty()
Reports whether the current selection contains any objects.
|
void |
removeSelectionListener(SelectionListener l)
Remove a SelectionListener from this Selector's notification list.
|
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased
keyPressed, keyReleased, keyTyped
changeCompleted, changeStarted
java.lang.Object getSelection()
boolean isEmpty()
void addSelectionListener(SelectionListener l)
l
- the SelectionListener to add.void removeSelectionListener(SelectionListener l)
l
- the SelectionListener to be removed.Copyright © 2022 Apache Software Foundation. All Rights Reserved.