jpos.util
Class PopupListener

java.lang.Object
  |
  +--jpos.util.PopupListener

public class PopupListener
extends java.lang.Object

class that prepares a JPopoupMenu for display

Since:
1.3 (SF 2K meeting)
Author:
Manuel M Monserrate

Constructor Summary
PopupListener()
           
 
Method Summary
 boolean startPopup(int x, int y)
          used to setUp the PopupMenu depending on the coordinates given to the method
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupListener

public PopupListener()
Method Detail

startPopup

public boolean startPopup(int x,
                          int y)
used to setUp the PopupMenu depending on the coordinates given to the method
Parameters:
x, - the x-coordinate
y, - the y-coordinate
Returns:
true to show menu, false to cancel


This API and code belongs to the JavaPOS committee please see LISCENCE file for details