com.pepper.guiutils.browser
Class PepperContextMenuEvent

java.lang.Object
  extended by com.pepper.guiutils.browser.BrowserEvent
      extended by com.pepper.guiutils.browser.PepperContextMenuEvent

public class PepperContextMenuEvent
extends BrowserEvent

Pepper wrapper for JRex ContextMenuEvent


Constructor Summary
PepperContextMenuEvent(String viewId, int contextFlags, int xPos, int yPos, int screenX, int screenY, Node theTargetNode, int nodeType, String uri, String imageUri)
           
 
Method Summary
 int getClientX()
          Returns x co-ordinate where context menu should be displayed.
 int getClientY()
          Returns y co-ordinate where context menu should be displayed.
 int getContextFlags()
          Returns context flags for the event.
 String getImageURI()
          Returns mage uri for the event, if any.
 int getNodeType()
          Returns node type for the event.
 int getScreenX()
           
 int getScreenY()
           
 Node getTargetNode()
          Return the target node for this event
 String getURI()
          Returns uri for the event.
 String toString()
           
 
Methods inherited from class com.pepper.guiutils.browser.BrowserEvent
getEventParam, getEventType, getViewID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PepperContextMenuEvent

public PepperContextMenuEvent(String viewId,
                              int contextFlags,
                              int xPos,
                              int yPos,
                              int screenX,
                              int screenY,
                              Node theTargetNode,
                              int nodeType,
                              String uri,
                              String imageUri)
Method Detail

getContextFlags

public int getContextFlags()
Returns context flags for the event.

See Also:
ContextMenuEventConstants

getScreenX

public int getScreenX()

getScreenY

public int getScreenY()

getClientX

public int getClientX()
Returns x co-ordinate where context menu should be displayed.


getClientY

public int getClientY()
Returns y co-ordinate where context menu should be displayed.


getTargetNode

public Node getTargetNode()
Return the target node for this event

Returns:
a Node value

getNodeType

public int getNodeType()
Returns node type for the event.


getURI

public String getURI()
Returns uri for the event.


getImageURI

public String getImageURI()
Returns mage uri for the event, if any.


toString

public String toString()
Overrides:
toString in class BrowserEvent
See Also:
Object


Copyright © 2006-2007 Pepper Computer, Inc. All Rights Reserved.