Example usage for org.jfree.io SerialUtilities writePaint

List of usage examples for org.jfree.io SerialUtilities writePaint

Introduction

In this page you can find the example usage for org.jfree.io SerialUtilities writePaint.

Prototype

public static void writePaint(final Paint paint, final ObjectOutputStream stream) throws IOException 

Source Link

Document

Serialises a Paint object.

Usage

From source file:edu.cuny.jfree.chart.annotations.CategoryIntervalAnnotation.java

private void writeObject(final ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();/*  w w  w  .  j a  va  2 s  . c o m*/
    SerialUtilities.writePaint(paint, stream);
    SerialUtilities.writeStroke(stroke, stream);
}

From source file:net.sf.fspdfs.chartthemes.spring.ScaledDialPointer.java

/**
 * Provides serialization support.//from   w w  w .  ja v a 2  s.  co  m
 *
 * @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.fillPaint, stream);
}

From source file:org.jfree.experimental.chart.plot.dial.DialBackground.java

/**
 * Provides serialization support./*from   w ww .j av  a2s. com*/
 *
 * @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.paint, stream);
}

From source file:edu.scripps.fl.curves.plot.MyXYErrorRenderer.java

private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();/*ww w .  j av a  2s . c  o m*/
    SerialUtilities.writePaint(errorPaint, stream);
    SerialUtilities.writeStroke(errorStroke, stream);
}

From source file:org.jfree.experimental.chart.plot.dial.DialCap.java

/**
 * Provides serialization support.//  w w w  . j av a2 s  . c  o  m
 *
 * @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.fillPaint, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    SerialUtilities.writeStroke(this.outlineStroke, stream);
}

From source file:org.jfree.experimental.chart.plot.dial.SimpleDialFrame.java

/**
 * Provides serialization support.//from  w  w  w  .  j a v  a2 s  .  co m
 *
 * @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.backgroundPaint, stream);
    SerialUtilities.writePaint(this.foregroundPaint, stream);
    SerialUtilities.writeStroke(this.stroke, stream);
}

From source file:net.sf.maltcms.chromaui.annotations.XYSelectableShapeAnnotation.java

/**
 * Provides serialization support./*from   w  w w  .jav  a  2s .  com*/
 *
 * @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.s, stream);
    SerialUtilities.writeStroke(this.stroke, stream);
    SerialUtilities.writePaint(this.outline, stream);
    SerialUtilities.writePaint(this.highlight, stream);
    stream.writeBoolean(this.active);
}

From source file:vteaexploration.XYPolygonAnnotation.java

/**
 * Provides serialization support./*from  www  . j  a va2 s  .c  om*/
 *
 * @param stream the output stream (null not permitted).
 *
 * @throws IOException if there is an I/O error.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writeStroke(this.stroke, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    SerialUtilities.writePaint(this.fillPaint, stream);
}

From source file:gov.nih.nci.caintegrator.application.geneexpression.BoxAndWhiskerCoinPlotRenderer.java

private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();//from   w  ww  . j  ava 2  s  . co m
    SerialUtilities.writePaint(this.getArtifactPaint(), stream);
}

From source file:nl.strohalm.cyclos.utils.jfreeAsymmetric.AsymmetricStatisticalBarRenderer.java

/**
 * Provides serialization support./* w w w . ja va  2s .  c  o  m*/
 * 
 * @param stream the output stream.
 * 
 * @throws IOException if there is an I/O error.
 */
private void writeObject(final ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();
    SerialUtilities.writePaint(errorIndicatorPaint, stream);
}