|
JRubik v0.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.aeat.eett.jRubik.plugins.PluginImpl
en: Abstract implementation of the Plugin interface. This is the base class for all plugin classes.
Una implemtacion abstracta de Plugin. Clase base para crear nuevos plugins.
Field Summary | |
protected boolean |
autoUpdate
|
protected java.util.ArrayList |
controladores
|
Constructor Summary | |
PluginImpl()
|
Method Summary | |
void |
addPluginListener(PluginListener listener)
|
java.util.List |
fireGetInfoPlugins(int typePlugin)
en: Returns a complete Infoplugin List availables es: Devuelve una lista completa de Infoplugin de los plugin disponibles |
java.lang.Object |
fireGetPluginObject(java.lang.String namePlugin)
en: Gets the main plugin object from the plugin called namePlugin, it returns null if the plugin is missing. |
void |
firePluginHide(java.awt.Component component)
en: Request to the application controller to hide a component in the main application view. |
void |
firePluginSetFocus(java.awt.Component component)
en: Request to the application controller to show a component. |
boolean |
isAutoUpdate()
|
void |
removePluginListener(PluginListener listener)
|
void |
setAutoUpdate(boolean autoUpdate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface es.aeat.eett.jRubik.plugins.Plugin |
getPluginObject |
Field Detail |
protected boolean autoUpdate
protected java.util.ArrayList controladores
Constructor Detail |
public PluginImpl()
Method Detail |
public void addPluginListener(PluginListener listener)
addPluginListener
in interface Plugin
public void removePluginListener(PluginListener listener)
removePluginListener
in interface Plugin
public boolean isAutoUpdate()
isAutoUpdate
in interface Plugin
public void setAutoUpdate(boolean autoUpdate)
setAutoUpdate
in interface Plugin
autoUpdate
- The autoUpdate to set.public java.lang.Object fireGetPluginObject(java.lang.String namePlugin)
en: Gets the main plugin object from the plugin called namePlugin, it returns null if the plugin is missing. It calls the application controller to obtain the plugin.
es: Obtiene el objeto principal del plugin llamado namePlugin, devuelve un nulo en caso de error o no encontrar el plugin. Llama al controlador de la aplicación para solicitar el plugin.
fireGetPluginObject
in interface Plugin
public void firePluginSetFocus(java.awt.Component component)
en: Request to the application controller to show a component.
es: Solicita al controlador de la aplicación que muestre el componete component.
firePluginSetFocus
in interface Plugin
public void firePluginHide(java.awt.Component component)
en: Request to the application controller to hide a component in the main application view.
es: Solicita al controlador de la aplicación que oculte el componete component en la vista principal de la aplicacion.
firePluginHide
in interface Plugin
public java.util.List fireGetInfoPlugins(int typePlugin)
en: Returns a complete Infoplugin List availables
es: Devuelve una lista completa de Infoplugin de los plugin disponibles
fireGetInfoPlugins
in interface Plugin
|
JRubik v0.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |