Class DefaultMouseInfoAccessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Point getMousePosition()
      Get the current mouse position.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMouseInfoAccessor

        public DefaultMouseInfoAccessor()
    • Method Detail

      • getMousePosition

        public java.awt.Point getMousePosition()
        Description copied from interface: MouseInfoAccessor
        Get the current mouse position. NB, for optimization reasons this method might return the same Point instance, but is not quaranteed to. It is recommended not to save this Point anywhere as it may or may not change its coordinates.
        Specified by:
        getMousePosition in interface MouseInfoAccessor
        Returns:
        the current mouse position