List of all members.
Public Member Functions
|RegionComponent (Region r)|
|Returns the region. |
|void||mouseDragged (MouseEvent e)|
|void||mouseMoved (MouseEvent e)|
|void||mouseClicked (MouseEvent e)|
|void||mouseEntered (MouseEvent e)|
|void||mouseExited (MouseEvent e)|
|void||mousePressed (MouseEvent e)|
|void||mouseReleased (MouseEvent e)|
Protected Member Functions
|void||add (Shape s)|
|void||paintComponent (Graphics g)|
|Draws strokes. |
It displays strokes drawn with the pen. It also handles mouse input and generates the appropriate PenEvents as necessary allowing you to test your application without using pen and paper.
This software is distributed under the BSD License.
Definition at line 41 of file RegionComponent.java.