MouseModeAPI.setCenterAtLocMode

 

void setCenterAtLocMode()

This method sets the state of the SDM such that a mouse click in any view centers that view on the location of the click. The SDM stays in this state until the client calls setNeutralMode, or the user clicks the right mouse button.