org.concord.collisions.engine
Class JAtom.VelocityDraggable

java.lang.Object
  |
  +--org.concord.collisions.engine.JAtom.VelocityDraggable
All Implemented Interfaces:
CCDraggable
Enclosing class:
JAtom

public static class JAtom.VelocityDraggable
extends java.lang.Object
implements CCDraggable


Method Summary
 void doDrag(CCCoordinateTuner tuner, int x, int y)
           
protected  void drag(CCCoordinateTuner tuner, int x, int y)
           
 void endDrag(CCCoordinateTuner tuner, int x, int y)
           
 java.lang.Object getDraggableOwner()
           
 int getDragMode()
           
 char getWhichVelocity()
           
 boolean isDraggable()
           
 boolean isPressedState()
           
 void notifyMouseListeners(float x, float y, int evtType)
           
 boolean panelInfoSupport()
           
 void setDraggable(boolean draggable)
           
 void setDragMode(int m)
           
 void setInfoDrawer(CCInfoDrawer infoDrawer)
           
 void setPressedState(boolean pressedState)
           
 void setWhichVelocity(char whichVelocity)
           
 void startDrag(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDragMode

public int getDragMode()
Specified by:
getDragMode in interface CCDraggable

setDragMode

public void setDragMode(int m)
Specified by:
setDragMode in interface CCDraggable

getWhichVelocity

public char getWhichVelocity()

setWhichVelocity

public void setWhichVelocity(char whichVelocity)

startDrag

public void startDrag(int x,
                      int y)
Specified by:
startDrag in interface CCDraggable

doDrag

public void doDrag(CCCoordinateTuner tuner,
                   int x,
                   int y)
Specified by:
doDrag in interface CCDraggable

endDrag

public void endDrag(CCCoordinateTuner tuner,
                    int x,
                    int y)
Specified by:
endDrag in interface CCDraggable

drag

protected void drag(CCCoordinateTuner tuner,
                    int x,
                    int y)

getDraggableOwner

public java.lang.Object getDraggableOwner()
Specified by:
getDraggableOwner in interface CCDraggable

panelInfoSupport

public boolean panelInfoSupport()
Specified by:
panelInfoSupport in interface CCDraggable

setInfoDrawer

public void setInfoDrawer(CCInfoDrawer infoDrawer)
Specified by:
setInfoDrawer in interface CCDraggable

setDraggable

public void setDraggable(boolean draggable)
Specified by:
setDraggable in interface CCDraggable

isDraggable

public boolean isDraggable()
Specified by:
isDraggable in interface CCDraggable

setPressedState

public void setPressedState(boolean pressedState)
Specified by:
setPressedState in interface CCDraggable

isPressedState

public boolean isPressedState()
Specified by:
isPressedState in interface CCDraggable

notifyMouseListeners

public void notifyMouseListeners(float x,
                                 float y,
                                 int evtType)
Specified by:
notifyMouseListeners in interface CCDraggable