コード例 #1
0
ファイル: NodeComponentState.java プロジェクト: miho/ExtJ3D
  @Override
  public void readObject(DataInput in) throws IOException {
    super.readObject(in);

    // This fix was added in file version 2
    if (control.getCurrentFileVersion() > 1)
      ((NodeComponent) this.node).setDuplicateOnCloneTree(in.readBoolean());
  }
コード例 #2
0
ファイル: NodeComponentState.java プロジェクト: miho/ExtJ3D
 @Override
 public void writeObject(DataOutput out) throws IOException {
   super.writeObject(out);
   out.writeBoolean(((NodeComponent) this.node).getDuplicateOnCloneTree());
 }