Java Code Examples for org.jfree.chart.util.SerialUtilities#readPaint()

The following examples show how to use org.jfree.chart.util.SerialUtilities#readPaint() . 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: SpiderWebPlot.java    From astor with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.legendItemShape = SerialUtilities.readShape(stream);
    this.seriesPaint = SerialUtilities.readPaint(stream);
    this.baseSeriesPaint = SerialUtilities.readPaint(stream);
    this.seriesOutlinePaint = SerialUtilities.readPaint(stream);
    this.baseSeriesOutlinePaint = SerialUtilities.readPaint(stream);
    this.seriesOutlineStroke = SerialUtilities.readStroke(stream);
    this.baseSeriesOutlineStroke = SerialUtilities.readStroke(stream);
    this.labelPaint = SerialUtilities.readPaint(stream);
    this.axisLinePaint = SerialUtilities.readPaint(stream);
    this.axisLineStroke = SerialUtilities.readStroke(stream);
    if (this.dataset != null) {
        this.dataset.addChangeListener(this);
    }
}
 
Example 2
Source File: StandardChartTheme.java    From astor with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @param stream  the input stream (<code>null</code> 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.titlePaint = SerialUtilities.readPaint(stream);
    this.subtitlePaint = SerialUtilities.readPaint(stream);
    this.chartBackgroundPaint = SerialUtilities.readPaint(stream);
    this.legendBackgroundPaint = SerialUtilities.readPaint(stream);
    this.legendItemPaint = SerialUtilities.readPaint(stream);
    this.plotBackgroundPaint = SerialUtilities.readPaint(stream);
    this.plotOutlinePaint = SerialUtilities.readPaint(stream);
    this.labelLinkPaint = SerialUtilities.readPaint(stream);
    this.baselinePaint = SerialUtilities.readPaint(stream);
    this.domainGridlinePaint = SerialUtilities.readPaint(stream);
    this.rangeGridlinePaint = SerialUtilities.readPaint(stream);
    this.crosshairPaint = SerialUtilities.readPaint(stream);
    this.axisLabelPaint = SerialUtilities.readPaint(stream);
    this.tickLabelPaint = SerialUtilities.readPaint(stream);
    this.itemLabelPaint = SerialUtilities.readPaint(stream);
    this.shadowPaint = SerialUtilities.readPaint(stream);
    this.thermometerPaint = SerialUtilities.readPaint(stream);
    this.wallPaint = SerialUtilities.readPaint(stream);
    this.errorIndicatorPaint = SerialUtilities.readPaint(stream);
    this.gridBandPaint = SerialUtilities.readPaint(stream);
    this.gridBandAlternatePaint = SerialUtilities.readPaint(stream);
}
 
Example 3
Source File: Chart_15_PiePlot_t.java    From coming with MIT License 6 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.baseSectionPaint = SerialUtilities.readPaint(stream);
    this.baseSectionOutlinePaint = SerialUtilities.readPaint(stream);
    this.baseSectionOutlineStroke = SerialUtilities.readStroke(stream);
    this.shadowPaint = SerialUtilities.readPaint(stream);
    this.labelPaint = SerialUtilities.readPaint(stream);
    this.labelBackgroundPaint = SerialUtilities.readPaint(stream);
    this.labelOutlinePaint = SerialUtilities.readPaint(stream);
    this.labelOutlineStroke = SerialUtilities.readStroke(stream);
    this.labelShadowPaint = SerialUtilities.readPaint(stream);
    this.labelLinkPaint = SerialUtilities.readPaint(stream);
    this.labelLinkStroke = SerialUtilities.readStroke(stream);
    this.legendItemShape = SerialUtilities.readShape(stream);
}
 
Example 4
Source File: CyclicNumberAxis.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.advanceLinePaint = SerialUtilities.readPaint(stream);
    this.advanceLineStroke = SerialUtilities.readStroke(stream);

}
 
Example 5
Source File: jKali_0032_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.labelPaint = SerialUtilities.readPaint(stream);
    this.tickLabelPaint = SerialUtilities.readPaint(stream);
    this.axisLineStroke = SerialUtilities.readStroke(stream);
    this.axisLinePaint = SerialUtilities.readPaint(stream);
    this.tickMarkStroke = SerialUtilities.readStroke(stream);
    this.tickMarkPaint = SerialUtilities.readPaint(stream);
    this.listenerList = new EventListenerList();
}
 
Example 6
Source File: Cardumen_007_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.labelPaint = SerialUtilities.readPaint(stream);
    this.tickLabelPaint = SerialUtilities.readPaint(stream);
    this.axisLineStroke = SerialUtilities.readStroke(stream);
    this.axisLinePaint = SerialUtilities.readPaint(stream);
    this.tickMarkStroke = SerialUtilities.readStroke(stream);
    this.tickMarkPaint = SerialUtilities.readPaint(stream);
    this.listenerList = new EventListenerList();
}
 
Example 7
Source File: Cardumen_00195_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.labelPaint = SerialUtilities.readPaint(stream);
    this.tickLabelPaint = SerialUtilities.readPaint(stream);
    this.axisLineStroke = SerialUtilities.readStroke(stream);
    this.axisLinePaint = SerialUtilities.readPaint(stream);
    this.tickMarkStroke = SerialUtilities.readStroke(stream);
    this.tickMarkPaint = SerialUtilities.readPaint(stream);
    this.listenerList = new EventListenerList();
}
 
Example 8
Source File: PeriodAxis.java    From astor with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.minorTickMarkStroke = SerialUtilities.readStroke(stream);
    this.minorTickMarkPaint = SerialUtilities.readPaint(stream);
}
 
Example 9
Source File: PeriodAxisLabelInfo.java    From astor with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.labelPaint = SerialUtilities.readPaint(stream);
    this.dividerStroke = SerialUtilities.readStroke(stream);
    this.dividerPaint = SerialUtilities.readPaint(stream);
}
 
Example 10
Source File: Arja_00148_s.java    From coming with MIT License 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.aggregatedItemsPaint = SerialUtilities.readPaint(stream);
    this.sectionPaints = new HashMap();
}
 
Example 11
Source File: MultiplePiePlot.java    From astor with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.aggregatedItemsPaint = SerialUtilities.readPaint(stream);
    this.legendItemShape = SerialUtilities.readShape(stream);
    this.sectionPaints = new HashMap();
}
 
Example 12
Source File: XYLineAnnotation.java    From astor with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
    this.stroke = SerialUtilities.readStroke(stream);
}
 
Example 13
Source File: DialTextAnnotation.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
}
 
Example 14
Source File: SubCategoryAxis.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.subLabelPaint = SerialUtilities.readPaint(stream);
}
 
Example 15
Source File: TextAnnotation.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
}
 
Example 16
Source File: BoxAndWhiskerRenderer.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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.artifactPaint = SerialUtilities.readPaint(stream);
}
 
Example 17
Source File: LookupPaintScale.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
}
 
Example 18
Source File: TextAnnotation.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
}
 
Example 19
Source File: DialBackground.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
}
 
Example 20
Source File: ColorBlock.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Provides serialization support.
 *
 * @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);
}