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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncombine
(DomListener other) boolean
handler()
int
hashCode()
boolean
isSameSubscription
(DomListener other) abstract String
name()
void
subscribeJson
(com.fasterxml.jackson.databind.node.ObjectNode json) protected void
subscribeJsonCommon
(com.fasterxml.jackson.databind.node.ObjectNode json) protected abstract DomEvent
withHandler
(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:
-
combine
in classDomListener
-
isSameSubscription
- Specified by:
-
isSameSubscription
in classDomListener
-
listenerTypeCode
- Specified by:
-
listenerTypeCode
in classDomListener
-
subscribeJson
public void subscribeJson(com.fasterxml.jackson.databind.node.ObjectNode json) - Overrides:
-
subscribeJson
in classDomListener
-
subscribeJsonCommon
protected void subscribeJsonCommon(com.fasterxml.jackson.databind.node.ObjectNode json) - Overrides:
-
subscribeJsonCommon
in classDomListener
-
equals
-
hashCode
public int hashCode()
-