public interface DataManipulationHandler
| Modifier and Type | Method and Description |
|---|---|
NetworkUpdates |
onAdd(Edge edge,
NetworkChartContext context)
Handles event which is triggered after clicking on 'add edge' button.
|
NetworkUpdates |
onAdd(Node node,
NetworkChartContext context)
Handles event which is triggered after clicking on 'add node' button.
|
NetworkUpdates |
onEdit(EdgeUpdate edgeUpdate,
NetworkChartContext context)
Handles event which is triggered after clicking on 'edit edge' button.
|
NetworkUpdates |
onEdit(Node node,
NetworkChartContext context)
Handles event which is triggered after clicking on 'edit node' button.
|
NetworkUpdates |
onRemove(Edges edges,
NetworkChartContext context)
Handles event which is triggered after clicking on 'remove edges' button.
|
NetworkUpdates |
onRemove(Nodes nodes,
NetworkChartContext context)
Handles event which is triggered after clicking on 'remove nodes' button.
|
NetworkUpdates onAdd(Node node, NetworkChartContext context)
node - - newly created node. Usually contain only information about its coordinates on a canvas.context - - with additional informationNetworkUpdates changes which should be applied on view.NetworkUpdates onEdit(Node node, NetworkChartContext context)
node - - edited node.context - - with additional informationNetworkUpdates changes which should be applied on view.NetworkUpdates onRemove(Nodes nodes, NetworkChartContext context)
nodes - - list of nodes which should be removed.context - - with additional informationNetworkUpdates changes which should be applied on view.NetworkUpdates onAdd(Edge edge, NetworkChartContext context)
edge - - newly created edge.context - - with additional informationNetworkUpdates changes which should be applied on view.NetworkUpdates onEdit(EdgeUpdate edgeUpdate, NetworkChartContext context)
edgeUpdate - - object contains information about previous connection between two nodes and current connection.context - - with additional informationNetworkUpdates changes which should be applied on view.NetworkUpdates onRemove(Edges edges, NetworkChartContext context)
edges - - list of edges which should be removed.context - - with additional informationNetworkUpdates changes which should be applied on view.Copyright © 2018. All rights reserved.