added getFocusX/getFocusY methods