public class PrincipalComponentsExtension extends Extension implements java.awt.event.ActionListener, IProcessActions
Constructor and Description |
---|
PrincipalComponentsExtension() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
end(java.lang.Object param)
Acciones de finalización del proceso
|
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.
|
void |
interrupted()
El proceso comunica que ha sido interrumpido
|
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.
|
void |
updateProgress(int current,
int total)
A process can report the progress of the task
|
public void initialize()
IExtension
initialize
in interface IExtension
public void postInitialize()
IExtension
initialize()
has been called for ALL the extensions.postInitialize
in interface IExtension
postInitialize
in class Extension
public void execute(java.lang.String actionCommand)
IExtension
execute
in interface IExtension
actionCommand
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public boolean isEnabled()
IExtension
isEnabled
in interface IExtension
public boolean isVisible()
IExtension
isVisible
in interface IExtension
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void end(java.lang.Object param)
IProcessActions
end
in interface IProcessActions
public void interrupted()
IProcessActions
interrupted
in interface IProcessActions
public void updateProgress(int current, int total)
IProcessActions
updateProgress
in interface IProcessActions