Package org.nlogo.sdm.gui

Source Code of org.nlogo.sdm.gui.WrappedReservoir

// (C) Uri Wilensky. https://github.com/NetLogo/NetLogo

package org.nlogo.sdm.gui;

import org.nlogo.sdm.Reservoir;

public strictfp class WrappedReservoir
    implements org.jhotdraw.util.Storable {
  final Reservoir reservoir;

  public WrappedReservoir() {
    reservoir = new Reservoir();
  }

  public WrappedReservoir(Reservoir reservoir) {
    this.reservoir = reservoir;
  }

  // Reservoirs are just decoration, so we don't write them to file
  public void write(org.jhotdraw.util.StorableOutput dw) {
  }

  public void read(org.jhotdraw.util.StorableInput dr) {
  }

}
TOP

Related Classes of org.nlogo.sdm.gui.WrappedReservoir

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.