|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.batik.gvt.text.ConcreteTextSelector
ConcreteTextSelector.java: A simple implementation of GraphicsNodeMouseListener for text selection.
| Constructor Summary | |
ConcreteTextSelector()
|
|
| Method Summary | |
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. |
java.lang.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConcreteTextSelector()
| Method Detail |
public void mouseClicked(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseClicked in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseDragged(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseDragged in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseEntered(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseEntered in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseExited(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseExited in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseMoved(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseMoved in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mousePressed(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermousePressed in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void mouseReleased(GraphicsNodeMouseEvent evt)
GraphicsNodeMouseListenermouseReleased in interface GraphicsNodeMouseListenerorg.apache.batik.gvt.event.GraphicsNodeMouseListenerevt - the graphics node mouse eventpublic void keyPressed(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyPressed in interface GraphicsNodeKeyListenerorg.apache.batik.gvt.event.GraphicsNodeKeyListenerevt - the graphics node key eventpublic void keyReleased(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyReleased in interface GraphicsNodeKeyListenerorg.apache.batik.gvt.event.GraphicsNodeKeyListenerevt - the graphics node key eventpublic void keyTyped(GraphicsNodeKeyEvent evt)
GraphicsNodeKeyListenerkeyTyped in interface GraphicsNodeKeyListenerorg.apache.batik.gvt.event.GraphicsNodeKeyListenerevt - the graphics node key eventpublic void changeStarted(GraphicsNodeChangeEvent gnce)
GraphicsNodeChangeListenerchangeStarted in interface GraphicsNodeChangeListenerorg.apache.batik.gvt.event.GraphicsNodeChangeListenerevt - the graphics node change eventpublic void changeCompleted(GraphicsNodeChangeEvent gnce)
GraphicsNodeChangeListenerchangeCompleted in interface GraphicsNodeChangeListenerorg.apache.batik.gvt.event.GraphicsNodeChangeListenerevt - the graphics node change event
public void setSelection(Mark begin,
Mark end)
public void clearSelection()
protected void checkSelectGesture(GraphicsNodeEvent evt)
public java.lang.Object getSelection()
SelectorgetSelection in interface Selectorpublic boolean isEmpty()
isEmpty in interface Selectorpublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||