package com.onaro.util.jfc.date; import java.util.ResourceBundle; import com.onaro.util.jfc.AdvancedComboBox; /** * Extends the {@link com.onaro.util.jfc.AdvancedComboBox.OptionEntry} to simplify the restoring * of the selected entry. */ public abstract class FilterEntry extends AdvancedComboBox.OptionEntry { /** * Initialize this entry, reading its name and tooltip from the resorces. * @param bundle locale-dependent resources * @param resourceName resource group name from which the name and tooltip * are read * @throws com.onaro.util.InvalidConfigException if some resources were missing */ public FilterEntry(ResourceBundle bundle, String resourceName) { super(bundle, resourceName); } /** * Allows to specify the action to do when restoring element selection and * this is the selected option. */ public abstract void restoreSelection(); }