Package org.adempiere.webui.event
Class ValueChangeEvent
java.lang.Object
org.adempiere.webui.event.ValueChangeEvent
- Direct Known Subclasses:
TableValueChangeEvent
Value change event for a named property.
- Author:
- Ashley G Ramdass
-
Field Summary
-
Constructor Summary
ConstructorDescriptionValueChangeEvent
(Object source, String propertyName, Object oldValue, Object newValue) -
Method Summary
Modifier and TypeMethodDescriptionGet new valueGet old valueGet property nameGet event sourceboolean
Is initial edit that have not been completed yetvoid
setIsInitEdit
(boolean isInitEdit)
-
Field Details
-
source
The object on which the Event initially occurred.
-
-
Constructor Details
-
ValueChangeEvent
- Parameters:
source
-propertyName
-oldValue
-newValue
-
-
-
Method Details
-
getNewValue
Get new value- Returns:
- new value
-
getOldValue
Get old value- Returns:
- old/previous value
-
getPropertyName
Get property name- Returns:
- property name
-
getSource
Get event source- Returns:
- event source object
-
isInitEdit
public boolean isInitEdit()Is initial edit that have not been completed yet- Returns:
- indicate this event is by user start edit this field but not yet complete edit
-
setIsInitEdit
public void setIsInitEdit(boolean isInitEdit) - Parameters:
isInitEdit
- indicate this event is by user start edit this field but not yet complete edit
-