@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class ActionPerformedListener
extends java.lang.Object
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor and Description |
---|
ActionPerformedListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterActionPerformed(java.lang.Object actionEvent)
This callback will be triggered after an action is performed.
|
boolean |
beforeActionPerformed(java.lang.Object actionEvent)
This callback will be triggered before an action is performed (and will be able to reject the default code which is executed when the action is performed).
|
public boolean beforeActionPerformed(java.lang.Object actionEvent)
actionEvent
- The action event. For Swing it is an instance of java.awt.event.ActionEvent. For Eclipse it is an instance of org.eclipse.swt.widgets.Event.true
to let the current action code execute, false
to inhibit it.public void afterActionPerformed(java.lang.Object actionEvent)
actionEvent
- The action event. For Swing it is an instance of java.awt.event.ActionEvent. For Eclipse it is an instance of org.eclipse.swt.widgets.Event.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.