2017-10-24 12:51:07 -05:00
|
|
|
package sig.modules.Controller.clickablebutton;
|
|
|
|
|
|
|
|
import java.awt.Rectangle;
|
|
|
|
import java.awt.event.MouseEvent;
|
|
|
|
|
|
|
|
import sig.modules.ControllerModule;
|
|
|
|
import sig.modules.Controller.ClickableButton;
|
|
|
|
import sig.modules.Controller.ControlConfigurationWindow;
|
2017-10-24 20:16:18 -05:00
|
|
|
import sig.modules.Controller.DialogType;
|
2017-10-24 12:51:07 -05:00
|
|
|
import sig.modules.Controller.EditMode;
|
|
|
|
|
|
|
|
public class CopyClickableButton extends ClickableButton{
|
|
|
|
|
|
|
|
public CopyClickableButton(Rectangle position, String button_label, ControllerModule parent_module) {
|
|
|
|
super(position, button_label, parent_module);
|
|
|
|
}
|
|
|
|
|
|
|
|
public void onClickEvent(MouseEvent ev) {
|
|
|
|
super.onClickEvent(ev);
|
2017-10-26 23:47:51 -05:00
|
|
|
if (mouseInsideBounds(ev)) {;
|
2017-10-25 21:40:34 -05:00
|
|
|
module.resetDragPoints();
|
2017-10-24 12:51:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|