org.objectweb.cjdbc.console.gui
Class CjdbcGuiListener
java.lang.Object
org.objectweb.cjdbc.console.gui.CjdbcGuiListener
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.awt.event.FocusListener, javax.swing.event.ListSelectionListener, java.awt.event.MouseListener, javax.management.NotificationListener
- public class CjdbcGuiListener
- extends java.lang.Object
- implements java.awt.event.MouseListener, java.awt.event.ActionListener, javax.management.NotificationListener, java.awt.event.FocusListener, javax.swing.event.ListSelectionListener
This class defines a CjdbcGuiListener
- Version:
- 1.0
- Author:
- Nicolas Modrzyk , Emmanuel Cecchet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gui
private CjdbcGui gui
JMX_SEQUENCE_CACHE
static final int JMX_SEQUENCE_CACHE
- See Also:
- Constant Field Values
sequences
private java.util.Hashtable sequences
CjdbcGuiListener
public CjdbcGuiListener(CjdbcGui gui)
- Creates a new
CjdbcGuiListener.java
object
- Parameters:
gui
- the main frame
handleNotification
public void handleNotification(javax.management.Notification notification,
java.lang.Object handback)
- Handle jmx notifications
- Specified by:
handleNotification
in interface javax.management.NotificationListener
- Parameters:
notification
- the jmx notification from javax.managermenthandback
- not used
handleNotification
private void handleNotification(java.lang.String type,
JmxNotification notification)
processedSequence
private boolean processedSequence(java.lang.String sequence)
- Check whether we have received this notification already...
- Parameters:
sequence
- the sequence id
- Returns:
- true if this id was already received
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interface java.awt.event.MouseListener
- See Also:
MouseListener.mouseClicked(java.awt.event.MouseEvent)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interface java.awt.event.MouseListener
- See Also:
MouseListener.mousePressed(java.awt.event.MouseEvent)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interface java.awt.event.MouseListener
- See Also:
MouseListener.mouseReleased(java.awt.event.MouseEvent)
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interface java.awt.event.MouseListener
- See Also:
MouseListener.mouseEntered(java.awt.event.MouseEvent)
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interface java.awt.event.MouseListener
- See Also:
MouseListener.mouseExited(java.awt.event.MouseEvent)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Specified by:
focusGained
in interface java.awt.event.FocusListener
- See Also:
FocusListener.focusGained(java.awt.event.FocusEvent)
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Specified by:
focusLost
in interface java.awt.event.FocusListener
- See Also:
FocusListener.focusLost(java.awt.event.FocusEvent)
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent e)
- Specified by:
valueChanged
in interface javax.swing.event.ListSelectionListener
- See Also:
ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent)
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.