Examples of LayoutEvent


Examples of com.extjs.gxt.ui.client.event.LayoutEvent

  /**
   * Layouts the container, by executing it's layout.
   */
  public void layout() {
    if (container != null && container.isRendered() && !running) {
      if (fireEvent(Events.BeforeLayout, new LayoutEvent(container, this))) {
        running = true;
        initTarget();
        onLayout(container, target);
        running = false;
        fireEvent(Events.AfterLayout, new LayoutEvent(container, this));
      }

    }
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.event.LayoutEvent

  }

  public void layout() {
    El target = container.getLayoutTarget();
    onLayout(container, target);
    fireEvent(Events.AfterLayout, new LayoutEvent(container, this));
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.event.LayoutEvent

   * Layouts the container, by executing it's layout.
   */
  public void layout() {
    El target = container.getLayoutTarget();
    onLayout(container, target);
    fireEvent(Events.AfterLayout, new LayoutEvent(container, this));
  }
View Full Code Here

Examples of com.google.speedtracer.client.model.LayoutEvent

   *   Parse:50
   *   Parse:50
   *   Parse:50
   */
  public void testNonLayoutSubEvents1NoHint() {
    LayoutEvent input = createLayoutEvent(200);
    input.addChild(createParseHtmlEvent(50));
    input.addChild(createParseHtmlEvent(50));
    input.addChild(createParseHtmlEvent(50));
    test.addInput(input);
    HintletTestHelper.runTest(rule, test);
  }
View Full Code Here

Examples of com.google.speedtracer.client.model.LayoutEvent

   *   Layout:50
   */
  public void testNonLayoutSubEvents2NoHint() {
    ParseHtmlEvent input = createParseHtmlEvent(2000);
   
    LayoutEvent child1 = createLayoutEvent(50);
    child1.addChild(createParseHtmlEvent(48));
    input.addChild(child1);
   
    LayoutEvent child2 = createLayoutEvent(50);
    child2.addChild(createParseHtmlEvent(48));
    input.addChild(child2);
   
    input.addChild(createLayoutEvent(50));
   
    test.addInput(input);
View Full Code Here

Examples of com.google.speedtracer.client.model.LayoutEvent

   *     GC:45
   */
  public void testNonLayoutSubEvents3NoHint() {
    DomEvent input = createDomEvent(200);

    LayoutEvent child50 = createLayoutEvent(50);
    child50.addChild(createGCEvent(45));
    input.addChild(child50);

    LayoutEvent child100 = createLayoutEvent(100);
    child100.addChild(createGCEvent(45));
    input.addChild(child100);

    LayoutEvent child155 = createLayoutEvent(155);
    child155.addChild(createGCEvent(45));
    input.addChild(child155);

    String hintDescription = "Event triggered 3 layouts taking 170ms.";
    HintRecord expectedHint =
        HintRecord.create(rule.getHintletName(), HintletEventRecordBuilder.DEFAULT_TIME,
View Full Code Here

Examples of com.google.speedtracer.client.model.LayoutEvent

  /**
   * A single layout event should not trigger the rule
   * Layout:2000
   */
  public void testSingleLayoutNoHint() {
    LayoutEvent input = createLayoutEvent(2000);
    test.addInput(input);
    HintletTestHelper.runTest(rule, test);
  }
View Full Code Here

Examples of org.flexdock.perspective.event.LayoutEvent

        // if necessary, defer minimized restoration until after a valid window
        // has been resolved
        restoreDeferredMinimizedDockables(deferredMinimizedDockables);

        // send notification
        LayoutEvent evt = new LayoutEvent(this, null, null, LayoutEvent.LAYOUT_APPLIED);
        EventManager.dispatch(evt);
    }
View Full Code Here

Examples of org.flexdock.perspective.event.LayoutEvent

        } else if (DockingUtility.isMinimized(dockable)) {
            hidden = DockingManager.getMinimizeManager().close(dockable);
        }

        if(hidden) {
            LayoutEvent evt = new LayoutEvent(this, null, dockable.getPersistentId(), LayoutEvent.DOCKABLE_HIDDEN);
            EventManager.dispatch(evt);
        }
    }
View Full Code Here

Examples of org.jasig.portal.layout.LayoutEvent

            this.updateCacheKey();
            this.clearMarkings();

            // inform the listeners
            LayoutEvent ev=new LayoutEvent(this, node, parent);
            for(Iterator i=listeners.iterator();i.hasNext();) {
                LayoutEventListener lel=(LayoutEventListener)i.next();
                if(isChannel) {
                    lel.channelAdded(ev);
                } else {
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.