use of org.adempiere.webui.event.ActionListener in project adempiere by adempiere.
the class WButtonEditor method onEvent.
public void onEvent(Event event) throws Exception {
if (Events.ON_CLICK.equals(event.getName())) {
ActionEvent actionEvent = new ActionEvent(this, getColumnName(), Events.ON_CLICK);
ActionListener[] listeners = new ActionListener[0];
listeners = actionListeners.toArray(listeners);
for (ActionListener evtListener : listeners) {
evtListener.actionPerformed(actionEvent);
}
}
}
Aggregations