org.concord.collisions.engine
Class JAtom.AtomDraggable

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

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


Method Summary
 void doDrag(CCCoordinateTuner tuner, int x, int y)
           
 void endDrag(CCCoordinateTuner tuner, int x, int y)
           
 java.lang.Object getDraggableOwner()
           
 int getDragMode()
           
 boolean isDraggable()
           
 boolean isPressedState()
           
protected  void manageVelocity(CCCoordinateTuner tuner, int x, int y)
           
 void notifyMouseListeners(float x, float y, int evtType)
           
 boolean panelInfoSupport()
           
 void setDraggable(boolean draggable)
           
 void setDragMode(int dragMode)
           
 void setInfoDrawer(CCInfoDrawer infoDrawer)
           
 void setPressedState(boolean pressedState)
           
 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 dragMode)
Specified by:
setDragMode in interface CCDraggable

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

manageVelocity

protected void manageVelocity(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