is the last sample included
in this selection.
champs et methodes pour la selection
les valeur de Debut et Fin sont en echantillons
et sont inclusives.
-
BOTH
-
-
end
-
-
LEFT
-
-
RIGHT
-
-
side
-
-
start
-
-
Selection()
-
-
copyItself(Selection)
- Makes a copy of this selection to Dest.
-
getLength()
- Returns length of this selection.
-
getPoint()
- Returns the point of the selection.
-
onePoint()
- Returns whether this selection defines one point.
-
setPoint(int)
- Sets this selection to one point.
BOTH
public static final int BOTH
LEFT
public static final int LEFT
RIGHT
public static final int RIGHT
start
public int start
end
public int end
side
public int side
Selection
public Selection()
onePoint
public boolean onePoint()
- Returns whether this selection defines one point.
This is the case, when you clicked once in a graph,
the point is marked as a green line.
The definition is: (start=end) => one point is selected.
S'il y a une selection et si Debut == Fin
alors un point est selectionne.
getPoint
public int getPoint()
- Returns the point of the selection.
If there is not defined a point but rather a range,
is returned.
retourne le point de la selection.
setPoint
public void setPoint(int pos)
- Sets this selection to one point.
etabli les coordonnees du point selectionne.
getLength
public int getLength()
- Returns length of this selection.
renvoie la taille de la selection.
- See Also:
- setPoint
copyItself
public void copyItself(Selection Dest)
- Makes a copy of this selection to Dest.
copie conforme de la selection.