mouse click to abstract class