public abstract class AbstractViewEventHandler extends Object implements ViewEventHandler
ViewEventHandler with empty updates. Extend it in case you want to handle only few events.
It allows to reduce boilerplate code.| Constructor and Description |
|---|
AbstractViewEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
NetworkUpdates |
onBlur(Edge edge,
NetworkChartContext context)
Handles blur event on an edge.
|
NetworkUpdates |
onBlur(Node node,
NetworkChartContext context)
Handles blur event on a node.
|
NetworkUpdates |
onClick(Edge edge,
NetworkChartContext context)
Handles click event on an edge.
|
NetworkUpdates |
onClick(Node node,
NetworkChartContext context)
Handles click event on a node.
|
NetworkUpdates |
onDeselect(Edges edges,
NetworkChartContext context)
Handles deselect event on edges.
|
NetworkUpdates |
onDeselect(Nodes nodes,
NetworkChartContext context)
Handles deselect event on nodes.
|
NetworkUpdates |
onDoubleClick(Edge edge,
NetworkChartContext context)
Handles double click event on an edge.
|
NetworkUpdates |
onDoubleClick(Node node,
NetworkChartContext context)
Handles double click event on a node.
|
NetworkUpdates |
onHover(Edge edge,
NetworkChartContext context)
Handles hover event on an edge.
|
NetworkUpdates |
onHover(Node node,
NetworkChartContext context)
Handles hover event on a node.
|
NetworkUpdates |
onSelect(Edge edge,
NetworkChartContext context)
Handles selection event on an edge.
|
NetworkUpdates |
onSelect(Node node,
NetworkChartContext context)
Handles selection event on a node.
|
public NetworkUpdates onClick(Node node, NetworkChartContext context)
ViewEventHandleronClick in interface ViewEventHandlernode - which has been clicked.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onDoubleClick(Node node, NetworkChartContext context)
ViewEventHandleronDoubleClick in interface ViewEventHandlernode - which has been double clicked.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onSelect(Node node, NetworkChartContext context)
ViewEventHandleronSelect in interface ViewEventHandlernode - which has been selected.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onDeselect(Nodes nodes, NetworkChartContext context)
ViewEventHandleronDeselect in interface ViewEventHandlernodes - list of nodes which have been deselected.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onClick(Edge edge, NetworkChartContext context)
ViewEventHandleronClick in interface ViewEventHandleredge - which has been clicked.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onDoubleClick(Edge edge, NetworkChartContext context)
ViewEventHandleronDoubleClick in interface ViewEventHandleredge - which has been double clicked.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onSelect(Edge edge, NetworkChartContext context)
ViewEventHandleronSelect in interface ViewEventHandleredge - which has been selected.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onDeselect(Edges edges, NetworkChartContext context)
ViewEventHandleronDeselect in interface ViewEventHandleredges - list of edges which have been deselected.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onHover(Edge edge, NetworkChartContext context)
ViewEventHandleronHover in interface ViewEventHandleredge - which has been hovered.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onHover(Node node, NetworkChartContext context)
ViewEventHandleronHover in interface ViewEventHandlernode - which has been hovered.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onBlur(Node node, NetworkChartContext context)
ViewEventHandleronBlur in interface ViewEventHandlernode - which has been blurred.context - with additional informationNetworkUpdates changes which should be applied on view.public NetworkUpdates onBlur(Edge edge, NetworkChartContext context)
ViewEventHandleronBlur in interface ViewEventHandleredge - which has been blurred.context - with additional informationNetworkUpdates changes which should be applied on view.Copyright © 2018. All rights reserved.