|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.PlotEvent
public class PlotEvent
Event sent to a PlotListener
when a plot has been completed.
This describes the state which led to the plot and any useful values
calculated as the plot was performed which would be difficult or
inefficient to determine without doing a plot.
Specialised subclasses may be defined to encapsulate additional such
values.
Constructor Summary | |
---|---|
PlotEvent(Component source,
PlotState plotState,
int nPotential,
int nIncluded,
int nVisible)
Constructor. |
Method Summary | |
---|---|
int |
getIncludedPointCount()
Returns the number of points included in subsets which were selected for plotting. |
PlotState |
getPlotState()
Returns the plot state defining the characteristics of the plot. |
int |
getPotentialPointCount()
Returns the number of points in the point set which were available for plotting. |
Component |
getSource()
Returns the component in which the plot was done. |
int |
getVisiblePointCount()
Returns the number of points which were actually plotted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlotEvent(Component source, PlotState plotState, int nPotential, int nIncluded, int nVisible)
source
- source of this eventplotState
- plot state reflected by this change eventnPotential
- total number of points availablenIncluded
- number of points included in marked subsetsnVisible
- number of points actually plotted
(may be less than nIncluded if some are out of bounds)Method Detail |
---|
public Component getSource()
public PlotState getPlotState()
public int getPotentialPointCount()
public int getIncludedPointCount()
public int getVisiblePointCount()
getIncludedPointCount()
if some have blank values or
fall outside the bounds of the chosen plotting surface.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |