org.openorb.board.shared.board
Class BoardTableListener
java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
org.openorb.board.shared.board.BoardTableListener
- All Implemented Interfaces:
- java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.ListSelectionListener, javax.swing.event.MouseInputListener
public class BoardTableListener
- extends javax.swing.event.MouseInputAdapter
- implements javax.swing.event.ListSelectionListener
| Methods inherited from class java.awt.event.MouseAdapter |
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.awt.event.MouseListener |
mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from interface java.awt.event.MouseMotionListener |
mouseDragged, mouseMoved |
EVENT_ALL
public static final int EVENT_ALL
- Define the event type constants
- See Also:
- Constant Field Values
EVENT_SELECTION
public static final int EVENT_SELECTION
- See Also:
- Constant Field Values
EVENT_LCLICK_1
public static final int EVENT_LCLICK_1
- See Also:
- Constant Field Values
EVENT_LCLICK_2
public static final int EVENT_LCLICK_2
- See Also:
- Constant Field Values
BoardTableListener
public BoardTableListener()
- Constructor
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent evt)
- ListSelectionListener implementation
- Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent evt)
- MouseListener implementation
- Specified by:
mouseClicked in interface java.awt.event.MouseListener- Overrides:
mouseClicked in class java.awt.event.MouseAdapter
addCase
public void addCase(int cellType,
int eventType,
BoardEventHandler listener)
removeCase
public void removeCase(int cellType)
removeCase
public void removeCase(int cellType,
int eventType)