KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > event > MouseEvent

java.awt.event
Class MouseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.AWTEvent
          extended by java.awt.event.ComponentEvent
              extended by java.awt.event.InputEvent
                  extended by java.awt.event.MouseEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MenuDragMouseEvent, MouseWheelEvent
See Also:
Top Examples, Source Code, getButton(), InputEvent.getModifiersEx(), InputEvent.getModifiers(), MouseAdapter, MouseListener, MouseMotionAdapter, MouseMotionListener, MouseWheelListener

public static final int BUTTON1
See Also:
getButton()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BUTTON2
See Also:
getButton()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int BUTTON3
See Also:
getButton()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getButton()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getClickCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static String getMouseModifiersText(int modifiers)
See Also:
InputEvent.getModifiersExText(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Point getPoint()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getX()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getY()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isPopupTrigger()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MouseEvent(Component source,
                  int id,
                  long when,
                  int modifiers,
                  int x,
                  int y,
                  int clickCount,
                  boolean popupTrigger)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MouseEvent(Component source,
                  int id,
                  long when,
                  int modifiers,
                  int x,
                  int y,
                  int clickCount,
                  boolean popupTrigger,
                  int button)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_CLICKED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_DRAGGED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_ENTERED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_EXITED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_FIRST
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_LAST
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_MOVED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_RELEASED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int MOUSE_WHEEL
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int NOBUTTON
See Also:
getButton()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String paramString()
See Also:
ComponentEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void translatePoint(int x,
                           int y)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags