Class RMViewerTextSelector
java.lang.Object
com.inductiveautomation.rm.viewer.RMViewerInputAdapter
com.inductiveautomation.rm.viewer.RMViewerTextSelector
A viewer input adapter to perform text selection and copy (as RTF and CSV).
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA transferable for copy.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopy()Handle copy.voidfindTextShapes(RMParentShape aParent, RMPath aPath, List aList) Finds the text shape children of the given shape in the given rect.Returns the text selection shape.voidmouseDragged(MouseEvent anEvent) Handle mouse dragged event.voidmousePressed(MouseEvent anEvent) Handle mouse pressed event.voidmouseReleased(MouseEvent anEvent) Handle mouse released event.voidpaint(Graphics2D g) Handle paint.Methods inherited from class com.inductiveautomation.rm.viewer.RMViewerInputAdaptergetViewer, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, processKeyEvent, processMouseEvent, processMouseMotionEvent
- 
Constructor Details- 
RMViewerTextSelectorCreates a new text selector.
 
- 
- 
Method Details- 
mousePressedHandle mouse pressed event.- Overrides:
- mousePressedin class- RMViewerInputAdapter
 
- 
mouseDraggedHandle mouse dragged event.- Overrides:
- mouseDraggedin class- RMViewerInputAdapter
 
- 
mouseReleasedHandle mouse released event.- Overrides:
- mouseReleasedin class- RMViewerInputAdapter
 
- 
paintHandle paint.- Overrides:
- paintin class- RMViewerInputAdapter
 
- 
copypublic void copy()Handle copy.- Overrides:
- copyin class- RMViewerInputAdapter
 
- 
findTextShapesFinds the text shape children of the given shape in the given rect. Recurses into child shapes.
- 
getTextSelectionAreaReturns the text selection shape.
 
-