Examples of BeforeShowEvent


Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   * {@link #show(com.google.gwt.dom.client.Element, com.sencha.gxt.core.client.Style.AnchorAlignment, int, int)}.
   *
   * @param widget the widget to use for alignment
   */
  public void show(Component widget) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    alignElem = widget.getElement();
    onShowPopup();
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   *
   * @param elem the element to align to
   * @param pos the position
   */
  public void show(Element elem, AnchorAlignment pos) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    alignElem = elem;
    alignPos = pos;
    onShowPopup();
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   * @param pos the position
   * @param offsetX X offset
   * @param offsetY Y offset
   */
  public void show(Element elem, AnchorAlignment pos, int offsetX, int offsetY) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    alignElem = elem;
    alignPos = pos;
    alignOffsetX = offsetX;
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   *          defaultAlign)
   * @param offsetX X offset
   * @param offsetY Y offset
   */
  public void show(Element elem, AnchorAlignment alignment, int offsetX, int offsetY) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }

    getElement().makePositionable(true);
    RootPanel.get().add(this);
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   *
   * @param x the x coordinate
   * @param y the y coordinate
   */
  public void showAt(int x, int y) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }

    getElement().makePositionable(true);
    RootPanel.get().add(this);
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   *
   * @param x the x coordinate
   * @param y the y coordinate
   */
  public void showAt(int x, int y) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    alignPoint = new Point(x, y);
    onShowPopup();
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

  /**
   * Displays the popup.
   */
  public void show() {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    Point p = new Point((int) Window.getClientWidth() / 2, (int) Window.getClientHeight() / 2);
    showAt(p.getX(), p.getY());
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

  /**
   * Displays the popup.
   */
  public void show() {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    Point p = new Point((int) Window.getClientWidth() / 2, (int) Window.getClientHeight() / 2);
    showAt(p.getX(), p.getY());
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   * {@link #show(Element, com.sencha.gxt.core.client.Style.AnchorAlignment, int[])}.
   *
   * @param widget the widget to use for alignment
   */
  public void show(Component widget) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    alignElem = widget.getElement();
    onShowPopup();
  }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.event.BeforeShowEvent

   *
   * @param elem the element to align to
   * @param pos the position
   */
  public void show(Element elem, AnchorAlignment pos) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    alignElem = elem;
    alignPos = pos;
    onShowPopup();
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.