Record Class HtmlElementEvent
java.lang.Object
java.lang.Record
ch.nolix.system.webgui.main.HtmlElementEvent
- All Implemented Interfaces:
IHtmlElementEvent
public record HtmlElementEvent(String htmlElementId, String htmlEvent)
extends Record
implements IHtmlElementEvent
-
Constructor Summary
ConstructorsConstructorDescriptionHtmlElementEvent(String htmlElementId, String htmlEvent) Creates an instance of aHtmlElementEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehtmlElementIdrecord component.Returns the value of thehtmlEventrecord component.final StringtoString()Returns a string representation of this record class.static HtmlElementEventwithHtmlElementIdAndHtmlEvent(String htmlElementId, String htmlEvent)
-
Constructor Details
-
HtmlElementEvent
-
-
Method Details
-
withHtmlElementIdAndHtmlEvent
public static HtmlElementEvent withHtmlElementIdAndHtmlEvent(String htmlElementId, String htmlEvent) -
getHtmlElementId
- Specified by:
getHtmlElementIdin interfaceIHtmlElementEvent
-
getHtmlEvent
- Specified by:
getHtmlEventin interfaceIHtmlElementEvent
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
htmlElementId
Returns the value of thehtmlElementIdrecord component.- Returns:
- the value of the
htmlElementIdrecord component
-
htmlEvent
Returns the value of thehtmlEventrecord component.- Returns:
- the value of the
htmlEventrecord component
-