| edu.rice.cs.drjava.ui.config.FileOptionComponent
FileOptionComponent | public class FileOptionComponent extends OptionComponent implements OptionConstants(Code) | | Graphical form of a FileOption.
TO DO: Replace the internal components here with an edu.rice.cs.util.swing.FileSelectorComponent.
version: $Id: FileOptionComponent.java 4255 2007-08-28 19:17:37Z mgricken $ |
getComponent | public JComponent getComponent()(Code) | | Return's this OptionComponent's configurable component.
|
setDescription | public void setDescription(String description)(Code) | | Sets the tooltip description text for this option.
Parameters: description - the tooltip text |
setFileFilter | public void setFileFilter(FileFilter fileFilter)(Code) | | Set the file filter for this file option component
|
setValue | public void setValue(File value)(Code) | | Displays the given value.
|
updateConfig | public boolean updateConfig()(Code) | | Updates the config object with the new setting.
true if the new value is set successfully |
|
|