public class Export extends Extension
| Constructor and Description |
|---|
Export() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.String actionCommand)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
This method is invoked by Andami to check whether the extension
(and its associated controls) is enabled or disabled.
|
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
void |
postInitialize()
Extension's post-initialization code should be here.
|
static boolean |
saveImageCMS(java.io.File fileDst,
java.awt.image.BufferedImage srcImage) |
static boolean |
saveImageJimi(java.io.File fileDst,
java.awt.image.BufferedImage srcImage) |
public boolean isEnabled()
IExtensionpublic boolean isVisible()
IExtensionpublic void initialize()
IExtensionpublic void postInitialize()
IExtensioninitialize()
has been called for ALL the extensions.postInitialize in interface IExtensionpostInitialize in class Extensionpublic static boolean saveImageCMS(java.io.File fileDst,
java.awt.image.BufferedImage srcImage)
throws RasterDriverException,
java.io.IOException
RasterDriverExceptionjava.io.IOExceptionpublic static boolean saveImageJimi(java.io.File fileDst,
java.awt.image.BufferedImage srcImage)
throws java.lang.Exception
java.lang.Exceptionpublic void execute(java.lang.String actionCommand)
IExtensionactionCommand - An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.IExtension.execute(java.lang.String)