本文整理汇总了Java中org.jfree.io.SerialUtilities.readAttributedString方法的典型用法代码示例。如果您正苦于以下问题:Java SerialUtilities.readAttributedString方法的具体用法?Java SerialUtilities.readAttributedString怎么用?Java SerialUtilities.readAttributedString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.jfree.io.SerialUtilities
的用法示例。
在下文中一共展示了SerialUtilities.readAttributedString方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: 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);
}