askalon.graph.chartpack
Class CPPopupMenu

java.lang.Object
  extended byaskalon.graph.chartpack.CPPopupMenu
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener

public class CPPopupMenu
extends java.lang.Object
implements java.awt.event.MouseListener

Copyright (c) 2002 Thomas Fahringer, Institute for Software Science, University of Vienna, Austria

We provide the ASKALON Visualization Diagramm Class Library (below described as ASKALON") on an AS IS basis, and do not warrant its validity or performance. We reserve the right to update, modify, or discontinue this software at any time. We shall have no obligation to supply such updates or modifications or any other form of support to you.

This license is for research uses. For such uses, there is no charge. We define "research use" to mean you may freely use it inside your organization for whatever purposes you see fit. But you may not re-distribute ASKALON or parts of ASKALON, in any form source or binary (including derivatives), electronic or otherwise, to any other organization or entity without our permission. (for other uses, please contact us at tf@par.univie.ac.at)

All warranties, including without limitation, any warranty of merchantability or fitness for a particular purpose, are hereby excluded.

By your use of ASKALON, you understand and agree that we (or any other person or entity with proprietary rights in ASKALON) are under no obligation to provide either maintenance services, update services, notices of latent defects, or correction of defects for ASKALON.

Even if advised of the possibility of such damages, under no circumstances shall we (or any other person or entity with proprietary rights in the software licensed hereunder) be liable to you or any third party for direct, indirect, or consequential damages of any character regardless of type of action, including, without limitation, loss of profits, loss of use, loss of good will, or computer failure or malfunction. You agree to indemnify us (and any other person or entity with proprietary rights in the software licensed hereunder) for any and all liability it may incur to third parties resulting from your use of ASKALON.


Implements an basic popup menu.

Version:
$Revision: 1.11 $ / $Date: 2004/03/24 08:24:08 $.
Author:
Sascha Nemecek/9825915.

Constructor Summary
CPPopupMenu(Diagram currentDiagram)
          Initialises a simple popup menu.
 
Method Summary
 void initMenu()
          Initialises the popup menu
 void mouseClicked(java.awt.event.MouseEvent me)
          Invoked when the mouse has been clicked on a component.
 void mouseEntered(java.awt.event.MouseEvent me)
          Invoked when the mouse enters a component.
 void mouseExited(java.awt.event.MouseEvent me)
          Invoked when the mouse exits a component.
 void mousePressed(java.awt.event.MouseEvent me)
          Invoked when a mouse button has been pressed on a component.
 void mouseReleased(java.awt.event.MouseEvent me)
          Invoked when a mouse button has been released on a component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPPopupMenu

public CPPopupMenu(Diagram currentDiagram)
Initialises a simple popup menu.

Parameters:
currentDiagram -
Method Detail

initMenu

public void initMenu()
Initialises the popup menu


mouseClicked

public void mouseClicked(java.awt.event.MouseEvent me)
Invoked when the mouse has been clicked on a component. No action is taken. (Implementation of MouseListener)

Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent me)
Invoked when the mouse enters a component. No action is taken. (Implementation of MouseListener)

Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent me)
Invoked when the mouse exits a component. No action is taken. (Implementation of MouseListener)

Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent me)
Invoked when a mouse button has been pressed on a component. No action is taken. (Implementation of MouseListener)

Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent me)
Invoked when a mouse button has been released on a component. (Implementation of MouseListener)

Specified by:
mouseReleased in interface java.awt.event.MouseListener