Package org.jmol.api
Interface JmolDialogInterface
- All Known Implementing Classes:
Dialog
public interface JmolDialogInterface
-
Method Summary
Modifier and TypeMethodDescriptiongetFileNameFromDialog(Viewer vwr, String dialogType, String inputFileName) getImageFileNameFromDialog(Viewer vwr, String fileName, String type, String[] imageChoices, String[] imageExtensions, int qualityJPG, int qualityPNG) getOpenFileNameFromDialog(Map<String, Object> vwrOptions, Viewer vwr, String fileName, JmolAppAPI historyFile, String windowName, boolean allowAppend) intgetQuality(String sType) getSaveFileNameFromDialog(Viewer vwr, String data, String type) getType()voidsetImageInfo(int qualityJPG, int qualityPNG, String imageType) voidsetupUI(boolean forceNewTranslation)
-
Method Details
-
setupUI
void setupUI(boolean forceNewTranslation) -
getType
String getType()- Returns:
- The file type which contains the user's choice
-
getQuality
- Parameters:
sType- JPG or PNG- Returns:
- The quality (on a scale from 0 to 100) of the JPEG. 0 to 9 for PNG image that is to be generated. Returns -1 if choice was not JPEG or PNG.
-
getOpenFileNameFromDialog
-
getSaveFileNameFromDialog
-
getImageFileNameFromDialog
-
setImageInfo
-
getFileNameFromDialog
-