Examples of dispatchEvent()


Examples of org.olat.core.gui.control.Controller.dispatchEvent()

        // still continue
      }
      ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(new Runnable() {

        public void run() {
          listener.dispatchEvent(ureq, Component.this, event);
        }
       
      }, listener.getUserActivityLogger());
      // clear the event for memory reasons, used only for debugging reasons in
      // case of an error
View Full Code Here

Examples of org.olat.core.gui.control.ControllerEventListener.dispatchEvent()

    if (listeners == null) return;
    for (Iterator iter = listeners.iterator(); iter.hasNext();) {
      ControllerEventListener listener = (ControllerEventListener) iter.next();
      //was: listener.dispatchEvent(ureq, this, event);
      // needs to be:
      listener.dispatchEvent(ureq, realController, event);
    }
  }

  /**
   * @see org.olat.core.gui.control.DefaultController#event(org.olat.core.gui.UserRequest, org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)
View Full Code Here

Examples of org.openquark.gems.client.explorer.TableTopExplorer.dispatchEvent()

                public void mouseMoved(MouseEvent e) {
                    TableTopExplorer tableTopExplorer = getTableTopExplorer();
                    Point pressedPoint = SwingUtilities.convertPoint(getGlassPane(), e.getPoint(), getLayeredPane());
                   
                    if (tableTopExplorer.getBounds().contains(SwingUtilities.convertPoint(getLayeredPane(), pressedPoint, getTableTopExplorer()))) {
                        tableTopExplorer.dispatchEvent(SwingUtilities.convertMouseEvent((Component)e.getSource(), e, tableTopExplorer));             
                    }
                }
            });

            // Create the adapter class for the navigator owner
View Full Code Here

Examples of org.red5.server.api.so.ISharedObject.dispatchEvent()

      }
      ISharedObject so = sharedObjectService.getSharedObject(scope, name);
      if (so != null) {
        if (so.isPersistent() == persistent) {
          log.debug("Dispatch persistent shared object");
          so.dispatchEvent(message);
        } else {
          log.warn("Shared object persistence mismatch - current: {} incoming: {}", so.isPersistent(), persistent);
          // reset the object so we can re-use it
          message.reset();
          // add the error event
View Full Code Here

Examples of org.red5.server.so.ClientSharedObject.dispatchEvent()

      return;
    }
    if (log.isDebugEnabled()) {
      log.debug("Received SO request: " + object);
    }
    so.dispatchEvent(object);
  }

    private class RTMPClientConnManager implements IRTMPConnManager {

    public RTMPConnection createConnection(Class connCls) {
View Full Code Here

Examples of org.rsbot.event.EventManager.dispatchEvent()

  private void redispatch(final KeyEvent e) {
    if (bot != null) {
      final EventManager m = bot.getEventManager();
      if (m != null) {
        m.dispatchEvent(e);
      }
      if ((bot.overrideInput || (bot.inputFlags & INPUT_KEYBOARD) != 0) && bot.getLoader().getComponentCount() > 0) {
        final Component c = bot.getLoader().getComponent(0);
        c.dispatchEvent(e);
      }
View Full Code Here

Examples of org.twodividedbyzero.idea.findbugs.gui.tree.view.BugTree.dispatchEvent()

    if (content != null) {
      final ToolWindowPanel panel = (ToolWindowPanel) content.getComponent();
      final BugTree tree = panel.getBugTreePanel().getBugTree();
      tree.setSelectionRow(0);
      tree.requestFocusInWindow();
      tree.dispatchEvent(new KeyEvent(tree, KeyEvent.KEY_PRESSED, System.currentTimeMillis(), KeyEvent.CTRL_DOWN_MASK, KeyEvent.VK_F, 'F'));
    }

  }

View Full Code Here

Examples of org.w3c.dom.events.EventTarget.dispatchEvent()

                        }
                    }
                };
            t.addEventListener("SVGLoad", l, false);
        }
        t.dispatchEvent(ev);
        if (s.length() > 0) {
            t.removeEventListener("SVGLoad", l, false);
        }
    }
View Full Code Here

Examples of org.w3c.dom.events.EventTarget.dispatchEvent()

        EventTarget t = root;

        DocumentEvent de = (DocumentEvent)document;
        Event ev = de.createEvent("SVGEvents");
        ev.initEvent(eventType, false, false);
        t.dispatchEvent(ev);
    }

    /**
     * Handles the given exception.
     */
 
View Full Code Here

Examples of org.w3c.dom.events.EventTarget.dispatchEvent()

                        }
                    }
                };
            t.addEventListener("SVGLoad", l, false);
        }
        t.dispatchEvent(ev);
        if (s.length() > 0) {
            t.removeEventListener("SVGLoad", l, false);
        }
    }
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.