Package hec.gfx2d
Class G2dPointerAdapter
java.lang.Object
hec.gfx2d.G2dMouseAdapter
hec.gfx2d.G2dPointerAdapter
- All Implemented Interfaces:
MouseListener,MouseMotionListener,MouseWheelListener,Serializable,EventListener
- See Also:
-
Field Summary
Fields inherited from class hec.gfx2d.G2dMouseAdapter
_g2dPanel, _propertyChangeSupport, _viewport -
Constructor Summary
ConstructorsConstructorDescriptionG2dPointerAdapter(G2dPointerComponent c, JPanel comp) Constructs a new G2dPointerAdapter. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidMethods inherited from class hec.gfx2d.G2dMouseAdapter
abort, addPropertyChangeListener, addPropertyChangeListener, getCursor, init, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseWheelMoved, pressedButton1, pressedButton2, pressedButton3, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
G2dPointerAdapter
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
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener- Overrides:
mouseMovedin classG2dMouseAdapter
-