
net.sf.gluebooster.java.booster.basic.events.BoostedActionEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gb-basic Show documentation
Show all versions of gb-basic Show documentation
Basic classes to support the development of applications. There should be as few dependencies on other frameworks as possible.
The newest version!
package net.sf.gluebooster.java.booster.basic.events;
import java.awt.event.ActionEvent;
/**
* A change event with additional attributes
*
* @author CBauer
*
* @param
* @defaultParamText source see the constructor of the superclass
* @defaultParamText id the id of the action event
* @defaultParamText command the command of the action event
* @defaultParamText modifiers the modifiers of the action event
* @defaultParamText when the 'when' of the action event
*
*
*/
public class BoostedActionEvent extends ActionEvent {
private static final long serialVersionUID = 1L;
/**
* Additional attributes.
*/
private Attributes attributes;
public Attributes getAttributes() {
return attributes;
}
public BoostedActionEvent() {
super("no source", ActionEvent.ACTION_PERFORMED, null);
}
public BoostedActionEvent(Object source, int id, String command,
int modifiers) {
super(source, id, command, modifiers);
}
public BoostedActionEvent(Object source, int id, String command, long when,
int modifiers) {
super(source, id, command, when, modifiers);
}
public BoostedActionEvent(Object source, int id, String command) {
super(source, id, command);
}
public BoostedActionEvent(Object source, int id, String command,
Attributes attributes) {
super(source, id, command);
setAttributes(attributes);
}
public final void setAttributes(Attributes attributes) {
this.attributes = attributes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy