ChartChangeEvent
org.jfree.chart.event

Class ChartChangeEvent

    • Constructor Detail

      • ChartChangeEvent

        public ChartChangeEvent(Object source)
        Creates a new chart change event.
        Parameters:
        source - the source of the event (could be the chart, a title, an axis etc.)
      • ChartChangeEvent

        public ChartChangeEvent(Object source,                JFreeChart chart)
        Creates a new chart change event.
        Parameters:
        source - the source of the event (could be the chart, a title, an axis etc.)
        chart - the chart that generated the event.
      • ChartChangeEvent

        public ChartChangeEvent(Object source,                JFreeChart chart,                ChartChangeEventType type)
        Creates a new chart change event.
        Parameters:
        source - the source of the event (could be the chart, a title, an axis etc.)
        chart - the chart that generated the event.
        type - the type of event.
    • Method Detail

      • getChart

        public JFreeChart getChart()
        Returns the chart that generated the change event.
        Returns:
        The chart that generated the change event.
      • setChart

        public void setChart(JFreeChart chart)
        Sets the chart that generated the change event.
        Parameters:
        chart - the chart that generated the event.
      • setType

        public void setType(ChartChangeEventType type)
        Sets the event type.
        Parameters:
        type - the event type.

SCaVis 1.7 © jWork.org