Пример #1
0
 public void propertyChange(java.beans.PropertyChangeEvent ev) {
   if (Node.PROP_DISPLAY_NAME.equals(ev.getPropertyName())) {
     updateTitles();
   }
   if (Node.PROP_ICON.equals(ev.getPropertyName())) {
     DataObject obj = getDataObject();
     if (obj.isValid()) {
       editor.setIcon(obj.getNodeDelegate().getIcon(java.beans.BeanInfo.ICON_COLOR_16x16));
     }
   }
 }
 public void propertyChange(java.beans.PropertyChangeEvent evt) {
   if (evt.getSource() == AddressBookSelectionUI.this.getanAddressDataSelectionModel()
       && (evt.getPropertyName().equals("selection"))) connPtoP2SetTarget();
   if (evt.getSource() == AddressBookSelectionUI.this.getentryUI()
       && (evt.getPropertyName().equals("model"))) connPtoP1SetSource();
 };