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


Java SerialUtilities类代码示例

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


SerialUtilities类属于org.jfree.io包,在下文中一共展示了SerialUtilities类的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: 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


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