public class RMViewerTextSelector extends RMViewerInputAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
RMViewerTextSelector.TextSelectorTransferrable
A transferable for copy.
|
| Constructor and Description |
|---|
RMViewerTextSelector(RMViewer aViewer)
Creates a new text selector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy()
Handle copy.
|
void |
findTextShapes(RMParentShape aParent,
RMPath aPath,
java.util.List aList)
Finds the text shape children of the given shape in the given rect.
|
java.awt.geom.Area |
getTextSelectionArea()
Returns the text selection shape.
|
void |
mouseDragged(java.awt.event.MouseEvent anEvent)
Handle mouse dragged event.
|
void |
mousePressed(java.awt.event.MouseEvent anEvent)
Handle mouse pressed event.
|
void |
mouseReleased(java.awt.event.MouseEvent anEvent)
Handle mouse released event.
|
void |
paint(java.awt.Graphics2D g)
Handle paint.
|
getViewer, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, processKeyEvent, processMouseEvent, processMouseMotionEventpublic RMViewerTextSelector(RMViewer aViewer)
public void mousePressed(java.awt.event.MouseEvent anEvent)
mousePressed in class RMViewerInputAdapterpublic void mouseDragged(java.awt.event.MouseEvent anEvent)
mouseDragged in class RMViewerInputAdapterpublic void mouseReleased(java.awt.event.MouseEvent anEvent)
mouseReleased in class RMViewerInputAdapterpublic void paint(java.awt.Graphics2D g)
paint in class RMViewerInputAdapterpublic void copy()
copy in class RMViewerInputAdapterpublic void findTextShapes(RMParentShape aParent, RMPath aPath, java.util.List aList)
public java.awt.geom.Area getTextSelectionArea()