Exemplo n.º 1
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.writeStorable(getStartConnector());
   dw.writeStorable(getEndConnector());
 }
Exemplo n.º 3
0
 /** Stores the arrow tip to a StorableOutput. */
 public void write(StorableOutput dw) {
   super.write(dw);
   dw.writeStorable(fLocator);
 }