org.openscience.jmol.app
public class FileTyper extends JPanel implements PropertyChangeListener, ItemListener
| Field Summary | |
|---|---|
| String[] | choices |
| int | defaultTypeIndex |
| String | fileType |
| JComboBox | fileTypeComboBox |
| JLabel | fileTypeLabel |
| boolean | useFileExtension |
| JCheckBox | useFileExtensionCheckBox |
| Constructor Summary | |
|---|---|
| FileTyper()
A simple panel with a combo box for allowing the user to choose
the input file type. | |
| Method Summary | |
|---|---|
| String | getType() |
| void | itemStateChanged(ItemEvent event) |
| void | propertyChange(PropertyChangeEvent event) |
| void | setUseFileExtension(boolean value) |
Returns: The file type which contains the user's choice