public interface ServiceManager
Modifier and Type | Method and Description |
---|---|
Transferable |
getClipboardContents() |
PageFormat |
getDefaultPage()
Creates a new PageFormat instance and sets it to the default size and orientation.
|
boolean |
isAvailable(String part) |
void |
loadUserPreferences(Properties props) |
boolean |
makeAvailable(String part) |
FileAccess |
openFileDialog(FileFilter[] filters,
FileFilter defaultFilter,
String key) |
boolean |
print(Pageable document)
Prints a document using the given Pageable object
|
boolean |
print(Printable painter)
Prints a document using the given Printable object.
|
FileAccess |
saveFileAsDialog(FileFilter[] filters,
FileFilter defaultFilter,
String key,
InputStream in) |
void |
setClipboardContents(Transferable contents) |
PageFormat |
showPageFormatDialog(PageFormat page)
Displays a dialog that allows modification of a PageFormat instance.
|
void |
storeUserPreferences(Properties props) |
PageFormat getDefaultPage()
boolean print(Pageable document)
boolean print(Printable painter)
PageFormat showPageFormatDialog(PageFormat page)
void loadUserPreferences(Properties props)
void storeUserPreferences(Properties props)
FileAccess openFileDialog(FileFilter[] filters, FileFilter defaultFilter, String key)
FileAccess saveFileAsDialog(FileFilter[] filters, FileFilter defaultFilter, String key, InputStream in)
boolean isAvailable(String part)
boolean makeAvailable(String part)
Transferable getClipboardContents()
void setClipboardContents(Transferable contents)
Copyright © 2000–2015 FreeHEP. All rights reserved.