当前位置: 首页>>代码示例>>Java>>正文


Java SerialUtilities.readShape方法代码示例

本文整理汇总了Java中org.jfree.io.SerialUtilities.readShape方法的典型用法代码示例。如果您正苦于以下问题:Java SerialUtilities.readShape方法的具体用法?Java SerialUtilities.readShape怎么用?Java SerialUtilities.readShape使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.jfree.io.SerialUtilities的用法示例。


在下文中一共展示了SerialUtilities.readShape方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.basePaint = SerialUtilities.readPaint(stream);
    this.outlinePaint = SerialUtilities.readPaint(stream);
    this.baseOutlinePaint = SerialUtilities.readPaint(stream);
    this.stroke = SerialUtilities.readStroke(stream);
    this.baseStroke = SerialUtilities.readStroke(stream);
    this.outlineStroke = SerialUtilities.readStroke(stream);
    this.baseOutlineStroke = SerialUtilities.readStroke(stream);
    this.shape = SerialUtilities.readShape(stream);
    this.baseShape = SerialUtilities.readShape(stream);
    this.itemLabelPaint = SerialUtilities.readPaint(stream);
    this.baseItemLabelPaint = SerialUtilities.readPaint(stream);
    
    // listeners are not restored automatically, but storage must be provided...
    this.listenerList = new EventListenerList();

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:29,代码来源:AbstractRenderer.java

示例2: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.basePaint = SerialUtilities.readPaint(stream);
    this.fillPaint = SerialUtilities.readPaint(stream);
    this.baseFillPaint = SerialUtilities.readPaint(stream);
    this.outlinePaint = SerialUtilities.readPaint(stream);
    this.baseOutlinePaint = SerialUtilities.readPaint(stream);
    this.stroke = SerialUtilities.readStroke(stream);
    this.baseStroke = SerialUtilities.readStroke(stream);
    this.outlineStroke = SerialUtilities.readStroke(stream);
    this.baseOutlineStroke = SerialUtilities.readStroke(stream);
    this.shape = SerialUtilities.readShape(stream);
    this.baseShape = SerialUtilities.readShape(stream);
    this.itemLabelPaint = SerialUtilities.readPaint(stream);
    this.baseItemLabelPaint = SerialUtilities.readPaint(stream);
    
    // listeners are not restored automatically, but storage must be 
    // provided...
    this.listenerList = new EventListenerList();

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:33,代码来源:AbstractRenderer.java

示例3: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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);
    }
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:27,代码来源:SpiderWebPlot.java

示例4: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * Restores a serialized object.
 *
 * @param stream  the input stream.
 *
 * @throws IOException if there is an I/O problem.
 * @throws ClassNotFoundException if there is a problem loading a class.
 */
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
    stream.defaultReadObject();

    int paintCount = stream.readInt();
    this.paintSequence = new Paint[paintCount];
    for (int i = 0; i < paintCount; i++) {
        this.paintSequence[i] = SerialUtilities.readPaint(stream);
    }

    int outlinePaintCount = stream.readInt();
    this.outlinePaintSequence = new Paint[outlinePaintCount];
    for (int i = 0; i < outlinePaintCount; i++) {
        this.outlinePaintSequence[i] = SerialUtilities.readPaint(stream);
    }

    int strokeCount = stream.readInt();
    this.strokeSequence = new Stroke[strokeCount];
    for (int i = 0; i < strokeCount; i++) {
        this.strokeSequence[i] = SerialUtilities.readStroke(stream);
    }

    int outlineStrokeCount = stream.readInt();
    this.outlineStrokeSequence = new Stroke[outlineStrokeCount];
    for (int i = 0; i < outlineStrokeCount; i++) {
        this.outlineStrokeSequence[i] = SerialUtilities.readStroke(stream);
    }

    int shapeCount = stream.readInt();
    this.shapeSequence = new Shape[shapeCount];
    for (int i = 0; i < shapeCount; i++) {
        this.shapeSequence[i] = SerialUtilities.readShape(stream);
    }

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:43,代码来源:DefaultDrawingSupplier.java

示例5: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.shape = SerialUtilities.readShape(stream);
    this.stroke = SerialUtilities.readStroke(stream);
    this.outlinePaint = SerialUtilities.readPaint(stream);
    this.fillPaint = SerialUtilities.readPaint(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:17,代码来源:XYShapeAnnotation.java

示例6: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.shape = SerialUtilities.readShape(stream);
    this.stroke = SerialUtilities.readStroke(stream);
    this.paint = SerialUtilities.readPaint(stream);
    this.outlineStroke = SerialUtilities.readStroke(stream);
    this.outlinePaint = SerialUtilities.readPaint(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:17,代码来源:LegendItem.java

示例7: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.upArrow = SerialUtilities.readShape(stream);
    this.downArrow = SerialUtilities.readShape(stream);
    this.leftArrow = SerialUtilities.readShape(stream);
    this.rightArrow = SerialUtilities.readShape(stream);

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:19,代码来源:ValueAxis.java

示例8: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.shape = SerialUtilities.readShape(stream);
    this.fillPaint = SerialUtilities.readPaint(stream);
    this.outlinePaint = SerialUtilities.readPaint(stream);
    this.outlineStroke = SerialUtilities.readStroke(stream);
    this.line = SerialUtilities.readShape(stream);
    this.linePaint = SerialUtilities.readPaint(stream);
    this.lineStroke = SerialUtilities.readStroke(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:21,代码来源:LegendGraphic.java

示例9: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.attributedLabel = SerialUtilities.readAttributedString(stream);
    this.shape = SerialUtilities.readShape(stream);
    this.fillPaint = SerialUtilities.readPaint(stream);
    this.outlineStroke = SerialUtilities.readStroke(stream);
    this.outlinePaint = SerialUtilities.readPaint(stream);
    this.line = SerialUtilities.readShape(stream);
    this.lineStroke = SerialUtilities.readStroke(stream);
    this.linePaint = SerialUtilities.readPaint(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:21,代码来源:LegendItem.java

示例10: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * Restores a serialized object.
 *
 * @param stream  the input stream.
 *
 * @throws IOException if there is an I/O problem.
 * @throws ClassNotFoundException if there is a problem loading a class.
 */
private void readObject(ObjectInputStream stream) 
    throws IOException, ClassNotFoundException {
    stream.defaultReadObject();

    int paintCount = stream.readInt();
    this.paintSequence = new Paint[paintCount];
    for (int i = 0; i < paintCount; i++) {
        this.paintSequence[i] = SerialUtilities.readPaint(stream);
    }

    int outlinePaintCount = stream.readInt();
    this.outlinePaintSequence = new Paint[outlinePaintCount];
    for (int i = 0; i < outlinePaintCount; i++) {
        this.outlinePaintSequence[i] = SerialUtilities.readPaint(stream);
    }

    int strokeCount = stream.readInt();
    this.strokeSequence = new Stroke[strokeCount];
    for (int i = 0; i < strokeCount; i++) {
        this.strokeSequence[i] = SerialUtilities.readStroke(stream);
    }

    int outlineStrokeCount = stream.readInt();
    this.outlineStrokeSequence = new Stroke[outlineStrokeCount];
    for (int i = 0; i < outlineStrokeCount; i++) {
        this.outlineStrokeSequence[i] = SerialUtilities.readStroke(stream);
    }

    int shapeCount = stream.readInt();
    this.shapeSequence = new Shape[shapeCount];
    for (int i = 0; i < shapeCount; i++) {
        this.shapeSequence[i] = SerialUtilities.readShape(stream);
    }

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:44,代码来源:DefaultDrawingSupplier.java

示例11: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.positivePaint = SerialUtilities.readPaint(stream);
    this.negativePaint = SerialUtilities.readPaint(stream);
    this.legendLine = SerialUtilities.readShape(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:16,代码来源:XYDifferenceRenderer.java

示例12: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.dataArea = (Rectangle2D) SerialUtilities.readShape(stream);
    this.plotArea = (Rectangle2D) SerialUtilities.readShape(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:15,代码来源:PlotRenderingInfo.java

示例13: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.area = SerialUtilities.readShape(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:13,代码来源:ChartEntity.java

示例14: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.dataArea = (Rectangle2D) SerialUtilities.readShape(stream);
    this.plotArea = (Rectangle2D) SerialUtilities.readShape(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:PlotRenderingInfo.java

示例15: readObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.chartArea = (Rectangle2D) SerialUtilities.readShape(stream);
    this.plotArea = (Rectangle2D) SerialUtilities.readShape(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:ChartRenderingInfo.java


注:本文中的org.jfree.io.SerialUtilities.readShape方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。