public class TLcdVVCursorChangeEvent extends EventObject
TLcdVVJPanel
when its cursor's position has
changed.source
Constructor and Description |
---|
TLcdVVCursorChangeEvent(Object aSource,
ILcdPoint aLeftPoint,
ILcdPoint aRightPoint,
double aPercentage)
Deprecated.
Use the constructor with the left index instead.
|
TLcdVVCursorChangeEvent(Object aSource,
ILcdPoint aLeftPoint,
ILcdPoint aRightPoint,
double aPercentage,
int aLeftPointIndex)
Creates a new event signalling a change in the cursor's position.
|
Modifier and Type | Method and Description |
---|---|
ILcdPoint |
getLeftPoint() |
int |
getLeftPointIndex() |
double |
getPercentage() |
ILcdPoint |
getRightPoint() |
String |
toString() |
getSource
public TLcdVVCursorChangeEvent(Object aSource, ILcdPoint aLeftPoint, ILcdPoint aRightPoint, double aPercentage)
aSource
- the source from which the event originatesaLeftPoint
- the point to the left of the cursoraRightPoint
- the point to the right of the cursoraPercentage
- the relative distance between the two points ( 0 until 1 )public TLcdVVCursorChangeEvent(Object aSource, ILcdPoint aLeftPoint, ILcdPoint aRightPoint, double aPercentage, int aLeftPointIndex)
aSource
- the source from which the event originatesaLeftPoint
- the point to the left of the cursoraRightPoint
- the point to the right of the cursoraPercentage
- the relative distance between the two points ( 0 until 1 )aLeftPointIndex
- the main profile index of the point left of the cursorpublic ILcdPoint getLeftPoint()
ILcdPoint
that is located at the left of the
vertical cursor.public ILcdPoint getRightPoint()
ILcdPoint
that is located at the right of the
vertical cursor.public double getPercentage()
public int getLeftPointIndex()
public String toString()
toString
in class EventObject