1 16 package org.apache.cocoon.woody.event; 17 18 import org.apache.cocoon.woody.formmodel.Widget; 19 20 26 public class ValueChangedEvent extends WidgetEvent { 27 28 private Object oldValue; 29 private Object newValue; 30 31 public ValueChangedEvent(Widget source, Object oldValue, Object newValue) { 32 super(source); 33 this.oldValue = oldValue; 34 this.newValue = newValue; 35 } 36 37 public Object getOldValue() { 38 return this.oldValue; 39 } 40 41 public Object getNewValue() { 42 return this.newValue; 43 } 44 45 } 46 | Popular Tags |