|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jrex.event.context.ContextMenuEvent
A class representing JRex ContextMenu Event.
Constructor Summary | |
ContextMenuEvent(int jrexPeer,
int contextFlags,
int cX,
int cY,
Node targetNode,
int nodeType,
String uri,
String imgUri)
ContextMenuEvent constructor |
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 |
getJRexPeer()
Returns the target browser component to which the ContextMenu event belongs. |
int |
getNodeType()
Returns node type for the event. |
Node |
getTargetNode()
Returns node for the event. |
String |
getURI()
Returns uri for the event. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContextMenuEvent(int jrexPeer, int contextFlags, int cX, int cY, Node targetNode, int nodeType, String uri, String imgUri)
jrexPeer
- target browser component to which the event belongscontextFlags
- context flags for the event.cX
- x co-ordinate where context menu should be displayed.cY
- y co-ordinate where context menu should be displayed.nodeType
- node type for the event.uri
- uri for the event.imgUri
- image uri for the event, if any.ContextMenuEventConstants
Method Detail |
public int getJRexPeer()
public int getContextFlags()
public int getClientX()
public int getClientY()
public Node getTargetNode()
null
if DOM is not enabled.
public int getNodeType()
public String getURI()
public String getImageURI()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |