List of usage examples for org.jfree.io SerialUtilities readPaint
public static Paint readPaint(final ObjectInputStream stream) throws IOException, ClassNotFoundException
Paint
object that has been serialised by the SerialUtilities#writePaint(Paint,ObjectOutputStream) method. From source file:edu.cuny.jfree.chart.annotations.CategoryIntervalAnnotation.java
private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();// w w w.j a v a 2 s . co m paint = SerialUtilities.readPaint(stream); stroke = SerialUtilities.readStroke(stream); }
From source file:net.sf.fspdfs.chartthemes.spring.ScaledDialPointer.java
/** * Provides serialization support./*from w ww. java2 s .c om*/ * * @param stream the input stream. * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.fillPaint = SerialUtilities.readPaint(stream); }
From source file:org.jfree.experimental.chart.plot.dial.DialBackground.java
/** * Provides serialization support.//from ww w . java 2 s . c om * * @param stream the input stream. * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.paint = SerialUtilities.readPaint(stream); }
From source file:edu.scripps.fl.curves.plot.MyXYErrorRenderer.java
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();/*from ww w .jav a 2 s . co m*/ errorPaint = SerialUtilities.readPaint(stream); errorStroke = SerialUtilities.readStroke(stream); }
From source file:org.jfree.experimental.chart.plot.dial.DialCap.java
/** * Provides serialization support.// w ww .j av a 2s. c om * * @param stream the input stream. * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.fillPaint = SerialUtilities.readPaint(stream); this.outlinePaint = SerialUtilities.readPaint(stream); this.outlineStroke = SerialUtilities.readStroke(stream); }
From source file:org.jfree.experimental.chart.plot.dial.SimpleDialFrame.java
/** * Provides serialization support./*from w w w.jav a2 s. c o m*/ * * @param stream the input stream. * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.backgroundPaint = SerialUtilities.readPaint(stream); this.foregroundPaint = SerialUtilities.readPaint(stream); this.stroke = SerialUtilities.readStroke(stream); }
From source file:net.sf.maltcms.chromaui.annotations.XYSelectableShapeAnnotation.java
/** * Provides serialization support.//from w ww . j a va 2 s. c o m * * @param stream the input stream. * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.s = SerialUtilities.readShape(stream); this.stroke = SerialUtilities.readStroke(stream); this.outline = SerialUtilities.readPaint(stream); this.highlight = SerialUtilities.readPaint(stream); this.active = stream.readBoolean(); }
From source file:vteaexploration.XYPolygonAnnotation.java
/** * Provides serialization support.// w ww .j a v a2 s . c o m * * @param stream the input stream (null not permitted). * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.stroke = SerialUtilities.readStroke(stream); this.outlinePaint = SerialUtilities.readPaint(stream); this.fillPaint = SerialUtilities.readPaint(stream); }
From source file:gov.nih.nci.caintegrator.application.geneexpression.BoxAndWhiskerCoinPlotRenderer.java
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();/*from w w w . j a va2s. co m*/ setArtifactPaint(SerialUtilities.readPaint(stream)); }
From source file:nl.strohalm.cyclos.utils.jfreeAsymmetric.AsymmetricStatisticalBarRenderer.java
/** * Provides serialization support.//from ww w.j a va 2 s. com * * @param stream the input stream. * * @throws IOException if there is an I/O error. * @throws ClassNotFoundException if there is a classpath problem. */ private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); errorIndicatorPaint = SerialUtilities.readPaint(stream); }