| /openjdk7/jdk/test/java/util/HashMap/ |
| H A D | SetValue.java | 35 static final String oldValue = "old"; field in class:SetValue 40 m.put(key, oldValue); 43 if (!returnVal.equals(oldValue))
|
| H A D | OverrideIsEmpty.java | 72 public Object apply(Object key, Object oldValue) { 73 return oldValue;
|
| /openjdk7/jdk/src/share/classes/java/beans/ |
| H A D | IndexedPropertyChangeEvent.java | 54 * @param oldValue The old value of the property. 59 Object oldValue, Object newValue, 61 super (source, propertyName, oldValue, newValue); 58 IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index) argument
|
| H A D | PropertyChangeSupport.java | 64 * String oldValue = this.value; 66 * this.pcs.firePropertyChange("value", oldValue, newValue); 258 * @param oldValue the old value of the property 261 public void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument 262 if (oldValue == null || newValue == null || !oldValue.equals(newValue)) { 263 firePropertyChange(new PropertyChangeEvent(this.source, propertyName, oldValue, newValue)); 278 * @param oldValue the old value of the property 281 public void firePropertyChange(String propertyName, int oldValue, int newValue) { argument 282 if (oldValue ! 301 firePropertyChange(String propertyName, boolean oldValue, boolean newValue) argument 356 fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue) argument 378 fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue) argument 400 fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue) argument [all...] |
| H A D | PropertyChangeEvent.java | 55 * @param oldValue The old value of the property. 59 Object oldValue, Object newValue) { 63 this.oldValue = oldValue; 93 return oldValue; 135 private Object oldValue; field in class:PropertyChangeEvent 155 sb.append("; oldValue=").append(getOldValue()); 58 PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue) argument
|
| H A D | VetoableChangeSupport.java | 64 * String oldValue = this.value; 65 * this.vcs.fireVetoableChange("value", oldValue, newValue); 264 * @param oldValue the old value of the property 268 public void fireVetoableChange(String propertyName, Object oldValue, Object newValue) argument 270 if (oldValue == null || newValue == null || !oldValue.equals(newValue)) { 271 fireVetoableChange(new PropertyChangeEvent(this.source, propertyName, oldValue, newValue)); 292 * @param oldValue the old value of the property 296 public void fireVetoableChange(String propertyName, int oldValue, int newValue) argument 298 if (oldValue ! 324 fireVetoableChange(String propertyName, boolean oldValue, boolean newValue) argument [all...] |
| /openjdk7/jdk/src/share/classes/javax/management/ |
| H A D | AttributeChangeNotification.java | 47 * "myString", "String", oldValue, newValue); 77 private Object oldValue = null; field in class:AttributeChangeNotification 96 * @param oldValue An object representing value of the attribute before the change. 100 String attributeName, String attributeType, Object oldValue, Object newValue) { 105 this.oldValue = oldValue; 134 return oldValue; 99 AttributeChangeNotification(Object source, long sequenceNumber, long timeStamp, String msg, String attributeName, String attributeType, Object oldValue, Object newValue) argument
|
| /openjdk7/jdk/test/java/beans/PropertyChangeSupport/ |
| H A D | TestMethods.java | 72 public void firePropertyChange(String property, Object oldValue, Object newValue) { argument 77 super.firePropertyChange(property, oldValue, newValue); 81 public void firePropertyChange(String property, int oldValue, int newValue) { argument 86 super.firePropertyChange(property, oldValue, newValue); 90 public void firePropertyChange(String property, boolean oldValue, boolean newValue) { argument 95 super.firePropertyChange(property, oldValue, newValue); 108 public void fireIndexedPropertyChange(String property, int index, Object oldValue, Object newValue) { argument 113 super.fireIndexedPropertyChange(property, index, oldValue, newValue); 117 public void fireIndexedPropertyChange(String property, int index, int oldValue, int newValue) { argument 122 super.fireIndexedPropertyChange(property, index, oldValue, newValu 126 fireIndexedPropertyChange(String property, int index, boolean oldValue, boolean newValue) argument [all...] |
| /openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
| H A D | BasicComboBoxEditor.java | 43 private Object oldValue; field in class:BasicComboBoxEditor 76 oldValue = anObject; 89 if (oldValue != null && !(oldValue instanceof String)) { 92 if (newValue.equals(oldValue.toString())) { 93 return oldValue; 96 Class<?> cls = oldValue.getClass(); 99 newValue = method.invoke(oldValue, new Object[] { editor.getText()});
|
| /openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/ |
| H A D | StateChangeAction.java | 58 boolean oldValue = selected; 59 if(oldValue != newValue) 62 firePropertyChange("selected", Boolean.valueOf(oldValue), Boolean.valueOf(newValue));
|
| /openjdk7/jdk/src/share/classes/javax/swing/ |
| H A D | JSlider.java | 527 int oldValue = m.getValue(); 528 if (oldValue == n) { 536 Integer.valueOf(oldValue), 651 boolean oldValue = m.getValueIsAdjusting(); 654 if ((oldValue != b) && (accessibleContext != null)) { 657 ((oldValue) ? AccessibleState.BUSY : null), 732 int oldValue = this.orientation; 734 firePropertyChange("orientation", oldValue, orientation); 736 if ((oldValue != orientation) && (accessibleContext != null)) { 739 ((oldValue [all...] |
| H A D | AbstractAction.java | 181 Object oldValue = null; 195 oldValue = enabled; 202 oldValue = arrayTable.get(key); 211 firePropertyChange(key, oldValue, newValue); 232 boolean oldValue = this.enabled; 234 if (oldValue != newValue) { 237 Boolean.valueOf(oldValue), Boolean.valueOf(newValue)); 271 protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument 273 (oldValue != null && newValue != null && oldValue [all...] |
| H A D | DefaultListCellRenderer.java | 254 protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument 258 && oldValue != newValue 261 super.firePropertyChange(propertyName, oldValue, newValue); 271 public void firePropertyChange(String propertyName, byte oldValue, byte newValue) {} argument 279 public void firePropertyChange(String propertyName, char oldValue, char newValue) {} argument 287 public void firePropertyChange(String propertyName, short oldValue, short newValue) {} argument 295 public void firePropertyChange(String propertyName, int oldValue, int newValue) {} argument 303 public void firePropertyChange(String propertyName, long oldValue, long newValue) {} argument 311 public void firePropertyChange(String propertyName, float oldValue, float newValue) {} argument 319 public void firePropertyChange(String propertyName, double oldValue, doubl argument 327 firePropertyChange(String propertyName, boolean oldValue, boolean newValue) argument [all...] |
| H A D | JToolTip.java | 128 String oldValue = this.tipText; 130 firePropertyChange("tiptext", oldValue, tipText); 132 if (!Objects.equals(oldValue, tipText)) { 162 JComponent oldValue = this.component; 165 firePropertyChange("component", oldValue, c);
|
| H A D | AbstractButton.java | 304 String oldValue = this.text; 306 firePropertyChange(TEXT_CHANGED_PROPERTY, oldValue, text); 312 oldValue, text); 314 if (text == null || oldValue == null || !text.equals(oldValue)) { 338 boolean oldValue = isSelected(); 455 Icon oldValue = this.defaultIcon; 463 if (defaultIcon != oldValue && (disabledIcon instanceof UIResource)) { 467 firePropertyChange(ICON_CHANGED_PROPERTY, oldValue, defaultIcon); 471 oldValue, defaultIco 1173 clientPropertyChanged(Object key, Object oldValue, Object newValue) argument [all...] |
| H A D | JScrollBar.java | 273 int oldValue = this.orientation; 275 firePropertyChange("orientation", oldValue, orientation); 277 if ((oldValue != orientation) && (accessibleContext != null)) { 280 ((oldValue == VERTICAL) 285 if (orientation != oldValue) { 313 Integer oldValue = null; 317 oldValue = Integer.valueOf(model.getValue()); 329 oldValue, new Integer(model.getValue())); 371 int oldValue = this.unitIncrement; 373 firePropertyChange("unitIncrement", oldValue, unitIncremen [all...] |
| H A D | JProgressBar.java | 462 boolean oldValue = paintString; 464 firePropertyChange("stringPainted", oldValue, paintString); 465 if (paintString != oldValue) { 513 String oldValue = progressString; 515 firePropertyChange("string", oldValue, progressString); 516 if (progressString == null || oldValue == null || !progressString.equals(oldValue)) { 563 boolean oldValue = paintBorder; 565 firePropertyChange("borderPainted", oldValue, paintBorder); 566 if (paintBorder != oldValue) { [all...] |
| H A D | JLabel.java | 327 String oldValue = this.text; 329 firePropertyChange("text", oldValue, text); 342 if (text == null || oldValue == null || !text.equals(oldValue)) { 377 Icon oldValue = defaultIcon; 385 if ((defaultIcon != oldValue) && !disabledIconSet) { 389 firePropertyChange("icon", oldValue, defaultIcon); 391 if ((accessibleContext != null) && (oldValue != defaultIcon)) { 394 oldValue, defaultIcon); 401 if (defaultIcon != oldValue) { [all...] |
| H A D | JFileChooser.java | 481 File oldValue = selectedFile; 491 firePropertyChange(SELECTED_FILE_CHANGED_PROPERTY, oldValue, selectedFile); 515 File[] oldValue = this.selectedFiles; 524 firePropertyChange(SELECTED_FILES_CHANGED_PROPERTY, oldValue, selectedFiles); 559 File oldValue = currentDirectory; 581 firePropertyChange(DIRECTORY_CHANGED_PROPERTY, oldValue, currentDirectory); 592 File oldValue = getCurrentDirectory(); 593 setCurrentDirectory(getFileSystemView().getParentDirectory(oldValue)); 858 boolean oldValue = controlsShown; 860 firePropertyChange(CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY, oldValue, controlsShow [all...] |
| H A D | JCheckBox.java | 202 boolean oldValue = flat; 204 firePropertyChange(BORDER_PAINTED_FLAT_CHANGED_PROPERTY, oldValue, flat); 205 if (b != oldValue) {
|
| /openjdk7/jdk/test/java/beans/VetoableChangeSupport/ |
| H A D | TestMethods.java | 67 public void fireVetoableChange(String property, Object oldValue, Object newValue) throws PropertyVetoException { argument 72 super.fireVetoableChange(property, oldValue, newValue); 76 public void fireVetoableChange(String property, int oldValue, int newValue) throws PropertyVetoException { argument 81 super.fireVetoableChange(property, oldValue, newValue); 85 public void fireVetoableChange(String property, boolean oldValue, boolean newValue) throws PropertyVetoException { argument 90 super.fireVetoableChange(property, oldValue, newValue);
|
| /openjdk7/jdk/src/share/classes/java/beans/beancontext/ |
| H A D | BeanContextChildSupport.java | 102 BeanContext oldValue = beanContext; 109 new PropertyChangeEvent(beanContextChildPeer, "beanContext", oldValue, newValue) 115 oldValue, 131 oldValue, 250 * @param oldValue The old value of the property 253 public void firePropertyChange(String name, Object oldValue, Object newValue) { argument 254 pcSupport.firePropertyChange(name, oldValue, newValue); 268 * @param oldValue The old value of the property 274 public void fireVetoableChange(String name, Object oldValue, Object newValue) throws PropertyVetoException { argument 275 vcSupport.fireVetoableChange(name, oldValue, newValu [all...] |
| /openjdk7/jdk/src/share/classes/java/util/concurrent/ |
| H A D | ConcurrentMap.java | 118 * if (map.containsKey(key) && map.get(key).equals(oldValue)) { 125 * @param oldValue value expected to be associated with the specified key 137 boolean replace(K key, V oldValue, V newValue); argument
|
| /openjdk7/jdk/src/share/classes/com/sun/beans/editors/ |
| H A D | EnumEditor.java | 73 Object oldValue; 76 oldValue = this.value; 79 if ( ( value == null ) ? oldValue == null : value.equals( oldValue ) ) { 88 PropertyChangeEvent event = new PropertyChangeEvent( this, null, oldValue, value );
|
| /openjdk7/jdk/src/share/classes/java/awt/ |
| H A D | SystemTray.java | 136 Object oldValue, 138 tray.firePropertyChange(propertyName, oldValue, newValue); 463 * @param oldValue the property's previous value 467 Object oldValue, Object newValue) 469 if (oldValue != null && newValue != null && oldValue.equals(newValue)) { 472 getCurrentChangeSupport().firePropertyChange(propertyName, oldValue, newValue); 466 firePropertyChange(String propertyName, Object oldValue, Object newValue) argument
|