![JAR search and dependency download from the Maven repository](/logo.png)
es.gob.afirma.standalone.plugins.PluginButton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of afirma-ui-simpleafirma-plugins Show documentation
Show all versions of afirma-ui-simpleafirma-plugins Show documentation
Base para la construccion de plugins de AutoFirma
The newest version!
package es.gob.afirma.standalone.plugins;
/**
* Botón que un plugin puede agregar a alguna de las ventanas de la
* aplicación.
*/
public class PluginButton {
private String title = null;
private String icon = null;
private String toolTip = null;
private String accesibleDescription = null;
private String afirmaWindow = null;
private String actionClassName = null;
private PluginAction action = null;
/**
* Recupera el texto del botón.
* @return Texto del botón.
*/
public String getTitle() {
return this.title;
}
/**
* Establece el texto del botón.
* @param title Texto del botón.
*/
public void setTitle(final String title) {
this.title = title;
}
/**
* Recupera el icono del botón.
* @return Icono del botón.
*/
public String getIcon() {
return this.icon;
}
/**
* Establece el icono del botón.
* @param icon Icono del botón.
*/
public void setIcon(final String icon) {
this.icon = icon;
}
/**
* Recupera el texto de tooltip del botón.
* @return Texto del tooltip del botón.
*/
public String getToolTip() {
return this.toolTip;
}
/**
* Establece el texto de tooltip del botón.
* @param toolTip Texto del tooltip del botón.
*/
public void setToolTip(final String toolTip) {
this.toolTip = toolTip;
}
/**
* Recupera el texto de descripción accesible del botón.
* @return Descripción accesible del botón.
*/
public String getAccesibleDescription() {
return this.accesibleDescription;
}
/**
* Establece el texto de descripción accesible del botón.
* @param accesibleDescription Descripción accesible del botón.
*/
public void setAccesibleDescription(final String accesibleDescription) {
this.accesibleDescription = accesibleDescription;
}
/**
* Recupera el descriptor de la ventana de la aplicación en la
* que debe aparecer el botón.
* @return Descriptor de ventana de la aplicación.
*/
public String getWindow() {
return this.afirmaWindow;
}
/**
* Establece el descriptor de la ventana de la aplicación en la
* que debe aparecer el botón.
* @param window Descriptor de ventana de la aplicación.
*/
public void setAfirmaWindow(final String window) {
this.afirmaWindow = window;
}
/**
* Recupera el nombre de la clase de la acción asignada al botón.
* @return Nombre de la clase de acción.
*/
public String getActionClassName() {
return this.actionClassName;
}
/**
* Establece el nombre de clase de la acción asignada al botón.
* @param actionClassName Nombre de la clase de acción.
*/
public void setActionClassName(final String actionClassName) {
this.actionClassName = actionClassName;
}
/**
* Recupera la acción asignada al botón.
* @return Acción asignada al botón.
*/
public PluginAction getAction() {
return this.action;
}
/**
* Establece la acción asignada al botón.
* @param action Acción asignada al botón.
*/
public void setAction(final PluginAction action) {
this.action = action;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy