public class ValueChangedEvent extends java.util.EventObject implements WidgetEvent
Constructor and Description |
---|
ValueChangedEvent(Widget widget)
Create a ValueChangedEvent.
|
ValueChangedEvent(Widget widget,
boolean inProgress)
Create a ValueChangedEvent.
|
Modifier and Type | Method and Description |
---|---|
Widget |
getWidget()
Get the Widget which generated this event.
|
boolean |
isInProgress()
Determine whether this event represents a value change that is still in progress.
|
public ValueChangedEvent(Widget widget)
widget
- the Widget whose value has changedpublic ValueChangedEvent(Widget widget, boolean inProgress)
widget
- the Widget whose value has changedinProgress
- specifies whether this event represents a value change that is still in progresspublic Widget getWidget()
getWidget
in interface WidgetEvent
public boolean isInProgress()
Written by Peter Eastman.