Examples of removePropertyChangeListener()


Examples of Framework.TextData.removePropertyChangeListener()

  };

  private void clearCache(JFrame frame) {
    TextData statusTextDataObject = (TextData)UIutils.getForm(frame).getClientProperty(cSTATUS_WIDGET);
      if (statusTextDataObject != null) {
      statusTextDataObject.removePropertyChangeListener("value", oldValueChangeListener);
      oldValueCache.remove(statusTextDataObject);
    }
  }

  /**The flag is used to ignore changes of old value cache when change is initiated internally*/
 
View Full Code Here

Examples of ae.sun.awt.AppContext.removePropertyChangeListener()

                            contents = sunClipboard.contents;
                            sunClipboard.contentsContext = null;
                            sunClipboard.owner = null;
                            sunClipboard.contents = null;
                            sunClipboard.clearNativeContext();
                            context.removePropertyChangeListener
                                (AppContext.DISPOSED_PROPERTY_NAME, sunClipboard);
                        } else {
                            return;
                        }
                    }
View Full Code Here

Examples of ca.nengo.ui.lib.objects.models.ModelObject.removePropertyChangeListener()

                        modelObject.addPropertyChangeListener(Property.REMOVED_FROM_WORLD,
                                new WorldObject.Listener() {
                            public void propertyChanged(Property event) {
                                scriptConsole.removeVariable(modelName);
                                modelObject.removePropertyChangeListener(Property.REMOVED_FROM_WORLD,
                                        this);
                            }
                        });

                    } catch (Exception e) {
View Full Code Here

Examples of ch.fork.AdHocRailway.domain.locomotives.Locomotive.removePropertyChangeListener()

            super("Cancel");
        }

        public void actionPerformed(ActionEvent e) {
            Locomotive locomotive = presentationModel.getBean();
            locomotive.removePropertyChangeListener(LocomotiveConfig.this);
            okPressed = false;
            cancelPressed = true;
            LocomotiveConfig.this.setVisible(false);
        }
    }
View Full Code Here

Examples of ch.fork.AdHocRailway.domain.routes.Route.removePropertyChangeListener()

                routePersistence.addRoute(route);
            } else {
                routePersistence.updateRoute(route);
            }
            okPressed = true;
            route.removePropertyChangeListener(RouteConfig.this);
            RouteConfig.this.setVisible(false);

        }
    }
View Full Code Here

Examples of ch.fork.AdHocRailway.domain.turnouts.Turnout.removePropertyChangeListener()

                turnoutPersistence.addTurnout(turnout);
            } else {
                turnoutPersistence.updateTurnout(turnout);
            }
            okPressed = true;
            turnout.removePropertyChangeListener(TurnoutConfig.this);
            TurnoutConfig.this.setVisible(false);

        }
    }
View Full Code Here

Examples of com.eteks.sweethome3d.model.HomeEnvironment.removePropertyChangeListener()

   * Remove all listeners bound to home that updates 3D scene objects.
   */
  private void removeHomeListeners() {
    this.home.removePropertyChangeListener(Home.Property.CAMERA, this.homeCameraListener);
    HomeEnvironment homeEnvironment = this.home.getEnvironment();
    homeEnvironment.removePropertyChangeListener(HomeEnvironment.Property.SKY_COLOR, this.skyColorListener);
    homeEnvironment.removePropertyChangeListener(HomeEnvironment.Property.SKY_TEXTURE, this.skyColorListener);
    homeEnvironment.removePropertyChangeListener(HomeEnvironment.Property.GROUND_COLOR, this.groundColorAndTextureListener);
    homeEnvironment.removePropertyChangeListener(HomeEnvironment.Property.GROUND_TEXTURE, this.groundColorAndTextureListener);
    homeEnvironment.removePropertyChangeListener(HomeEnvironment.Property.LIGHT_COLOR, this.lightColorListener);
    homeEnvironment.removePropertyChangeListener(HomeEnvironment.Property.WALLS_ALPHA, this.wallsAlphaListener);
View Full Code Here

Examples of com.eteks.sweethome3d.model.HomePieceOfFurniture.removePropertyChangeListener()

              addObject(group, piece, true, false);
              piece.addPropertyChangeListener(furnitureChangeListener);
              break;
            case DELETE :
              deleteObject(piece);
              piece.removePropertyChangeListener(furnitureChangeListener);
              break;
          }
          // If piece is or contains a door or a window, update walls that intersect with piece
          if (containsDoorsAndWindows(piece)) {
            updateObjects(home.getWalls());
View Full Code Here

Examples of com.eteks.sweethome3d.model.Room.removePropertyChangeListener()

              addObject(group, room, ev.getIndex(), true, false);
              room.addPropertyChangeListener(roomChangeListener);
              break;
            case DELETE :
              deleteObject(room);
              room.removePropertyChangeListener(roomChangeListener);
              break;
          }
          updateObjects(home.getRooms());
          groundColorAndTextureListener.propertyChange(null);
        }
View Full Code Here

Examples of com.eteks.sweethome3d.model.UserPreferences.removePropertyChangeListener()

      public void propertyChange(PropertyChangeEvent ev) {
        // If furniture table column model was garbage collected, remove this listener from preferences
        FurnitureLibraryTableColumnModel furnitureTableColumnModel = this.furnitureTableColumnModel.get();
        UserPreferences preferences = (UserPreferences)ev.getSource();
        if (furnitureTableColumnModel == null) {
          preferences.removePropertyChangeListener(UserPreferences.Property.LANGUAGE, this);
        } else {         
          // Change column name and renderer from current locale
          for (int i = 0; i < furnitureTableColumnModel.getColumnCount(); i++) {
            TableColumn tableColumn = furnitureTableColumnModel.getColumn(i);
            Object columnIdentifier = tableColumn.getIdentifier();
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.