View Javadoc

1   /*
2    * @(#) Swingable.java Oct 19, 2003
3    * 
4    * Copyright (c) 2003 Delft University of Technology Jaffalaan 5, 2628 BX Delft,
5    * the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
9    */
10  package nl.tudelft.simulation.jstats;
11  
12  import java.awt.Container;
13  import java.rmi.RemoteException;
14  
15  /***
16   * An interface implemented by all charts and statistics objects defining their
17   * capability to present themselves as Swing component. These components can be
18   * dropped on any GUI panel.
19   * <p>
20   * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
21   * University of Technology </a>, the Netherlands. <br>
22   * See for project information <a href="http://www.simulation.tudelft.nl">
23   * www.simulation.tudelft.nl </a> <br>
24   * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
25   * License (GPL) </a>, no warranty <br>
26   * 
27   * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
28   *         Jacobs </a>
29   * @version 1.4 2004-03-18
30   * @since 1.0
31   */
32  public interface Swingable
33  {
34  	/***
35  	 * represents this statisticsObject as Swing Container
36  	 * 
37  	 * @return a Container representation of an object
38  	 * @throws RemoteException on network failure
39  	 */
40  	Container getSwingPanel() throws RemoteException;
41  }