setMouseOperations method