net.sourceforge.foobase
Class FoobaseMouseEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--net.sourceforge.foobase.FoobaseEvent
              |
              +--net.sourceforge.foobase.FoobaseMouseEvent

public class FoobaseMouseEvent
extends FoobaseEvent

Foobase specific mouse events.

See Also:
Serialized Form

Field Summary
static java.lang.String __version
           
protected  int _c
          Column number (leftmost columns is zero)
protected  int _r
          Rownumber (bottom row is zero)
 
Fields inherited from class net.sourceforge.foobase.FoobaseEvent
__version
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FoobaseMouseEvent(java.lang.Object s, int r, int c)
          Public constructor
 
Method Summary
 int getColumn()
          Get column number.
 int getRow()
          Get row number.
 
Methods inherited from class net.sourceforge.foobase.FoobaseEvent
toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_r

protected int _r
Rownumber (bottom row is zero)

_c

protected int _c
Column number (leftmost columns is zero)

__version

public static final java.lang.String __version
Constructor Detail

FoobaseMouseEvent

public FoobaseMouseEvent(java.lang.Object s,
                         int r,
                         int c)
Public constructor
Parameters:
s - Object representing the source of the new event
typ - int containing the specific mouse event type
r - int board square row (square A1 is on row zero)
c - int board square column (square A1 is on column zero)
Method Detail

getRow

public int getRow()
Get row number.
Returns:
int containing the row number for this event

getColumn

public int getColumn()
Get column number.
Returns:
int containing the column number for this event