java.lang.Object
com.machinezoo.pushmode.dom.DomListener
com.machinezoo.pushmode.dom.DomEvent
- Direct Known Subclasses:
-
ChangeEvent,ClickEvent,InputEvent
Base class for event subscriptions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncombine(DomListener other) booleanhandler()inthashCode()booleanisSameSubscription(DomListener other) abstract Stringname()voidsubscribeJson(com.fasterxml.jackson.databind.node.ObjectNode json) protected voidsubscribeJsonCommon(com.fasterxml.jackson.databind.node.ObjectNode json) protected abstract DomEventwithHandler(Runnable handler) Methods inherited from class com.machinezoo.pushmode.dom.DomListener
unsubscribeJson
-
Field Details
-
handler
-
-
Constructor Details
-
DomEvent
-
-
Method Details
-
handler
-
name
-
withHandler
-
combine
- Specified by:
-
combinein classDomListener
-
isSameSubscription
- Specified by:
-
isSameSubscriptionin classDomListener
-
listenerTypeCode
- Specified by:
-
listenerTypeCodein classDomListener
-
subscribeJson
public void subscribeJson(com.fasterxml.jackson.databind.node.ObjectNode json) - Overrides:
-
subscribeJsonin classDomListener
-
subscribeJsonCommon
protected void subscribeJsonCommon(com.fasterxml.jackson.databind.node.ObjectNode json) - Overrides:
-
subscribeJsonCommonin classDomListener
-
equals
-
hashCode
public int hashCode()
-