org.openorb.board.shared.board

Class BoardTableListener

public class BoardTableListener extends MouseInputAdapter implements ListSelectionListener

Field Summary
static intEVENT_ALL
Define the event type constants
static intEVENT_LCLICK_1
static intEVENT_LCLICK_2
static intEVENT_SELECTION
Constructor Summary
BoardTableListener()
Constructor
Method Summary
voidaddCase(int cellType, int eventType, BoardEventHandler listener)
voidmouseClicked(MouseEvent evt)
MouseListener implementation
voidremoveCase(int cellType)
voidremoveCase(int cellType, int eventType)
voidvalueChanged(ListSelectionEvent evt)
ListSelectionListener implementation

Field Detail

EVENT_ALL

public static final int EVENT_ALL
Define the event type constants

EVENT_LCLICK_1

public static final int EVENT_LCLICK_1

EVENT_LCLICK_2

public static final int EVENT_LCLICK_2

EVENT_SELECTION

public static final int EVENT_SELECTION

Constructor Detail

BoardTableListener

public BoardTableListener()
Constructor

Method Detail

addCase

public void addCase(int cellType, int eventType, BoardEventHandler listener)

mouseClicked

public void mouseClicked(MouseEvent evt)
MouseListener implementation

removeCase

public void removeCase(int cellType)

removeCase

public void removeCase(int cellType, int eventType)

valueChanged

public void valueChanged(ListSelectionEvent evt)
ListSelectionListener implementation