public class PherogramModelChangeEvent extends javax.swing.event.ChangeEvent
PherogramComponentModel
should be inherited
from this class.Constructor and Description |
---|
PherogramModelChangeEvent(PherogramComponentModel source,
boolean moreEventsUpcoming)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
PherogramComponentModel |
getSource() |
boolean |
isMoreEventsUpcoming()
Indicates whether the currently terminated operation affected additional properties and is going to fire
more events for these right after this event.
|
public PherogramModelChangeEvent(PherogramComponentModel source, boolean moreEventsUpcoming)
source
- the model where the change occurredmoreEventsUpcoming
- Specify true
here if the currently terminated operation is going to
fire additional events for other affected properties or false
otherwise.public PherogramComponentModel getSource()
getSource
in class java.util.EventObject
public boolean isMoreEventsUpcoming()
Not that is not guaranteed that this flag is set to true
in every case where an additional event
is upcoming, although it is guaranteed that another event is coming, if this property is set to true
.
true
if more events resulting from the same operation are waiting to be fired or false
if the current operation resulted only in one element or the element is the last element in such a
sequence