Package hec.gfx2d
Class G2dEditAdapter
java.lang.Object
hec.gfx2d.G2dMouseAdapter
hec.gfx2d.G2dEditAdapter
- All Implemented Interfaces:
MouseListener,MouseMotionListener,MouseWheelListener,Serializable,EventListener
- See Also:
-
Field Summary
Fields inherited from class hec.gfx2d.G2dMouseAdapter
_g2dPanel, _propertyChangeSupport, _viewport -
Constructor Summary
ConstructorsConstructorDescriptionG2dEditAdapter(G2dEditComponent c, JPanel comp) Constructs a new G2dPointerAdapter. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidMethods inherited from class hec.gfx2d.G2dMouseAdapter
abort, addPropertyChangeListener, addPropertyChangeListener, getCursor, init, mouseEntered, mouseExited, mouseWheelMoved, pressedButton1, pressedButton2, pressedButton3, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
G2dEditAdapter
Constructs a new G2dPointerAdapter.- Parameters:
c- - the component to get pointer notificationscomp- - the panel to set the cursor. Default is currently used
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener- Overrides:
mouseClickedin classG2dMouseAdapter
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classG2dMouseAdapter
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classG2dMouseAdapter
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classG2dMouseAdapter
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener- Overrides:
mouseMovedin classG2dMouseAdapter
-