• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java SerialUtilities类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



SerialUtilities类属于org.jfree.io包,在下文中一共展示了SerialUtilities类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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: 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.domainGridlineStroke = SerialUtilities.readStroke(stream);
    this.domainGridlinePaint = SerialUtilities.readPaint(stream);
    this.rangeGridlineStroke = SerialUtilities.readStroke(stream);
    this.rangeGridlinePaint = SerialUtilities.readPaint(stream);
    this.domainCrosshairStroke = SerialUtilities.readStroke(stream);
    this.domainCrosshairPaint = SerialUtilities.readPaint(stream);
    this.rangeCrosshairStroke = SerialUtilities.readStroke(stream);
    this.rangeCrosshairPaint = SerialUtilities.readPaint(stream);
    this.domainTickBandPaint = SerialUtilities.readPaint(stream);
    this.rangeTickBandPaint = SerialUtilities.readPaint(stream);
    this.quadrantOrigin = SerialUtilities.readPoint2D(stream);
    this.quadrantPaint = new Paint[4];
    for (int i = 0; i < 4; i++) {
        this.quadrantPaint[i] = SerialUtilities.readPaint(stream);
    }
    this.foregroundDomainMarkers = new HashMap();
    this.backgroundDomainMarkers = new HashMap();
    this.foregroundRangeMarkers = new HashMap();
    this.backgroundRangeMarkers = new HashMap();

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


示例4: 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.thermometerStroke = SerialUtilities.readStroke(stream);
  this.thermometerPaint = SerialUtilities.readPaint(stream);
  this.valuePaint = SerialUtilities.readPaint(stream);
  this.mercuryPaint = SerialUtilities.readPaint(stream);
  this.subrangeIndicatorStroke = SerialUtilities.readStroke(stream);
  this.rangeIndicatorStroke = SerialUtilities.readStroke(stream);

  if (this.rangeAxis != null) {
    this.rangeAxis.addChangeListener(this);
  }

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


示例5: 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);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:25,代码来源:PiePlot.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.writeStroke(this.domainGridlineStroke, stream);
    SerialUtilities.writePaint(this.domainGridlinePaint, stream);
    SerialUtilities.writeStroke(this.rangeGridlineStroke, stream);
    SerialUtilities.writePaint(this.rangeGridlinePaint, stream);
    SerialUtilities.writeStroke(this.rangeZeroBaselineStroke, stream);
    SerialUtilities.writePaint(this.rangeZeroBaselinePaint, stream);
    SerialUtilities.writeStroke(this.domainCrosshairStroke, stream);
    SerialUtilities.writePaint(this.domainCrosshairPaint, stream);
    SerialUtilities.writeStroke(this.rangeCrosshairStroke, stream);
    SerialUtilities.writePaint(this.rangeCrosshairPaint, stream);
    SerialUtilities.writePaint(this.domainTickBandPaint, stream);
    SerialUtilities.writePaint(this.rangeTickBandPaint, stream);
    SerialUtilities.writePoint2D(this.quadrantOrigin, stream);
    for (int i = 0; i < 4; i++) {
        SerialUtilities.writePaint(this.quadrantPaint[i], stream);
    }
    SerialUtilities.writeStroke(this.domainZeroBaselineStroke, stream);
    SerialUtilities.writePaint(this.domainZeroBaselinePaint, stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:29,代码来源:XYPlot.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.writePaint(this.paint, stream);
    SerialUtilities.writePaint(this.basePaint, stream);
    SerialUtilities.writePaint(this.fillPaint, stream);
    SerialUtilities.writePaint(this.baseFillPaint, 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,代码行数:27,代码来源:AbstractRenderer.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.
 *
 * @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.artifactPaint, stream);

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


示例10: 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.dialBackgroundPaint = SerialUtilities.readPaint(stream);
    this.needlePaint = SerialUtilities.readPaint(stream);
    this.valuePaint = SerialUtilities.readPaint(stream);
    this.tickPaint = SerialUtilities.readPaint(stream);
    this.tickLabelPaint = SerialUtilities.readPaint(stream);
    if (this.dataset != null) {
        this.dataset.addChangeListener(this);
    }
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:21,代码来源:MeterPlot.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.groupStroke = SerialUtilities.readStroke(stream);
    this.groupPaint = SerialUtilities.readPaint(stream);
      
    this.minIcon = getIcon(
        new Arc2D.Double(-4, -4, 8, 8, 0, 360, Arc2D.OPEN), null, Color.black
    );
    this.maxIcon = getIcon(
        new Arc2D.Double(-4, -4, 8, 8, 0, 360, Arc2D.OPEN), null, Color.black
    );
    this.objectIcon = getIcon(new Line2D.Double(-4, 0, 4, 0), false, true);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:22,代码来源:MinMaxCategoryRenderer.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.firstBarPaint = SerialUtilities.readPaint(stream);
    this.lastBarPaint = SerialUtilities.readPaint(stream);
    this.positiveBarPaint = SerialUtilities.readPaint(stream);
    this.negativeBarPaint = SerialUtilities.readPaint(stream);

}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:18,代码来源:WaterfallBarRenderer.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.writePaint(this.noDataMessagePaint, stream);
    SerialUtilities.writeStroke(this.outlineStroke, stream);
    SerialUtilities.writePaint(this.outlinePaint, stream);
    // backgroundImage
    SerialUtilities.writePaint(this.backgroundPaint, stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:16,代码来源:Plot.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.criticalPaint = SerialUtilities.readPaint(stream);
    this.dialBackgroundPaint = SerialUtilities.readPaint(stream);
    this.needlePaint = SerialUtilities.readPaint(stream);
    this.normalPaint = SerialUtilities.readPaint(stream);
    this.valuePaint = SerialUtilities.readPaint(stream);
    this.warningPaint = SerialUtilities.readPaint(stream);
      
    if (this.dataset != null) {
        this.dataset.addChangeListener(this);
    }
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:22,代码来源:MeterPlot.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.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


示例16: 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.firstBarPaint = SerialUtilities.readPaint(stream);
    this.lastBarPaint = SerialUtilities.readPaint(stream);
    this.positiveBarPaint = SerialUtilities.readPaint(stream);
    this.negativeBarPaint = SerialUtilities.readPaint(stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:17,代码来源:WaterfallBarRenderer.java


示例17: 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.writeStroke(this.domainGridlineStroke, stream);
    SerialUtilities.writePaint(this.domainGridlinePaint, stream);
    SerialUtilities.writeStroke(this.rangeGridlineStroke, stream);
    SerialUtilities.writePaint(this.rangeGridlinePaint, stream);
    SerialUtilities.writeStroke(this.rangeCrosshairStroke, stream);
    SerialUtilities.writePaint(this.rangeCrosshairPaint, stream);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:17,代码来源:CategoryPlot.java


示例18: 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


示例19: 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.store = new HashMap();
    int keyCount = stream.readInt();
    for (int i = 0; i < keyCount; i++) {
        Comparable key = (Comparable) stream.readObject();
        Paint paint = SerialUtilities.readPaint(stream);
        this.store.put(key, paint);
    }
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:20,代码来源:PaintMap.java


示例20: 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.groupStroke = SerialUtilities.readStroke(stream);
    this.groupPaint = SerialUtilities.readPaint(stream);
      
    this.minIcon = getIcon(new Arc2D.Double(-4, -4, 8, 8, 0, 360, 
            Arc2D.OPEN), null, Color.black);
    this.maxIcon = getIcon(new Arc2D.Double(-4, -4, 8, 8, 0, 360, 
            Arc2D.OPEN), null, Color.black);
    this.objectIcon = getIcon(new Line2D.Double(-4, 0, 4, 0), false, true);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:21,代码来源:MinMaxCategoryRenderer.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Filter类代码示例发布时间:2022-05-21
下一篇:
Java ReceiveBuilder类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap