Package com.eteks.sweethome3d.model

Examples of com.eteks.sweethome3d.model.CollectionListener


  /**
   * Adds a furniture listener to home that enables / disables actions on furniture list change.
   */
  @SuppressWarnings("unchecked")
  private void addHomeItemsListener() {
    CollectionListener homeItemsListener =
        new CollectionListener() {
          public void collectionChanged(CollectionEvent ev) {
            if (ev.getType() == CollectionEvent.Type.ADD
                || ev.getType() == CollectionEvent.Type.DELETE) {
              enableSelectAllAction();
            }
View Full Code Here

TOP

Related Classes of com.eteks.sweethome3d.model.CollectionListener

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.