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


Java SerialUtilities.writeShape方法代码示例

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


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

示例1: writeObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.paint, stream);
    SerialUtilities.writePaint(this.basePaint, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    SerialUtilities.writePaint(this.baseOutlinePaint, stream);
    SerialUtilities.writeStroke(this.stroke, stream);
    SerialUtilities.writeStroke(this.baseStroke, stream);
    SerialUtilities.writeStroke(this.outlineStroke, stream);
    SerialUtilities.writeStroke(this.baseOutlineStroke, stream);
    SerialUtilities.writeShape(this.shape, stream);
    SerialUtilities.writeShape(this.baseShape, stream);
    SerialUtilities.writePaint(this.itemLabelPaint, stream);
    SerialUtilities.writePaint(this.baseItemLabelPaint, stream);

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

示例2: writeObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * 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.sectionPaint, stream);
    SerialUtilities.writePaint(this.baseSectionPaint, stream);
    SerialUtilities.writePaint(this.sectionOutlinePaint, stream);
    SerialUtilities.writePaint(this.baseSectionOutlinePaint, stream);
    SerialUtilities.writeStroke(this.sectionOutlineStroke, stream);
    SerialUtilities.writeStroke(this.baseSectionOutlineStroke, stream);
    SerialUtilities.writePaint(this.shadowPaint, stream);
    SerialUtilities.writePaint(this.labelPaint, stream);
    SerialUtilities.writePaint(this.labelBackgroundPaint, stream);
    SerialUtilities.writePaint(this.labelOutlinePaint, stream);
    SerialUtilities.writeStroke(this.labelOutlineStroke, stream);
    SerialUtilities.writePaint(this.labelShadowPaint, stream);
    SerialUtilities.writePaint(this.labelLinkPaint, stream);
    SerialUtilities.writeStroke(this.labelLinkStroke, stream);
    SerialUtilities.writeShape(this.legendItemShape, stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:26,代码来源:PiePlot.java

示例3: writeObject

import org.jfree.io.SerialUtilities; //导入方法依赖的package包/类
/**
 * Handles serialization.
 *
 * @param stream  the output stream.
 *
 * @throws IOException if there is an I/O problem.
 */
private void writeObject(ObjectOutputStream stream) throws IOException {
    stream.defaultWriteObject();

    int paintCount = this.paintSequence.length;
    stream.writeInt(paintCount);
    for (int i = 0; i < paintCount; i++) {
        SerialUtilities.writePaint(this.paintSequence[i], stream);
    }

    int outlinePaintCount = this.outlinePaintSequence.length;
    stream.writeInt(outlinePaintCount);
    for (int i = 0; i < outlinePaintCount; i++) {
        SerialUtilities.writePaint(this.outlinePaintSequence[i], stream);
    }

    int strokeCount = this.strokeSequence.length;
    stream.writeInt(strokeCount);
    for (int i = 0; i < strokeCount; i++) {
        SerialUtilities.writeStroke(this.strokeSequence[i], stream);
    }

    int outlineStrokeCount = this.outlineStrokeSequence.length;
    stream.writeInt(outlineStrokeCount);
    for (int i = 0; i < outlineStrokeCount; i++) {
        SerialUtilities.writeStroke(this.outlineStrokeSequence[i], stream);
    }

    int shapeCount = this.shapeSequence.length;
    stream.writeInt(shapeCount);
    for (int i = 0; i < shapeCount; i++) {
        SerialUtilities.writeShape(this.shapeSequence[i], stream);
    }

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

示例4: writeObject

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

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

示例5: writeObject

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

示例6: writeObject

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

示例7: writeObject

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

示例8: writeObject

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

示例9: writeObject

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

示例10: writeObject

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

示例11: writeObject

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

示例12: writeObject

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

示例13: writeObject

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

示例14: writeObject

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

示例15: writeObject

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


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