public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeInt(fDisplayBox.x);
   dw.writeInt(fDisplayBox.y);
   dw.writeInt(fDisplayBox.width);
   dw.writeInt(fDisplayBox.height);
   dw.writeInt(fArcWidth);
   dw.writeInt(fArcHeight);
 }
 public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeStorable(getStartConnector());
   dw.writeStorable(getEndConnector());
 }
示例#3
0
 /** Writes the contained figures to the StorableOutput. */
 public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeInt(fFigures.size());
   Enumeration k = fFigures.elements();
   while (k.hasMoreElements()) dw.writeStorable((Storable) k.nextElement());
 }
 public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeDouble(fRelativeX);
   dw.writeDouble(fRelativeY);
 }
 /** Stores the arrow tip to a StorableOutput. */
 public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeStorable(fLocator);
 }
示例#6
0
 /** Stores the arrow tip to a StorableOutput. */
 public void write(StorableOutput dw) {
   dw.writeDouble(getAngle());
   dw.writeDouble(getOuterRadius());
   dw.writeDouble(getInnerRadius());
   super.write(dw);
 }