Examples of BeforeShowEvent


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

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

   * @param alignment the {@link XElement#alignTo} anchor position to use in
   *          aligning to the element (defaults to defaultAlign)
   * @param offsets the menu align offsets
   */
  public void show(Element elem, AnchorAlignment alignment, int[] offsets) {
    if (!fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }

    RootPanel.get().add(this);
    getElement().makePositionable(true);
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;
    }

    RootPanel.get().add(this);

View Full Code Here

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

   * Shows the window, rendering it first if necessary, or activates it and
   * brings it to front if hidden.
   */
  @Override
  public void show() {
    if (!hidden || !fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }
    // remove hide style, else layout fails
    removeStyleName(getHideMode().value());
    // addStyleName(HideMode.OFFSETS.value());
View Full Code Here

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

  /**
   * Shows the window, rendering it first if necessary, or activates it and brings it to front if hidden.
   */
  @Override
  public void show() {
    if (!hidden || !fireCancellableEvent(new BeforeShowEvent())) {
      return;
    }

    // remove hide style, else layout fails
    removeStyleName(getHideMode().value());
View Full Code Here

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

  /**
   * Show this widget.
   */
  public void show() {
    if (fireCancellableEvent(new BeforeShowEvent())) {
      hidden = false;
      onShow();
      notifyShow();
      fireEvent(new ShowEvent());
    }
View Full Code Here

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

  /**
   * Show this widget.
   */
  public void show() {
    if (fireCancellableEvent(new BeforeShowEvent())) {
      hidden = false;
      onShow();
      notifyShow();
      fireEvent(new ShowEvent());
    }
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.