public interface MouseListener{
public void mouseClicked(MouseEvent e);
}
一个类可以实现很多个接口,如
class ProcessMouseEvent implements MouseListener,MouseMotionLister{
...
}
public interface MouseListener{
public void mouseClicked(MouseEvent e);
}
一个类可以实现很多个接口,如
class ProcessMouseEvent implements MouseListener,MouseMotionLister{
...
}