Annotation Interface InputMousePosition


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface InputMousePosition
Annotates a field that sets if the mouse's position on an axis changes, reporting the new window-relative position. Expects to write to a double value; an error will be thrown if this is not the case.

Public fields or methods that are "setters" can be annotated with this.

Author:
Matthew Tropiano
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      Returns:
      the corresponding mouse axis.