Module org.tquadrat.foundation.svg
Package org.tquadrat.foundation.svg
Interface AllowsDocumentEventAttributes
- All Known Subinterfaces:
SVG
- All Known Implementing Classes:
SVGElementAdapter
,SVGGenericElement
,SVGImpl
@ClassVersion(sourceVersion="$Id: AllowsDocumentEventAttributes.java 1074 2023-10-02 12:05:06Z tquadrat $")
@API(status=STABLE,
since="0.0.5")
public sealed interface AllowsDocumentEventAttributes
permits SVG, SVGElementAdapter
SVG elements that allow the document event attributes
"onabort",
"onerror",
"onresize",
"onscroll",
and
"onunload"
will implement this interface.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: AllowsDocumentEventAttributes.java 1074 2023-10-02 12:05:06Z tquadrat $
- Since:
- 0.0.5
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.svg.AllowsDocumentEventAttributes"
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe document event attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAbortHandler
(String value) Sets the abort handler for this SVG element.void
setErrorHandler
(String value) Sets the error handler for this SVG element.void
setResizeHandler
(String value) Sets the resize handler for this SVG element.void
setScrollHandler
(String value) Sets the scroll handler for this SVG element.void
setUnloadHandler
(String value) Sets the "unload" handler for this SVG element.
-
Field Details
-
DOCUMENTEVENT_ATTRIBUTES
The document event attributes.
-
-
Method Details
-
setAbortHandler
Sets the abort handler for this SVG element.- Parameters:
value
- The abort handler.- See Also:
-
setErrorHandler
Sets the error handler for this SVG element.- Parameters:
value
- The error handler.- See Also:
-
setResizeHandler
Sets the resize handler for this SVG element.- Parameters:
value
- The resize handler.- See Also:
-
setScrollHandler
Sets the scroll handler for this SVG element.- Parameters:
value
- The scroll handler.- See Also:
-
setUnloadHandler
Sets the "unload" handler for this SVG element.- Parameters:
value
- The unload handler.- See Also:
-