|
||||||||||
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[] sExtensions)
|
Method Summary | |
---|---|
java.lang.String[] |
getExtensions()
Returns the extensions that the file must have |
boolean |
getIsVoxelData()
Checks whether the file is a voxel data file. |
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 |
setExtensions(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 |
void |
setIsVoxelData(boolean isVoxelData)
Sets whether the file is a voxel data file. |
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[] sExtensions)
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 allowed extensions extensionsMethod Detail |
---|
public java.lang.String[] getExtensions()
public void setExtensions(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 void setIsVoxelData(boolean isVoxelData)
isVoxelData
- true if it is a voxel data file.public boolean getIsVoxelData()
public java.lang.String getTextDescription()
getTextDescription
in interface AdditionalInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |