Package com.sencha.gxt.widget.core.client.event

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


    header.addTool(tool);
  }

  @Override
  public void collapse() {
    if (!collapsed && !animating && fireCancellableEvent(new BeforeCollapseEvent())) {
      hideShadow();
      onCollapse();
    }
  }
View Full Code Here


    header.addTool(tool);
  }

  @Override
  public void collapse() {
    if (!collapsed && !animating && fireCancellableEvent(new BeforeCollapseEvent())) {
      hideShadow();
      onCollapse();
    }
  }
View Full Code Here

  @Override
  public void collapse() {
    assert collapsible : "Calling collapse on non-collapsible field set";
    if (collapsible) {
      if (fireCancellableEvent(new BeforeCollapseEvent())) {
        this.collapsed = true;
        appearance.onCollapse(getElement(), true);
        getCollapseButton().changeStyle(ToolButton.DOWN);
        fireEvent(new CollapseEvent());
      }
View Full Code Here

  @Override
  public void expand() {
    assert collapsible : "Calling expand on non-collapsible field set";
    if (collapsible) {
      if (fireCancellableEvent(new BeforeCollapseEvent())) {
        this.collapsed = false;
        appearance.onCollapse(getElement(), false);
        getCollapseButton().changeStyle(ToolButton.UP);
        fireEvent(new ExpandEvent());
      }
View Full Code Here

  @Override
  public void collapse() {
    assert collapsible : "Calling collapse on non-collapsible field set";
    if (collapsible) {
      if (fireCancellableEvent(new BeforeCollapseEvent())) {
        this.collapsed = true;
        appearance.onCollapse(getElement(), true);
        getCollapseButton().changeStyle(ToolButton.DOWN);
        fireEvent(new CollapseEvent());
      }
View Full Code Here

TOP

Related Classes of com.sencha.gxt.widget.core.client.event.BeforeCollapseEvent

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.