chesspresso.position
Interface PositionMotionListener

All Known Implementing Classes:
GameBrowser

public interface PositionMotionListener


Method Summary
 boolean allowDrag(ImmutablePosition position, int from)
           
 void dragged(ImmutablePosition position, int from, int to, java.awt.event.MouseEvent e)
           
 int getPartnerSqi(ImmutablePosition position, int from)
           
 void squareClicked(ImmutablePosition position, int sqi, java.awt.event.MouseEvent e)
           
 

Method Detail

allowDrag

public boolean allowDrag(ImmutablePosition position,
                         int from)

getPartnerSqi

public int getPartnerSqi(ImmutablePosition position,
                         int from)

dragged

public void dragged(ImmutablePosition position,
                    int from,
                    int to,
                    java.awt.event.MouseEvent e)

squareClicked

public void squareClicked(ImmutablePosition position,
                          int sqi,
                          java.awt.event.MouseEvent e)