blockly > Events > Abstract > (constructor)
Events.Abstract.(constructor)
Constructs a new instance of the Abstract
class
Signature:
constructor();
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `Events.Abstract` class provides a base structure for defining custom events within Blockly applications."],["Instantiating the `Events.Abstract` class using its constructor lays the groundwork for generating and handling specific event types."],["The constructor initializes the event object with default values, which can be customized for each custom event type."]]],["The `Events.Abstract` class constructor creates a new instance of the `Abstract` class. This constructor, accessible through `Events.Abstract.(constructor)`, is the core action described. The information conveyed is that this constructor's sole purpose is to instantiate a new object of the `Abstract` type. No parameters are required for this construction, indicated by the empty parentheses in the signature.\n"]]