PCanvasEvent class abstract
A PCanvas event.
See PCanvasClickEvent.
Constructors
- PCanvasEvent(String type, {PCanvasEvent? parentEvent, PCanvasElement? targetElement, PCanvas? pCanvas, Object? nativeEvent})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- nativeEvent → Object?
-
The native event object.
final
- parentElement → PCanvasElement?
-
The parent PCanvasElement of this event. See parentEvent.
no setter
- parentEvent → PCanvasEvent?
-
The event received by the parent element.
final
- pCanvas → PCanvas?
-
The PCanvas processing this event.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetElement → PCanvasElement?
-
The target PCanvasElement of this event.
final
- type → String
-
The event type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preventDefault(
[PCanvas? pCanvas]) → bool -
Prevents PCanvasEvent.nativeEvent default behavior if
pCanvas
parameter or field is provided. -
toInfoString(
{bool withParentEvents = true, bool withType = true, String indent = ''}) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override