Examples of onMousePressed()


Examples of cofh.lib.gui.element.ElementBase.onMousePressed()

    for (int i = elements.size(); i-- > 0;) {
      ElementBase c = elements.get(i);
      if (!c.isVisible() || !c.isEnabled() || !c.intersectsWith(mX, mY)) {
        continue;
      }
      if (c.onMousePressed(mX, mY, mouseButton)) {
        return;
      }
    }
    TabBase tab = getTabAtPosition(mX, mY);
    if (tab != null && !tab.onMousePressed(mX, mY, mouseButton)) {
View Full Code Here

Examples of cofh.lib.gui.element.TabBase.onMousePressed()

      if (c.onMousePressed(mX, mY, mouseButton)) {
        return;
      }
    }
    TabBase tab = getTabAtPosition(mX, mY);
    if (tab != null && !tab.onMousePressed(mX, mY, mouseButton)) {
      for (int i = tabs.size(); i-- > 0;) {
        TabBase other = tabs.get(i);
        if (other != tab && other.open && other.side == tab.side) {
          other.toggleOpen();
        }
View Full Code Here

Examples of com.pahimar.repackage.cofh.lib.gui.element.ElementBase.onMousePressed()

        for (int i = elements.size(); i-- > 0; ) {
            ElementBase c = elements.get(i);
            if (!c.isVisible() || !c.isEnabled() || !c.intersectsWith(mX, mY)) {
                continue;
            }
            if (c.onMousePressed(mX, mY, mouseButton)) {
                return;
            }
        }
        TabBase tab = getTabAtPosition(mX, mY);
        if (tab != null && !tab.onMousePressed(mX, mY, mouseButton)) {
View Full Code Here

Examples of com.pahimar.repackage.cofh.lib.gui.element.TabBase.onMousePressed()

            if (c.onMousePressed(mX, mY, mouseButton)) {
                return;
            }
        }
        TabBase tab = getTabAtPosition(mX, mY);
        if (tab != null && !tab.onMousePressed(mX, mY, mouseButton)) {
            for (int i = tabs.size(); i-- > 0; ) {
                TabBase other = tabs.get(i);
                if (other != tab && other.open && other.side == tab.side) {
                    other.toggleOpen();
                }
View Full Code Here

Examples of robocode.robotinterfaces.IInteractiveEvents.onMousePressed()

  final void dispatch(IBasicRobot robot, IRobotStatics statics, Graphics2D graphics) {
    if (statics.isInteractiveRobot()) {
      IInteractiveEvents listener = ((IInteractiveRobot) robot).getInteractiveEventListener();

      if (listener != null) {
        listener.onMousePressed(getSourceEvent());
      }
    }
  }

  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.