public interface ExportDisplay
AppConfig.createExportDisplay(Frame)
or by injection into a
screen controller.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
isShowNewWindow() |
void |
setFrame(Frame frame)
INTERNAL.
|
void |
setShowNewWindow(boolean showNewWindow)
Sets explicit new window option.
|
void |
show(ExportDataProvider dataProvider,
java.lang.String resourceName)
Export an arbitrary resource defined by a ExportDataProvider.
|
void |
show(ExportDataProvider dataProvider,
java.lang.String resourceName,
ExportFormat format)
Export an arbitrary resource defined by a ExportDataProvider.
|
void |
show(FileDescriptor fileDescriptor)
Export a file from file storage.
|
void |
show(FileDescriptor fileDescriptor,
ExportFormat format)
Export a file from file storage.
|
static final java.lang.String NAME
void show(ExportDataProvider dataProvider, java.lang.String resourceName, @Nullable ExportFormat format)
dataProvider
- resource providerresourceName
- resource nameformat
- export format, can be nullvoid show(ExportDataProvider dataProvider, java.lang.String resourceName)
dataProvider
- resource providerresourceName
- resource namevoid show(FileDescriptor fileDescriptor, @Nullable ExportFormat format)
fileDescriptor
- file descriptorformat
- export format, can be nullvoid show(FileDescriptor fileDescriptor)
fileDescriptor
- file descriptorboolean isShowNewWindow()
void setShowNewWindow(boolean showNewWindow)
showNewWindow
- true if export display opens new window, false otherwisevoid setFrame(Frame frame)