public class IndexedPropertyChangeEvent extends PropertyChangeEvent
PropertyChangeEvent
扩展而包含的属性,具有指数变化。
如果他们的真值不为人所知,则可以为旧值和新值提供空值。
事件源可以发送一个空对象作为名称来表示,如果它的属性改变了,任意一组。在这种情况下,旧的和新的值也应该是空的。
source
Constructor and Description |
---|
IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index)
构建了一种新的
IndexedPropertyChangeEvent 对象。
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
获取更改的属性的索引。
|
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId, toString
getSource
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.