|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
ks.common.controller.SolitaireReleasedAdapter
Default released adapter for use by all solitaire plug-ins.
The SolitaireReleasedAdapter is programmed to send back to the dragSource any objects that were in progress when the mouse button was released over the container.
Constructor Summary | |
SolitaireReleasedAdapter(Solitaire theGame)
SolitaireReleasedAdapter constructor comment. |
Method Summary | |
void |
mouseReleased(java.awt.event.MouseEvent me)
Coordinate reaction to the completion of a Drag Event that must be canceled. |
Methods inherited from class java.awt.event.MouseAdapter |
mouseClicked, mouseEntered, mouseExited, mousePressed |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SolitaireReleasedAdapter(Solitaire theGame)
Method Detail |
public void mouseReleased(java.awt.event.MouseEvent me)
It would have been a bit of a challenge to construct the appropriate move, because cards can be dragged both from the WastePile and the BuildablePileView. Since V1.6 of Kombat Solitaire, a dragged widget can be returned to its originating source; this makes life easier for the solitaire developer.
me
- java.awt.event.MouseEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |