Java Code Examples for org.jfree.io.SerialUtilities#writeShape()

The following examples show how to use org.jfree.io.SerialUtilities#writeShape() . 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: LegendItem.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream (<code>null</code> not permitted).
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeAttributedString(this.attributedLabel, stream);
    SerialUtilities.writeShape(this.shape, stream);
    SerialUtilities.writePaint(this.fillPaint, stream);
    SerialUtilities.writeStroke(this.outlineStroke, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    SerialUtilities.writeShape(this.line, stream);
    SerialUtilities.writeStroke(this.lineStroke, stream);
    SerialUtilities.writePaint(this.linePaint, stream);
    SerialUtilities.writePaint(this.labelPaint, stream);
}
 
Example 2
Source File: SpiderWebPlot.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();

    SerialUtilities.writeShape(this.legendItemShape, stream);
    SerialUtilities.writePaint(this.seriesPaint, stream);
    SerialUtilities.writePaint(this.baseSeriesPaint, stream);
    SerialUtilities.writePaint(this.seriesOutlinePaint, stream);
    SerialUtilities.writePaint(this.baseSeriesOutlinePaint, stream);
    SerialUtilities.writeStroke(this.seriesOutlineStroke, stream);
    SerialUtilities.writeStroke(this.baseSeriesOutlineStroke, stream);
    SerialUtilities.writePaint(this.labelPaint, stream);
    SerialUtilities.writePaint(this.axisLinePaint, stream);
    SerialUtilities.writeStroke(this.axisLineStroke, stream);
}
 
Example 3
Source File: LegendGraphic.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.shape, stream);
    SerialUtilities.writePaint(this.fillPaint, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    SerialUtilities.writeStroke(this.outlineStroke, stream);
    SerialUtilities.writeShape(this.line, stream);
    SerialUtilities.writePaint(this.linePaint, stream);
    SerialUtilities.writeStroke(this.lineStroke, stream);
}
 
Example 4
Source File: XYShapeAnnotation.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.shape, stream);
    SerialUtilities.writeStroke(this.stroke, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    SerialUtilities.writePaint(this.fillPaint, stream);
}
 
Example 5
Source File: XYDifferenceRenderer.java    From buffer_bci with GNU General Public License v3.0 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writePaint(this.positivePaint, stream);
    SerialUtilities.writePaint(this.negativePaint, stream);
    SerialUtilities.writeShape(this.legendLine, stream);
}
 
Example 6
Source File: XYDifferenceRenderer.java    From SIMVA-SoS with Apache License 2.0 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writePaint(this.positivePaint, stream);
    SerialUtilities.writePaint(this.negativePaint, stream);
    SerialUtilities.writeShape(this.legendLine, stream);
}
 
Example 7
Source File: DefaultPolarItemRenderer.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendLine, stream);
    SerialUtilities.writeComposite(this.fillComposite, stream);
}
 
Example 8
Source File: DefaultPolarItemRenderer.java    From SIMVA-SoS with Apache License 2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendLine, stream);
    SerialUtilities.writeComposite(this.fillComposite, stream);
}
 
Example 9
Source File: DefaultPolarItemRenderer.java    From openstock with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendLine, stream);
    SerialUtilities.writeComposite(this.fillComposite, stream);
}
 
Example 10
Source File: PlotEntity.java    From ccu-historian with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(getArea(), stream);
 }
 
Example 11
Source File: ChartEntity.java    From ccu-historian with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.area, stream);
 }
 
Example 12
Source File: PlotEntity.java    From SIMVA-SoS with Apache License 2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(getArea(), stream);
 }
 
Example 13
Source File: XYBarRenderer.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendBar, stream);
}
 
Example 14
Source File: XYDotRenderer.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendShape, stream);
}
 
Example 15
Source File: StandardXYItemRenderer.java    From nmonvisualizer with Apache License 2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendLine, stream);
}
 
Example 16
Source File: DefaultPolarItemRenderer.java    From ccu-historian with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendLine, stream);
    SerialUtilities.writeComposite(this.fillComposite, stream);
}
 
Example 17
Source File: ChartEntity.java    From openstock with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.area, stream);
 }
 
Example 18
Source File: PlotRenderingInfo.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.dataArea, stream);
    SerialUtilities.writeShape(this.plotArea, stream);
}
 
Example 19
Source File: ChartRenderingInfo.java    From opensim-gui with Apache License 2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.chartArea, stream);
}
 
Example 20
Source File: XYAreaRenderer.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the output stream.
 *
 * @throws IOException  if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeShape(this.legendArea, stream);
}