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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
When the mouse enters the fieldCell, HoverEvent = true.void
When the mouse enters the fieldCell, HoverEvent = true.void
void
Click and Press Event.
-
Constructor Details
-
FieldCellListener
Field Cell Listener Constructor.- Parameters:
parent
- the associatedFieldCell
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
- See Also:
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
- See Also:
-
mouseReleased
Click and Press Event.- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
When the mouse enters the fieldCell, HoverEvent = true.- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
When the mouse enters the fieldCell, HoverEvent = true.- Specified by:
mouseExited
in interfaceMouseListener
-