|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.swing.gvt.TextSelectionManager
This class represents an object which manage GVT text nodes selection.
Inner Class Summary | |
protected class |
TextSelectionManager.MouseListener
To implement a GraphicsNodeMouseListener. |
protected class |
TextSelectionManager.SelectionOverlay
The selection overlay. |
protected class |
TextSelectionManager.TextSelectionListener
To implements a selection listener. |
Field Summary | |
protected JGVTComponent |
component
The associated JGVTComponent. |
protected GraphicsNode |
gvtRoot
The GVT root. |
protected TextSelectionManager.MouseListener |
mouseListener
The mouse listener. |
protected java.awt.Cursor |
previousCursor
To store the previous cursor. |
protected java.awt.Shape |
selectionHighlight
The selection highlight. |
protected Overlay |
selectionOverlay
The selection overlay. |
static java.awt.Cursor |
TEXT_CURSOR
The cursor indicating that a text selection operation is under way. |
protected SelectionListener |
textSelectionListener
The text selection listener. |
protected ConcreteTextSelector |
textSelector
The text selector. |
Constructor Summary | |
TextSelectionManager(JGVTComponent comp,
GraphicsNodeRenderContext rc,
AWTEventDispatcher ed)
Creates a new TextSelectionManager. |
Method Summary | |
protected java.awt.Rectangle |
getHighlightBounds()
The highlight bounds. |
Overlay |
getSelectionOverlay()
Returns the selection overlay. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.awt.Cursor TEXT_CURSOR
protected ConcreteTextSelector textSelector
protected JGVTComponent component
protected Overlay selectionOverlay
protected GraphicsNode gvtRoot
protected TextSelectionManager.MouseListener mouseListener
protected java.awt.Cursor previousCursor
protected java.awt.Shape selectionHighlight
protected SelectionListener textSelectionListener
Constructor Detail |
public TextSelectionManager(JGVTComponent comp, GraphicsNodeRenderContext rc, AWTEventDispatcher ed)
Method Detail |
public Overlay getSelectionOverlay()
protected java.awt.Rectangle getHighlightBounds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |