public class LassoLayerEvent extends EventObject
LassoLayer.LassoLayer.addLassoLayerListener(ILassoLayerListener),
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
LassoLayerEvent.ID
An enumerator with different identifiers that can be used to distinguish
between different types of events.
|
source| Constructor and Description |
|---|
LassoLayerEvent(LassoLayer layer,
LassoLayerEvent.ID id,
ITimeSpan span,
int startRow,
int endRow,
LassoLayer.LassoMode lassoMode)
Constructs a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
LassoLayer |
getDragLayer()
Returns the lasso layer where the lasso operation takes place.
|
int |
getEndRow()
Returns the last row contained in the lasso selection.
|
LassoLayerEvent.ID |
getId()
Returns the event ID.
|
LassoLayer.LassoMode |
getLassoMode()
Returns the lasso mode currently in use by the lasso layer.
|
int |
getStartRow()
Returns the first row contained in the lasso selection.
|
ITimeSpan |
getTimeSpan()
Returns the time span to which the dragged object has been moved (or
resized) by the user.
|
getSource, toStringpublic LassoLayerEvent(LassoLayer layer, LassoLayerEvent.ID id, ITimeSpan span, int startRow, int endRow, LassoLayer.LassoMode lassoMode)
layer - the drag layer where the event occuredid - the type of eventspan - the time span that will be applied to the dragged objectstartRow - the first row contained in the lassoendRow - the last row contained in the lassolassoMode - the type of lasso used by the userpublic LassoLayerEvent.ID getId()
public LassoLayer getDragLayer()
public ITimeSpan getTimeSpan()
public LassoLayer.LassoMode getLassoMode()
LassoLayer.setLassoMode(LassoMode)public int getStartRow()
public int getEndRow()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.