View Javadoc

1   /*
2    * IconDirectory.java
3    *
4    * Created on March 15, 2001, 12:23 PM
5    */
6   
7   package org.freehep.demo.iconbrowser;
8   
9   import javax.swing.Icon;
10  
11  /**
12   * Represents a directory in an IconArchive
13   * @author Tony Johnson (tonyj@slac.stanford.edu)
14   * @version $Id: IconDirectory.java 10506 2007-01-30 22:48:57Z duns $
15   */
16  
17  interface IconDirectory
18  {
19      String getName();
20      int getNEntries();
21      Icon getEntryIcon(int index);
22      String getEntryName(int index);
23  }