Best code examples for Java 8 PropertyChangeEvent class (java.beans.PropertyChangeEvent)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 PropertyChangeEvent class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 PropertyChangeEvent examples from Open Source projects
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
155:	String propName = evt.getPropertyName(); 
-
158:	String oldOrientation = (String)evt.getOldValue(); 
159:	String newOrientation = (String)evt.getNewValue(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
This code example shows how to use the following methods: getNewValue, getPropertyName
61:	ClassUtils.getDescriptiveType(propertyChangeEvent.getNewValue()) + "'" + 
-
64:	(propertyChangeEvent.getPropertyName() != null ? 
65:	" for property '" + propertyChangeEvent.getPropertyName() + "'" : ""), 
-
67:	this.value = propertyChangeEvent.getNewValue(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: getPropertyName
42:	super(propertyChangeEvent, "Property '" + propertyChangeEvent.getPropertyName() + "' threw exception", cause); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
52:	changeSupport.firePropertyChange(evt.getPropertyName(), evt.getOldValue(), evt.getNewValue()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue
77:	return (this.propertyChangeEvent != null ? this.propertyChangeEvent.getNewValue() : null); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
40:	if (names.contains(evt.getPropertyName())) { 
41:	if(evt.getPropertyName().equals(PROPERTY_NAME_USE_ROI_MASK) && evt.getNewValue().equals(true) && 
42:	((PropertyContainer)evt.getSource()).getProperty(PROPERTY_NAME_ROI_MASK).getValue()==null){ 
-
45:	else if(evt.getPropertyName().equals(PROPERTY_NAME_NUM_BINS) && evt.getOldValue().equals(evt.getNewValue())){ 
-
48:	else if(evt.getPropertyName().equals(PROPERTY_NAME_AUTO_MIN_MAX) && evt.getNewValue().equals(false)){ 
-
51:	else if(evt.getPropertyName().equals(PROPERTY_NAME_MIN) && (evt.getOldValue().equals(evt.getNewValue()) || 
52:	((PropertyContainer)evt.getSource()).getProperty(PROPERTY_NAME_AUTO_MIN_MAX).getValue().equals(true))){ 
-
55:	else if(evt.getPropertyName().equals(PROPERTY_NAME_MAX) && (evt.getOldValue().equals(evt.getNewValue()) || 
56:	((PropertyContainer)evt.getSource()).getProperty(PROPERTY_NAME_AUTO_MIN_MAX).getValue().equals(true))){ 
-
59:	else if(evt.getPropertyName().equals(PROPERTY_NAME_X_BAND) && 
60:	((PropertyContainer)evt.getSource()).getProperty(PROPERTY_NAME_Y_BAND).getValue()==null){ 
-
63:	else if(evt.getPropertyName().equals(PROPERTY_NAME_Y_BAND) && 
64:	((PropertyContainer)evt.getSource()).getProperty(PROPERTY_NAME_X_BAND).getValue()==null){ 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropagationId, getPropertyName, getSource
24:	this(propertyChangeEvent.getSource(), 
25:	propertyChangeEvent.getPropertyName(), 
26:	(V)propertyChangeEvent.getOldValue(), 
27:	(V)propertyChangeEvent.getNewValue()); 
28:	setPropagationId(propertyChangeEvent.getPropagationId()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
100:	PropertyChangeEvent event = new PropertyChangeEvent(src, "myPropName", 
-
102:	assertNull(event.getPropagationId()); 
-
105:	event.setPropagationId(pid); 
-
107:	assertSame(src, event.getSource()); 
108:	assertEquals("myPropName", event.getPropertyName()); 
109:	assertSame(oldValue, event.getOldValue()); 
110:	assertSame(newValue, event.getNewValue()); 
111:	assertSame(pid, event.getPropagationId()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue
56:	final ReportRenderContext oldContext = (ReportRenderContext) evt.getOldValue(); 
57:	final ReportRenderContext activeContext = (ReportRenderContext) evt.getNewValue(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
226:	if (e.getSource() == getEditor() && e.getPropertyName().equals( 
-
228:	Document oldDoc = (Document) e.getOldValue(); 
229:	Document newDoc = (Document) e.getNewValue(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
108:	evt = new PropertyChangeEventJAI(evt.getSource(), 
109:	evt.getPropertyName(), 
110:	evt.getOldValue(), 
111:	evt.getNewValue()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
128:	Object value = event.getNewValue(); 
129:	if (value.equals(event.getOldValue())) { 
-
132:	if (!this.name.equals(event.getPropertyName())) { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
100:	PropertyChangeEvent event = new PropertyChangeEvent(src, "myPropName", 
-
102:	assertNull(event.getPropagationId()); 
-
105:	event.setPropagationId(pid); 
-
107:	assertSame(src, event.getSource()); 
108:	assertEquals("myPropName", event.getPropertyName()); 
109:	assertSame(oldValue, event.getOldValue()); 
110:	assertSame(newValue, event.getNewValue()); 
111:	assertSame(pid, event.getPropagationId()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
63:	if (evt.getPropertyName().equals("enabled")) { 
64:	setEnabled(evt.getNewValue().equals(Boolean.TRUE)); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
175:	if (evt.getPropertyName().equals("enabled")) { 
176:	boolean enabled = (Boolean)evt.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
440:	Object source = event.getSource(); 
-
446:	processGlobalResourcesChange(event.getPropertyName(), 
447:	event.getOldValue(), 
448:	event.getNewValue()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getPropertyName
63:	String name = e.getPropertyName(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
185:	w.print(event.getPropertyName()); 
-
187:	w.print(event.getOldValue()); 
-
189:	w.print(event.getNewValue()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
221:	String name = evt.getPropertyName(); 
-
226:	firePropertyChange(name, evt.getOldValue(), evt.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
94:	if (evt.getPropertyName().equals("dividerLocation")) { 
95:	if (evt.getSource() instanceof JSplitPane) { 
96:	JSplitPane sp = (JSplitPane) evt.getSource(); 
-
102:	if ("rfbEventList".equals(evt.getPropertyName())) { 
103:	events = (List) evt.getNewValue(); 
104:	model.refresh(events, ((Long) evt.getOldValue()).longValue()); 
-
107:	pnlPaths.propertyChange(evt); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPropertyName, getSource
45:	.append("source", event.getSource().getClass().getName()) 
46:	.append("property", event.getPropertyName()) 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPropertyName
275:	if (evt.getPropertyName().equals(SklControlBox.PROPERTY_TARGET)){ 
-
278:	super.propertyChange(evt); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
106:	String propertyname = evt.getPropertyName(); 
-
108:	File[] filear = (File[]) evt.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
19:	EntityObject source = (EntityObject) evt.getSource(); 
20:	Field field = source.getEntityDescriptor().getField(evt.getPropertyName()); 
21:	ChangeSetDelta<EntityObject> delta = new EntityObjectChangeSetDeltaImpl(source, field, evt.getOldValue(), evt.getNewValue()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
46:	if (PreviewPane.PAGINATED_PROPERTY.equals(evt.getPropertyName()) == false) 
-
51:	actionPlugin.setEnabled(Boolean.TRUE.equals(evt.getNewValue())); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue
508:	Object oldValue = evt.getOldValue(); 
509:	Object newValue = evt.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
151:	assertEquals("description", propertyChangeEvent.getPropertyName()); 
152:	assertEquals("log", propertyChangeEvent.getOldValue()); 
153:	assertEquals("updated log", propertyChangeEvent.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getPropertyName
200:	System.out.println("* propertyChange(event) event is " + event.getPropertyName()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
25:	e.getSource(), 
26:	e.getPropertyName(), 
27:	e.getOldValue(), 
28:	e.getNewValue(), 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
189:	if (evt.getPropertyName().equals("editable")) { 
190:	if (evt.getNewValue().equals(true)) { 
-
195:	} else if (evt.getPropertyName().equals("editor")) { 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
51:	Notification notification = new Notification(evt.getPropertyName(), mbeanObjectName, sequenceNr++, System.currentTimeMillis(), evt.getNewValue().toString()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
99:	changeSupport.firePropertyChange(evt.getPropertyName(), evt.getOldValue(), evt.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
179:	if (UI_CHANGE_EVENT.equals(evt.getPropertyName()) 
180:	&& evt.getOldValue() != evt.getNewValue()) { 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName, getSource
79:	expectedObject = expected.getSource(); 
-
88:	expectedObject = expected.getPropertyName(); 
-
97:	expectedObject = expected.getOldValue(); 
-
106:	expectedObject = expected.getNewValue(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
43:	if (PreviewPane.PAGINATING_PROPERTY.equals(evt.getPropertyName()) == false) 
-
47:	DefaultReportController.this.setEnabled(Boolean.FALSE.equals(evt.getNewValue())); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
151:	String propName = evt.getPropertyName(); 
152:	Object val = evt.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
9:	System.out.println("Changed property: " + evt.getPropertyName() 
10:	+ " old:" + evt.getOldValue() + " new: " + evt.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
175:	if ("enabled".equals(evt.getPropertyName())) { 
176:	boolean enabled = (Boolean)evt.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
9:	System.out.println("Name      = " + evt.getPropertyName()); 
10:	System.out.println("Old Value = " + evt.getOldValue()); 
11:	System.out.println("New Value = " + evt.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
272:	String name = evt.getPropertyName(); 
-
274:	currentValue = (Double) evt.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
29:	evt.getPropertyName() + "' that changed it's value from '" + 
30:	evt.getOldValue() + "' to '" + 
31:	evt.getNewValue() + "'"); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
119:	if (evt.getPropertyName().equals(AbstractHttpRequestInterface.RESPONSE_PROPERTY) && !updatingRequest) { 
-
121:	setEditorContent(((HttpResponse) evt.getNewValue())); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
21:	System.out.println("Property Changed for ::"+evt.getPropertyName()); 
22:	System.out.println("Old value :: Property Changed for ::"+evt.getOldValue()); 
23:	System.out.println("New Value :: Property Changed for ::"+evt.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
194:	String prop = e.getPropertyName(); 
-
202:	File f = (File) e.getNewValue(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getOldValue, getPropertyName
25:	return event.getPropertyName().equals(propertyName) 
26:	&& oldValue.matches(event.getOldValue()) 
27:	&& newValue.matches(event.getNewValue()); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: getNewValue, getPropertyName
132:	if (evt.getPropertyName().equals("messageExchange") && !updatingRequest) { 
133:	setEditorContent(((MessageExchange) evt.getNewValue())); 
Full Snippet Info
6
CodeRank
See Code Examples for Java 8 PropertyChangeEvent Methods: