Searched defs:oldValue (Results 1 - 25 of 36) sorted by relevance

12

/openjdk7/jdk/test/java/util/HashMap/
H A DSetValue.java35 static final String oldValue = "old"; field in class:SetValue
40 m.put(key, oldValue);
43 if (!returnVal.equals(oldValue))
/openjdk7/jdk/src/share/classes/java/beans/
H A DIndexedPropertyChangeEvent.java54 * @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 DPropertyChangeEvent.java55 * @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 DVetoableChangeSupport.java64 * 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...]
H A DPropertyChangeSupport.java64 * 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...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DConcurrentMap.java118 * 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/javax/management/modelmbean/
H A DModelMBeanNotificationBroadcaster.java128 * @param oldValue The original value for the Attribute
136 * attributeName oldValue.getName()
137 * attributeType oldValue's class
138 * attributeOldValue oldValue.getValue()
146 public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) argument
/openjdk7/jdk/src/share/classes/javax/management/
H A DAttributeChangeNotification.java47 * "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/VetoableChangeSupport/
H A DTestMethods.java67 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/javax/swing/plaf/basic/
H A DBasicComboBoxEditor.java43 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()});
H A DBasicDirectoryModel.java418 * @param oldValue the property's previous value
424 Object oldValue, Object newValue) {
427 oldValue, newValue);
439 boolean oldValue = this.busy;
442 if (changeSupport != null && busy != oldValue) {
423 firePropertyChange(String propertyName, Object oldValue, Object newValue) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DSystemTray.java136 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
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTestMethods.java72 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/test/java/util/Map/
H A DGet.java51 Boolean oldValue) {
52 if (oldValue != null) {
53 check("containsValue(oldValue)", m.containsValue(oldValue));
54 check("values.contains(oldValue)", m.values().contains(oldValue));
56 equal(m.put(key, value), oldValue);
49 put(Map<Character,Boolean> m, Character key, Boolean value, Boolean oldValue) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DAbstractAction.java181 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 DDefaultListCellRenderer.java254 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 DSwingWorker.java671 * @param oldValue the old value of the property
674 public final void firePropertyChange(String propertyName, Object oldValue, argument
677 oldValue, newValue);
H A DUIDefaults.java346 Object oldValue = (value == null) ? super.remove(key) : super.put(key, value);
348 firePropertyChange((String)key, oldValue, value);
350 return oldValue;
357 * The events oldValue and newValue will be <code>null</code> and its
833 * Support for reporting bound property changes. If oldValue and
840 * @param oldValue the old value of the property
844 protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument
846 changeSupport.firePropertyChange(propertyName, oldValue, newValue);
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableCellRenderer.java341 protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument
347 && oldValue != newValue
350 super.firePropertyChange(propertyName, oldValue, newValue);
359 public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { } argument
H A DTableColumn.java276 private void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument
278 changeSupport.firePropertyChange(propertyName, oldValue, newValue);
282 private void firePropertyChange(String propertyName, int oldValue, int newValue) { argument
283 if (oldValue != newValue) {
284 firePropertyChange(propertyName, Integer.valueOf(oldValue), Integer.valueOf(newValue));
288 private void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { argument
289 if (oldValue != newValue) {
290 firePropertyChange(propertyName, Boolean.valueOf(oldValue), Boolean.valueOf(newValue));
/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextChildSupport.java102 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/javax/swing/plaf/
H A DLayerUI.java581 * @param oldValue the property's previous value
585 Object oldValue, Object newValue) {
586 propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
584 firePropertyChange(String propertyName, Object oldValue, Object newValue) argument
/openjdk7/jdk/src/share/classes/javax/accessibility/
H A DAccessibleContext.java286 * For text insertion, the oldValue is null and the newValue
290 * For text deletion, the oldValue is an AccessibleTextSequence
293 * For text replacement, the oldValue is an AccessibleTextSequence
308 * reacquire the state of the subcomponents. The oldValue is
324 * For attribute insertion, the oldValue is null and the newValue
328 * For attribute deletion, the oldValue is an AccessibleAttributeSequence
331 * For attribute replacement, the oldValue is an AccessibleAttributeSequence
347 * The oldValue is the old component bounds and the newValue is
717 * Support for reporting bound property changes. If oldValue and
724 * @param oldValue Th
737 firePropertyChange(String propertyName, Object oldValue, Object newValue) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/management/relation/
H A DRelationNotification.java293 * @param oldValue old role value (List of ObjectName objects)
307 List<ObjectName> oldValue
313 if (!isValidBasic(notifType,sourceObj,id,typeName) || !isValidUpdate(notifType,name,newValue,oldValue)) {
322 oldRoleValue = safeGetObjectNameList(oldValue);
447 // -param oldValue old value (List of ObjectName objects)
485 List<ObjectName> newValue, List<ObjectName> oldValue) {
492 if (name == null || oldValue == null || newValue == null) {
484 isValidUpdate(String notifType, String name, List<ObjectName> newValue, List<ObjectName> oldValue) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXSystemTrayPeer.java155 final Object oldValue,
160 .firePropertyChange(target, propertyName, oldValue, newValue);
154 firePropertyChange(final String propertyName, final Object oldValue, final Object newValue) argument

Completed in 577 milliseconds

12