Examples of ResizeController


Examples of com.google.collide.client.util.ResizeController

       * Add a resize controller. We set the default value programatically
       * because we use padding, which skews the height calculations in
       * ResizeController.
       */
      // TODO: Move this to the presenter.
      ResizeController splitterController =
          new ResizeController(res, Elements.asJsElement(splitter),
              new ResizeController.ElementInfo(Elements.asJsElement(bottomSections),
                  ResizeProperty.HEIGHT, css.bottomSectionsHeight()),
              new ResizeController.ElementInfo(Elements.asJsElement(bottomSectionsAnimator),
                  ResizeProperty.HEIGHT, css.bottomSectionsHeight()),
              new ResizeController.ElementInfo(Elements.asJsElement(bottomSectionsContent),
                  ResizeProperty.HEIGHT, css.bottomSectionsHeight()));
      splitterController.setNegativeDelta(true);
      splitterController.start();
    }
View Full Code Here

Examples of mindnotes.client.ui.resize.ResizeController

   *
   */
  private void initRootNode(boolean viewOnly) {
    _rootNode = new NodeWidget();
    _rootNode.setEmbeddedObjectFactory(new EmbeddedObjectWidgetFactory(
        new ResizeController(_viewportPanel), viewOnly));
    _rootNode.setContainer(this);

  }
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.