001 package sysModel.env; 002 003 import javax.swing.*; 004 005 /** 006 * Abstract environment factory. Functions as a dynamic panel to input parameters and as a factory for the environment. 007 * 008 * @author Mathias Ricken 009 */ 010 public abstract class AEnvFactory extends JPanel { 011 /** 012 * Create an environment as specified by the parameters. 013 * 014 * @return global environment 015 */ 016 public abstract AGlobalEnv create(); 017 018 /** 019 * Return string representation. 020 * 021 * @return string representation 022 */ 023 public abstract String toString(); 024 }