javax.rad.ui.event
Class UIPopupMenuEvent

java.lang.Object
  extended by javax.rad.ui.event.UIEvent
      extended by javax.rad.ui.event.UIPopupMenuEvent

public class UIPopupMenuEvent
extends UIEvent

Platform and technology independent popup menu event definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .

See Also:
PopupMenuEvent

Field Summary
static int POPUPMENU_CANCELED
          This event indicates that the popup menu is canceled.
static int POPUPMENU_FIRST
          The first number in the range of ids used for foacus events.
static int POPUPMENU_LAST
          The last number in the range of ids used for popup menu events.
static int POPUPMENU_WILLBECOMEINVISIBLE
          This event indicates that the popup menu will become invisible.
static int POPUPMENU_WILLBECOMEVISIBLE
          This event indicates that the popup menu will become visible.
 
Fields inherited from class javax.rad.ui.event.UIEvent
ALT_GRAPH_MASK, ALT_MASK, BUTTON1_MASK, BUTTON2_MASK, BUTTON3_MASK, CTRL_MASK, META_MASK, SHIFT_MASK
 
Constructor Summary
UIPopupMenuEvent(IComponent pSource, int pId, long pWhen, int pModifiers)
          Creates a new instance of UIPopupMenuEvent.
 
Method Summary
protected  void checkId(int pId)
          Checks if the current Instance of UIEvent allows the given id.
 
Methods inherited from class javax.rad.ui.event.UIEvent
getId, getModifiers, getSource, getWhen, isModifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POPUPMENU_FIRST

public static final int POPUPMENU_FIRST
The first number in the range of ids used for foacus events.

See Also:
Constant Field Values

POPUPMENU_WILLBECOMEVISIBLE

public static final int POPUPMENU_WILLBECOMEVISIBLE
This event indicates that the popup menu will become visible.

See Also:
Constant Field Values

POPUPMENU_WILLBECOMEINVISIBLE

public static final int POPUPMENU_WILLBECOMEINVISIBLE
This event indicates that the popup menu will become invisible.

See Also:
Constant Field Values

POPUPMENU_CANCELED

public static final int POPUPMENU_CANCELED
This event indicates that the popup menu is canceled.

See Also:
Constant Field Values

POPUPMENU_LAST

public static final int POPUPMENU_LAST
The last number in the range of ids used for popup menu events.

See Also:
Constant Field Values
Constructor Detail

UIPopupMenuEvent

public UIPopupMenuEvent(IComponent pSource,
                        int pId,
                        long pWhen,
                        int pModifiers)
Creates a new instance of UIPopupMenuEvent.

Parameters:
pSource - the Source of this UIPopupMenuEvent.
pId - the Id of this UIPopupMenuEvent.
pWhen - the time the event occurred
pModifiers - represents the modifier keys and mouse buttons down while the event occurred
Method Detail

checkId

protected void checkId(int pId)
Checks if the current Instance of UIEvent allows the given id.

Overrides:
checkId in class UIEvent
Parameters:
pId - the Id of this UIEvent.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.