## org.autoplot.datasource.RecentComboBoxModel

Provide a comboBoxModel so that the ComboBox remembers recent entries. This listens for ActionEvents from a JComboBox and adds valid items to its droplist. The recent entries are stored in the bookmarks folder in the file "recent.PREF.txt" where PREF is a string assigned to this object identifying the theme, such as "timerange". Specifically, the event is validated and recorded into the file, then the file is loaded, sorted and saved again.

## RecentComboBoxModel( String pref )

## actionPerformed

actionPerformed( java.awt.event.ActionEvent e ) → void

### Parameters

e - an ActionEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## setVerifier

setVerifier( org.autoplot.datasource.RecentComboBoxModel.InputVerifier v ) → void

allow filtering of invalid entries so they aren't recorded in history.

### Parameters

v - a RecentComboBoxModel.InputVerifier

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]