public class StatusBar extends Extension implements NotificationListener
Constructor and Description |
---|
StatusBar() |
Modifier and Type | Method and Description |
---|---|
void |
errorEvent(MessageEvent e)
Método invocado cuando la aplicación recibe mensajes de error
|
void |
execute(String actionCommand)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
infoEvent(MessageEvent e)
Método invocado cuando la aplicación recibe mensajes de información
|
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 |
warningEvent(MessageEvent e)
Método invocado cuando la aplicación recibe mensajes de warning
|
public void initialize()
IExtension
initialize
in interface IExtension
public void errorEvent(MessageEvent e)
NotificationListener
errorEvent
in interface NotificationListener
public void warningEvent(MessageEvent e)
NotificationListener
warningEvent
in interface NotificationListener
public void infoEvent(MessageEvent e)
NotificationListener
infoEvent
in interface NotificationListener
public void execute(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