org.nakedobjects.plugins.dnd
Class PointerEvent

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.PointerEvent
Direct Known Subclasses:
Click, Drag, DragStart

public abstract class PointerEvent
extends java.lang.Object

Details an event involving the pointer, such as a click or drag.


Field Summary
protected  int mods
           
 
Method Summary
 boolean button1()
           
 boolean button2()
           
 boolean button3()
           
 boolean isAlt()
          Returns true if the 'Alt' key is depressed
 boolean isCtrl()
          Returns true if the control key is depressed
 boolean isMeta()
          Returns true if the 'Alt' key is depressed
 boolean isShift()
          Returns true if the shift key is depressed
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mods

protected int mods
Method Detail

button1

public boolean button1()

button2

public boolean button2()

button3

public boolean button3()

isAlt

public boolean isAlt()
Returns true if the 'Alt' key is depressed


isCtrl

public boolean isCtrl()
Returns true if the control key is depressed


isMeta

public boolean isMeta()
Returns true if the 'Alt' key is depressed


isShift

public boolean isShift()
Returns true if the shift key is depressed


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.