Package com.google.collide.client.util

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

TOP

Related Classes of com.google.collide.client.util.ResizeController

Copyright © 2018 www.massapicom. 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.