Package pvzclone.view.impl
Class FieldCellListener
java.lang.Object
pvzclone.view.impl.FieldCellListener
- All Implemented Interfaces:
MouseListener,EventListener
Mouse Event Listener for the
FieldCell Component.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidWhen the mouse enters the fieldCell, HoverEvent = true.voidWhen the mouse enters the fieldCell, HoverEvent = true.voidvoidClick and Press Event.
-
Constructor Details
-
FieldCellListener
Field Cell Listener Constructor.- Parameters:
parent- the associatedFieldCell
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener- See Also:
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- See Also:
-
mouseReleased
Click and Press Event.- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
When the mouse enters the fieldCell, HoverEvent = true.- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
When the mouse enters the fieldCell, HoverEvent = true.- Specified by:
mouseExitedin interfaceMouseListener
-