cassis.gui.plot.util
public class MarkerManager extends java.lang.Object
| Constructor and Description |
|---|
MarkerManager(MarkerView markerView) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMarker(org.jfree.chart.plot.XYPlot plot,
double mousePressX,
double mouseReleaseX) |
void |
displaySelection(org.jfree.chart.plot.XYPlot plot,
boolean display)
Display or not the selection of the plot
|
InterValMarkerCassis |
getGaussianDomain()
Return an InterValMarkerCassis corresponding with user selection on line
fitting mode
|
InterValMarkerCassis |
getLastSelection()
get the last selection done of the plot
|
java.util.ArrayList<InterValMarkerCassis> |
getListMarkerDisjoint() |
void |
removeMarkerClicked(org.jfree.chart.plot.XYPlot plot,
double mouseX,
java.util.LinkedList<InterValMarkerCassis> listmarkToremeove,
java.util.Collection<org.jfree.chart.plot.Marker> markers) |
void |
resetAllSelection(org.jfree.chart.plot.XYPlot plot)
reselt all the selection of the plot
|
void |
resetLastSelection(org.jfree.chart.plot.XYPlot plot)
Reselt the last selection from the plot
|
public MarkerManager(MarkerView markerView)
markerView - public void removeMarkerClicked(org.jfree.chart.plot.XYPlot plot,
double mouseX,
java.util.LinkedList<InterValMarkerCassis> listmarkToremeove,
java.util.Collection<org.jfree.chart.plot.Marker> markers)
plot - mouseX - listmarkToremeove - markers - public void addMarker(org.jfree.chart.plot.XYPlot plot,
double mousePressX,
double mouseReleaseX)
plot - mousePressX - mouseReleaseX - add the marker in the plotpublic java.util.ArrayList<InterValMarkerCassis> getListMarkerDisjoint()
public InterValMarkerCassis getLastSelection()
public void resetLastSelection(org.jfree.chart.plot.XYPlot plot)
plot - public InterValMarkerCassis getGaussianDomain()
public void resetAllSelection(org.jfree.chart.plot.XYPlot plot)
plot - public void displaySelection(org.jfree.chart.plot.XYPlot plot,
boolean display)
plot - display -