Examples of BaseEvent


Examples of com.extjs.gxt.ui.client.event.BaseEvent

    draggable.addListener(Events.DragCancel, dragListener);

  

    if (resizeWidget.isAttached()) {
      BaseEvent be = createComponentEvent(null);
      be.type = Events.Attach;
      listener.handleEvent(be);
    }

    delay = new DelayedTask(new Listener<ComponentEvent>() {
View Full Code Here

Examples of com.extjs.gxt.ui.client.event.BaseEvent

    this.table = table;
    this.columnModel = this.table.getColumnModel();
  }

  public void onColumnClick(TableColumnUI columnUI) {
    BaseEvent be = null;

    if (table instanceof TreeTable) {
      TreeTableEvent tte = new TreeTableEvent((TreeTable) table);
      tte.columnIndex = columnUI.index;
      be = tte;
View Full Code Here

Examples of com.extjs.gxt.ui.client.event.BaseEvent

    endColumn.end = true;
    addColumn(endColumn);
  }

  public void onColumnClick(TableColumnUI columnUI, ComponentEvent e) {
    BaseEvent be = null;

    if (table instanceof TreeTable) {
      TreeTableEvent tte = new TreeTableEvent((TreeTable) table);
      tte.columnIndex = columnUI.index;
      tte.event = e.event;
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

   *
   * @param eventType the event type
   * @return <code>true</code> if any listeners cancel the event.
   */
  public boolean fireEvent(int eventType) {
    return fireEvent(eventType, new BaseEvent());
  }
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

   *
   * @param name the key name
   */
  public void clear(String name) {
    clearKey(name);
    BaseEvent be = new BaseEvent();
    be.name = name;
    fireEvent(Events.StateChange, be);
  }
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

   * @param value the value
   */
  public void set(String name, Object value) {
    String val = encodeValue(value);
    setValue(name, val);
    BaseEvent be = new BaseEvent();
    be.name = name;
    be.value = value;
    fireEvent(Events.StateChange, be);
  }
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

  public void deselectAll() {
    while (selItems.size() > 0) {
      TreeItem item = (TreeItem) selItems.remove(0);
      item.getUI().onSelectedChange(false);
      BaseEvent be = new BaseEvent();
      be.widget = tree;
      be.items = Util.createArray(selItems);
      fireEvent(Events.SelectionChange, be);
    }
  }
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

      return;
    }
    selItems.add(item);
    lastSelItem = item;
    item.getUI().onSelectedChange(true);
    BaseEvent be = new BaseEvent();
    be.items = Util.createArray(selItems);
    fireEvent(Events.SelectionChange);
  }
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

  public void deselect(TreeItem item) {
    if (selItems.contains(item)) {
      item.getUI().onSelectedChange(false);
      selItem.remove(item);
      BaseEvent be = new BaseEvent();
      be.widget = tree;
      be.items = Util.createArray(selItems);
      fireEvent(Events.SelectionChange, be);
    }
  }
View Full Code Here

Examples of net.mygwt.ui.client.event.BaseEvent

    int type = DOM.eventGetType(event);

    // hack to receive keyboard events in safari
    if (MyGWT.isSafari && type == Events.KeyDown) {
      if (sm.getSelected() != null) {
        BaseEvent be = new BaseEvent();
        be.event = event;
        sm.onKeyDown(be);
        return;
      }
    }
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.