public class VersionOperationModelEvent
extends java.util.EventObject
Constructor and Description |
---|
VersionOperationModelEvent(java.lang.Object source)
Construct a version operation model event with no further information.
|
VersionOperationModelEvent(java.lang.Object source,
int start,
int end)
Construct a version operation model event with a specified start and
end model index.
|
VersionOperationModelEvent(java.lang.Object source,
int start,
int end,
boolean changing)
Construct a version operation model event with a specified start and
end model index.
|
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Get the last model index affeted by the event.
|
int |
getStart()
Get the first model index affected by the event.
|
boolean |
isChanging()
Asks whether the model is still changing.
|
public VersionOperationModelEvent(java.lang.Object source)
source
- the source of the event.public VersionOperationModelEvent(java.lang.Object source, int start, int end)
source
- the source of the eventstart
- the start model index for the eventend
- the end model index for the eventpublic VersionOperationModelEvent(java.lang.Object source, int start, int end, boolean changing)
source
- the source of the eventstart
- the start model index for the eventend
- the end model index for the eventchanging
- whether the model is still changing.public int getStart()
public int getEnd()
public boolean isChanging()