|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.additionalInfo.AdditionalInfoFilepath
public class AdditionalInfoFilepath
Additional info for a parameter representing a filepath
Constructor Summary | |
---|---|
AdditionalInfoFilepath()
|
|
AdditionalInfoFilepath(boolean bFolder,
boolean bOpenDialog,
java.lang.String sExtension)
|
Method Summary | |
---|---|
java.lang.String |
getExtension()
Returns the extension that the file must have |
java.lang.String |
getTextDescription()
|
boolean |
isFolder()
Return true if the parameter contains a folder and not a file path |
boolean |
isOpenDialog()
Returns whether a open file dialog or a save file dialog should be used to set the value of this parameter |
void |
setExtension(java.lang.String sExt)
Sets a new mandatory extension for the filename |
void |
setIsFolder(boolean folder)
Sets whether the parameter contains a folder and not a file path |
void |
setIsOpenDialog(boolean openDialog)
Sets whether a open file dialog or a save file dialog should be used to set the value of this parameter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdditionalInfoFilepath()
public AdditionalInfoFilepath(boolean bFolder, boolean bOpenDialog, java.lang.String sExtension)
bFolder
- true if the parameter contains a folder and
not a file pathbOpenDialog
- true if it is a file to be opened. False if
it is a filename to be used to save something. This will define
the type of file chooser dialog to show.sExtension
- the extension that the file must haveMethod Detail |
---|
public java.lang.String getExtension()
public void setExtension(java.lang.String sExt)
sExt
- the new extensionpublic boolean isFolder()
public void setIsFolder(boolean folder)
folder
- public boolean isOpenDialog()
public void setIsOpenDialog(boolean openDialog)
openDialog
- true if a open file dialog should be usedpublic java.lang.String getTextDescription()
getTextDescription
in interface AdditionalInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |