View Javadoc

1   // Copyright 2004, FreeHEP.
2   package hep.wired.feature;
3   
4   import hep.wired.services.Feature;
5   
6   /***
7    * Can be reset to its initial state.
8    *
9    * @author Mark Donszelmann
10   * @version $Id: Resetable.java 256 2004-06-07 23:31:10Z duns $
11   */
12  
13  public interface Resetable extends Feature {
14      
15      /***
16       * Resets graphics panel to a new state or its initial state.
17       *
18       * @param newState new state, if null, use initial state of graphics panel.
19       * @return old state just before setting the new state
20       */
21      public Object reset(Object newState);
22  }