com.webcab.chat.gui
Interface CaptionViewListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
CaptionViewAdapter

public interface CaptionViewListener
extends java.util.EventListener

The listener class for the CaptionView bean. It provides methods that react at mouse clicks on the active area of the caption (right and left mouse button clicks).

The class that is interested in processing mouse events should implement this interface with all its methods or extend the CaptionViewAdapter, overriding only the desired methods.

The listener thus created is registered with the CaptionView's addCaptionViewListener method and removed with removeCaptionViewListener. This interface is somewhat similar to the java.awt.event.MouseListener interface, provided by the JavaTM Standard Edition.

See Also:
CaptionView.addCaptionViewListener(com.webcab.chat.gui.CaptionViewListener), CaptionViewAdapter

Method Summary
 void mouseLeftClicked(java.lang.Object o)
          Invoked when the right mouse button clicks in the active area of the CaptionView component.
 void mouseRightClicked(java.lang.Object o)
          Invoked when the right mouse button clicks in the active area of the CaptionView component.
 

Method Detail

mouseRightClicked

public void mouseRightClicked(java.lang.Object o)
Invoked when the right mouse button clicks in the active area of the CaptionView component.
Parameters:
o - The invoking CaptionView bean.
See Also:
mouseLeftClicked(java.lang.Object)

mouseLeftClicked

public void mouseLeftClicked(java.lang.Object o)
Invoked when the right mouse button clicks in the active area of the CaptionView component.
Parameters:
o - The invoking CaptionView bean.
See Also:
mouseRightClicked(java.lang.Object)