Class RMViewerImageSelector
java.lang.Object
com.inductiveautomation.rm.viewer.RMViewerInputAdapter
com.inductiveautomation.rm.viewer.RMViewerImageSelector
A viewer input adapter to perform selection of a rectangle and copy as image.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classA transferable for copy.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopy()Handle copy.voiddrawCircle(Point2D aPoint, Graphics2D g2) Draws a circle.voidmouseDragged(MouseEvent anEvent) Handle mouse dragged event.voidmouseMoved(MouseEvent anEvent) Handle mouse moved event.voidmousePressed(MouseEvent anEvent) Handle mouse pressed event.voidpaint(Graphics2D g) Handle paint.Methods inherited from class com.inductiveautomation.rm.viewer.RMViewerInputAdaptergetViewer, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseReleased, processKeyEvent, processMouseEvent, processMouseMotionEvent
- 
Constructor Details- 
RMViewerImageSelectorCreates a new image selector.
 
- 
- 
Method Details- 
mousePressedHandle mouse pressed event.- Overrides:
- mousePressedin class- RMViewerInputAdapter
 
- 
mouseDraggedHandle mouse dragged event.- Overrides:
- mouseDraggedin class- RMViewerInputAdapter
 
- 
mouseMovedHandle mouse moved event.- Overrides:
- mouseMovedin class- RMViewerInputAdapter
 
- 
paintHandle paint.- Overrides:
- paintin class- RMViewerInputAdapter
 
- 
copypublic void copy()Handle copy.- Overrides:
- copyin class- RMViewerInputAdapter
 
- 
drawCircleDraws a circle.
 
-