Back to project page slider.
The source code is released under:
Apache License
If you think the Android project slider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Created on 23.07.2006 by leck/*from w w w . ja va 2s . co m*/ * */ package de.devisnik.sliding; public class ShiftingEvent { private final IPiece itsPiece; private final Point itsOldPosition; private final Point itsNewPosition; public ShiftingEvent(IPiece piece, Point oldPosition, Point newPosition) { itsPiece = piece; itsOldPosition = oldPosition; itsNewPosition = newPosition; } public IPiece getPiece() { return itsPiece; } public Point getOldPosition() { return itsOldPosition; } public Point getNewPosition() { return itsNewPosition; } }