Package com.google.collide.client.ui.menu

Examples of com.google.collide.client.ui.menu.PositionController


  /**
   * Shows the popup anchored to a given element.
   */
  public void show(Positioner positioner) {
    positionController = new PositionController(positioner, getView().getElement());
    show();
  }
View Full Code Here


    if (enableKeyboardSelection) {
      keyboardSelectionController = new KeyboardSelectionController(
          inputTarget == null ? listView : inputTarget, list.getSelectionModel());
    }

    positionController = new PositionController(positioner, listView);
  }
View Full Code Here

    this.eventRemovers =
        shouldShowOnHover ? attachToTargetElement() : JsonCollections.<EventRemover>createArray();

    getView().setAnimationController(AnimationController.FADE_ANIMATION_CONTROLLER);

    positionController = new PositionController(positioner, getView().getElement());

    showTimer = new Timer() {
      @Override
      public void run() {
        show();
View Full Code Here

public class Coachmark extends UiComponent<View> {

  public static Coachmark create(
      Tooltip.Resources res, Renderer renderer, PositionController.Positioner positioner) {
    View view = new View(res.coachmarkCss());
    return new Coachmark(view, renderer, new PositionController(positioner, view.getElement()));
  }
View Full Code Here

    setCaptureOutsideClickOnClose(false);
    setDelay(-1);

    // Position Controller
    positionController =
        new PositionController(new PositionController.PositionerBuilder().setVerticalAlign(
            VerticalAlign.BOTTOM).setHorizontalAlign(HorizontalAlign.LEFT)
            .buildAnchorPositioner(Elements.asJsElement(anchorElement)), getView().getElement());
  }
View Full Code Here

TOP

Related Classes of com.google.collide.client.ui.menu.PositionController

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.