public class SketchStoragePolicy extends DefaultStoragePolicy
Modifier and Type | Field and Description |
---|---|
static String |
JPEG
The file extension for JPEG images.
|
static String |
SML
The file extension for sketch documents.
|
Constructor and Description |
---|
SketchStoragePolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
saveAs(Document d)
Save the document to a user-specified location.
|
close, getFileChooser, getOpenFileChooser, getSaveFileChooser, open, open, open, save
getDirectory, setDirectory, setDirectory
public static final String SML
public static final String JPEG
public boolean saveAs(Document d)
saveAs
in interface StoragePolicy
saveAs
in class DefaultStoragePolicy
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.