|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.MouseAdapter | +--heineman.klondike.FoundationController
Controls all actions to do with mouse events over Foundation Piles
Creation date: (11/10/01 11:51:49 PM)
Field Summary | |
protected PileView |
src
The specific Foundation pileView being controlled. |
protected Klondike |
theGame
The Klondike Game. |
Constructor Summary | |
FoundationController(Klondike theGame,
PileView foundation)
FoundationController constructor comment. |
Method Summary | |
void |
mouseReleased(java.awt.event.MouseEvent me)
Coordinate reaction to the completion of a Drag Event. |
Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited, mousePressed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Klondike theGame
protected PileView src
Constructor Detail |
public FoundationController(Klondike theGame, PileView foundation)
Method Detail |
public void mouseReleased(java.awt.event.MouseEvent me)
A bit of a challenge to construct the appropriate move, because cards can be dragged both from the WastePile (as a CardView object) and the BuildablePileView (as a ColumnView).
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
me
- java.awt.event.MouseEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |