Java Code Examples for org.jfree.chart.renderer.WaferMapRenderer#setPlot()

The following examples show how to use org.jfree.chart.renderer.WaferMapRenderer#setPlot() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WaferMapPlot.java    From ccu-historian with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 2
Source File: WaferMapPlot.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 3
Source File: WaferMapPlot.java    From SIMVA-SoS with Apache License 2.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 4
Source File: WaferMapPlot.java    From ECG-Viewer with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 5
Source File: WaferMapPlot.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 6
Source File: WaferMapPlot.java    From astor with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 7
Source File: WaferMapPlot.java    From openstock with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;

    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 8
Source File: WaferMapPlot.java    From astor with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;
    
    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 9
Source File: WaferMapPlot.java    From opensim-gui with Apache License 2.0 6 votes vote down vote up
/**
 * Creates a new plot.
 *
 * @param dataset  the dataset (<code>null</code> permitted).
 * @param renderer  the renderer (<code>null</code> permitted).
 */
public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer) {

    super();

    this.orientation = PlotOrientation.VERTICAL;
    
    this.dataset = dataset;
    if (dataset != null) {
        dataset.addChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
        renderer.addChangeListener(this);
    }

}
 
Example 10
Source File: WaferMapPlot.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}
 
Example 11
Source File: WaferMapPlot.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}
 
Example 12
Source File: WaferMapPlot.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}
 
Example 13
Source File: WaferMapPlot.java    From opensim-gui with Apache License 2.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the 
 * plot.  If the renderer is set to <code>null</code>, no chart will be 
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {

    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }

    notifyListeners(new PlotChangeEvent(this));

}
 
Example 14
Source File: WaferMapPlot.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the 
 * plot.  If the renderer is set to <code>null</code>, no chart will be 
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {

    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }

    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }

    fireChangeEvent();

}
 
Example 15
Source File: WaferMapPlot.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}
 
Example 16
Source File: WaferMapPlot.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}
 
Example 17
Source File: WaferMapPlot.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}
 
Example 18
Source File: WaferMapPlot.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Sets the item renderer, and notifies all listeners of a change to the
 * plot.  If the renderer is set to <code>null</code>, no chart will be
 * drawn.
 *
 * @param renderer  the new renderer (<code>null</code> permitted).
 */
public void setRenderer(WaferMapRenderer renderer) {
    if (this.renderer != null) {
        this.renderer.removeChangeListener(this);
    }
    this.renderer = renderer;
    if (renderer != null) {
        renderer.setPlot(this);
    }
    fireChangeEvent();
}