public class FileOption extends StringOption
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultFileExtension |
protected boolean |
isOutputFile |
currentVal, defaultValcliChar, illegalNameCharacters, name, purpose| Constructor and Description |
|---|
FileOption(String name,
char cliChar,
String purpose,
String defaultFileName,
String defaultExtension,
boolean isOutput) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultFileExtension() |
JComponent |
getEditComponent()
Gets the GUI component to edit
|
File |
getFile() |
boolean |
isOutputFile() |
getDefaultCLIString, getValue, getValueAsCLIString, setValue, setValueViaCLIStringcopy, getCLIChar, getDescription, getName, getPurpose, getStateString, nameIsLegal, resetToDefaultcopy, measureByteSize, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmeasureByteSizeprotected String defaultFileExtension
protected boolean isOutputFile
public String getDefaultFileExtension()
public boolean isOutputFile()
public File getFile()
public JComponent getEditComponent()
OptiongetEditComponent in interface OptiongetEditComponent in class AbstractOptionCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.