Examples of ListDataEvent


Examples of javax.swing.event.ListDataEvent

          (this, ListDataEvent.CONTENTS_CHANGED, event.getNewIndex(), event.getNewIndex()));
    }

    public void queryDataChanged(final QueryDialogModelEvent<T> event)
    {
      fireContentsChangedEvent(new ListDataEvent(this, ListDataEvent.CONTENTS_CHANGED, 0, getSize()));
    }
View Full Code Here

Examples of javax.swing.event.ListDataEvent

      fireContentsChangedEvent(new ListDataEvent(this, ListDataEvent.CONTENTS_CHANGED, 0, getSize()));
    }

    public void selectionChanged(final QueryDialogModelEvent<T> event)
    {
      fireContentsChangedEvent(new ListDataEvent(this, ListDataEvent.CONTENTS_CHANGED, -1, -1));
    }
View Full Code Here

Examples of nextapp.echo2.app.event.ListDataEvent

     *
     * @param index0 the index of the first changed item
     * @param index1 the index of the last changed item
     */
    protected void fireContentsChanged(int index0, int index1) {
        ListDataEvent e = new ListDataEvent(this, ListDataEvent.CONTENTS_CHANGED, index0, index1);

        EventListener[] listeners = listenerList.getListeners(ListDataListener.class);
        for (int index = 0; index < listeners.length; ++index) {
            ((ListDataListener) listeners[index]).contentsChanged(e);
        }
View Full Code Here

Examples of org.gwt.mosaic.ui.client.list.ListDataEvent

     */
    @Override
    protected void added(int index, int length) {
      assert length > 0; // enforced by ListBindingManager

      ListDataEvent e = new ListDataEvent(this,
          ListDataEvent.Type.INTERVAL_ADDED, index, index + length - 1);

      for (ListDataListener listener : listeners) {
        listener.intervalAdded(e);
      }
View Full Code Here

Examples of org.zkoss.zul.event.ListDataEvent

   * (thru {@link #addListDataListener}.
   *
   * <p>Note: you can invoke this method only in an event listener.
   */
  protected void fireEvent(int type, int index0, int index1) {
    final ListDataEvent evt = new ListDataEvent(this, type, index0, index1);
    for (Iterator it = _listeners.iterator(); it.hasNext();)
      ((ListDataListener)it.next()).onChange(evt);
  }
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.