1 package jalview.io.cache;
3 import javax.swing.JComboBox;
4 import javax.swing.JComponent;
6 public interface Cacheable
10 * method executed on cache initialisation
15 * Combo-box instance for the cache component
19 public JComboBox<String> getCacheComboBox();
22 * The unique key that will be used for storing user input for this cacheable
23 * in the cache dictionary
27 public String getCacheKey();
30 * Get next focusable component. Required to delegate focus while updating the
31 * cacheable component cache
35 public JComponent getNextFocusableElement();