public class ConcreteTextSelector extends Object implements Selector
| Constructor and Description |
|---|
ConcreteTextSelector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionListener(SelectionListener l)
Add a SelectionListener to this Selector's notification list.
|
void |
changeCompleted(GraphicsNodeChangeEvent gnce)
Invoked when a change on a graphics node has completed
|
void |
changeStarted(GraphicsNodeChangeEvent gnce)
Invoked when a change has started on a graphics node, but before
any changes occure in the graphics node it's self.
|
protected void |
checkSelectGesture(GraphicsNodeEvent evt) |
void |
clearSelection() |
void |
dispatchSelectionEvent(SelectionEvent e)
Reports whether the current selection contains any objects.
|
Object |
getSelection()
Get the contents of the current selection buffer.
|
boolean |
isEmpty()
Reports whether the current selection contains any objects.
|
void |
keyPressed(GraphicsNodeKeyEvent evt)
Invoked when a key has been pressed.
|
void |
keyReleased(GraphicsNodeKeyEvent evt)
Invoked when a key has been released.
|
void |
keyTyped(GraphicsNodeKeyEvent evt)
Invoked when a key has been typed.
|
void |
mouseClicked(GraphicsNodeMouseEvent evt)
Invoked when the mouse has been clicked on a graphics node.
|
void |
mouseDragged(GraphicsNodeMouseEvent evt)
Invoked when a mouse button is pressed on a graphics node and then
dragged.
|
void |
mouseEntered(GraphicsNodeMouseEvent evt)
Invoked when the mouse enters a graphics node.
|
void |
mouseExited(GraphicsNodeMouseEvent evt)
Invoked when the mouse exits a graphics node.
|
void |
mouseMoved(GraphicsNodeMouseEvent evt)
Invoked when the mouse button has been moved on a node.
|
void |
mousePressed(GraphicsNodeMouseEvent evt)
Invoked when a mouse button has been pressed on a graphics node.
|
void |
mouseReleased(GraphicsNodeMouseEvent evt)
Invoked when a mouse button has been released on a graphics node.
|
void |
removeSelectionListener(SelectionListener l)
Remove a SelectionListener from this Selector's notification list.
|
void |
setSelection(Mark begin,
Mark end) |
public void mouseClicked(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseClicked in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseDragged(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseDragged in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseEntered(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseEntered in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseExited(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseExited in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseMoved(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseMoved in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mousePressed(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermousePressed in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseReleased(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseReleased in interface GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void keyPressed(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyPressed in interface GraphicsNodeKeyListenerevt - the graphics node key eventpublic void keyReleased(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyReleased in interface GraphicsNodeKeyListenerevt - the graphics node key eventpublic void keyTyped(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyTyped in interface GraphicsNodeKeyListenerevt - the graphics node key eventpublic void changeStarted(GraphicsNodeChangeEvent gnce)
GraphicsNodeChangeListenerchangeStarted in interface GraphicsNodeChangeListenergnce - the graphics node change eventpublic void changeCompleted(GraphicsNodeChangeEvent gnce)
GraphicsNodeChangeListenerchangeCompleted in interface GraphicsNodeChangeListenergnce - the graphics node change eventpublic void clearSelection()
protected void checkSelectGesture(GraphicsNodeEvent evt)
public Object getSelection()
SelectorgetSelection in interface Selectorpublic boolean isEmpty()
public void dispatchSelectionEvent(SelectionEvent e)
public void addSelectionListener(SelectionListener l)
addSelectionListener in interface Selectorl - the SelectionListener to add.public void removeSelectionListener(SelectionListener l)
removeSelectionListener in interface Selectorl - the SelectionListener to be removed.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.