Class ActionListener
Listener for https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/event/ActionListener.html. Extends JVMBridgeListener, implements IActionListener
public class ActionListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IEventListener, IActionListener, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
ActionListener
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
Remember to Dispose the object otherwise there is a resource leak, the object contains a reference to the the corresponding JVM object
Constructors
ActionListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ActionListener()
ActionListener(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public ActionListener(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnActionPerformed
public Action<ActionEvent> OnActionPerformed { get; set; }
Property Value
Remarks
If OnActionPerformed has a value it takes precedence over corresponding class method
Methods
ActionPerformed(ActionEvent)
public virtual void ActionPerformed(ActionEvent arg0)
Parameters
arg0
ActionEvent
InitializeHandlers()
Handlers initializer for ActionListener
protected virtual void InitializeHandlers()