Package | Description |
---|---|
org.dishevelled.observable.graph |
Observable decorators for graph interfaces.
|
org.dishevelled.observable.graph.event |
Observable graph interface change event support.
|
org.dishevelled.observable.graph.impl |
Implementation(s) of the ObservableGraph interface.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractObservableGraph<N,E>
Abstract implementation of an observable graph that decorates an
instance of
Graph . |
Modifier and Type | Method and Description |
---|---|
ObservableGraph<N,E> |
VetoableGraphChangeEvent.getObservableGraph()
Return the source of this vetoable graph change event as an
ObservableGraph . |
ObservableGraph<N,E> |
GraphChangeEvent.getObservableGraph()
Return the source of this graph change event as an
ObservableGraph . |
Modifier and Type | Method and Description |
---|---|
protected void |
ObservableGraphChangeSupport.setSource(ObservableGraph<N,E> source)
Set the source of graph change and vetoable graph change events
to
source . |
Constructor and Description |
---|
GraphChangeEvent(ObservableGraph<N,E> source)
Create a new graph change event with the specified
observable graph as the event source.
|
GraphChangeEvent(ObservableGraph<N,E> source,
Edge<N,E> edge)
Create a new graph change event with the specified
observable graph as the event source and the specified
newly created or removed edge.
|
GraphChangeEvent(ObservableGraph<N,E> source,
Node<N,E> node)
Create a new graph change event with the specified
observable graph as the event source and the specified
newly created or removed node.
|
ObservableGraphChangeSupport(ObservableGraph<N,E> source)
Create a new support class that fires graph change and
vetoable graph change events with the specified source as the
source of the events.
|
VetoableGraphChangeEvent(ObservableGraph<N,E> source)
Create a new vetoable graph change event with the
specified observable graph as the event source.
|
VetoableGraphChangeEvent(ObservableGraph<N,E> source,
Edge<N,E> edge)
Create a new vetoable graph change event with the
specified observable graph as the event source and the
specified about to be removed edge.
|
VetoableGraphChangeEvent(ObservableGraph<N,E> source,
N nodeValue)
Create a new vetoable graph change event with the
specified observable graph as the event source and the specified
node value for an about to be created node.
|
VetoableGraphChangeEvent(ObservableGraph<N,E> source,
Node<N,E> node)
Create a new vetoable graph change event with the
specified observable graph as the event source and the specified
about to be removed node.
|
VetoableGraphChangeEvent(ObservableGraph<N,E> source,
Node<N,E> sourceNode,
Node<N,E> targetNode,
E edgeValue)
Create a new vetoable graph change event with the
specified observable graph as the event source and specified
source node, target node, and edge value for an about to be
created edge.
|
Modifier and Type | Class and Description |
---|---|
class |
ObservableGraphImpl<N,E>
Observable graph decorator that fires vetoable graph change events
in
preXxx methods and graph change events in
postXxx methods. |
Modifier and Type | Method and Description |
---|---|
static <N,E> ObservableGraph<N,E> |
ObservableGraphUtils.observableGraph(Graph<N,E> graph)
Create and return a new observable decorator for the specified graph.
|
Copyright (c) 2008-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).