Modifier and Type | Interface and Description |
---|---|
interface |
Edge
A general purpose class that provides methods for the management of edges in
a graph.
|
interface |
Graph
An Interface that advises general purpose methods for handling graphs.
|
interface |
Node
An Interface that advises general purpose methods for handling nodes as
elements of a graph.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEdge
This class provides a basic implementation of
Edge interface, to
minimize the effort required to implement this interface. |
class |
AbstractElement
A base implementation of an element.
|
class |
AbstractGraph
This class provides a basic implementation of
Graph interface, to minimize the effort
required to implement this interface. |
class |
AbstractNode
This class provides a basic implementation of
Node interface, to
minimize the effort required to implement this interface. |
class |
AdjacencyListGraph
A lightweight graph class intended to allow the construction of big graphs
(millions of elements).
|
class |
AdjacencyListNode
Nodes used with
AdjacencyListGraph |
class |
DefaultGraph
Default implementation of graph.
|
class |
MultiGraph
A graph implementation that supports multiple edges between two nodes.
|
class |
MultiNode
Nodes used with
MultiGraph |
class |
OneAttributeElement
An implementation of an
Element . |
class |
SingleGraph
An implementation of graph that supports only one edge between two nodes.
|
class |
SingleNode
Nodes used with
SingleGraph |
Modifier and Type | Method and Description |
---|---|
static void |
Graphs.copyAttributes(Element source,
Element target) |
Modifier and Type | Class and Description |
---|---|
class |
GraphicEdge
Graphical edge.
|
class |
GraphicElement
Super class of all graphic node, edge, and sprite elements.
|
class |
GraphicGraph
Graph representation used in display classes.
|
class |
GraphicNode
Graphical node.
|
class |
GraphicSprite
A small gentle sprite.
|
Modifier and Type | Method and Description |
---|---|
Element |
StyleGroup.ElementEvents.getElement()
The element on which the events are occurring.
|
Element |
StyleGroup.getElement(String id)
Return an element of the group, knowing its identifier.
|
Element |
StyleGroup.removeElement(Element element)
Remove a graph element from the group.
|
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Element> |
StyleGroup.bulkElements()
Iterable set of elements that can be drawn in a bulk operation, that is
the subset of all elements that are not dynamic or modified by an event.
|
Iterable<Element> |
StyleGroup.dynamicElements()
Subset of elements that have dynamic style values and therefore must be
rendered one by one, not in groups like others.
|
Iterable<? extends Element> |
StyleGroup.elements()
Iterable set of elements.
|
Iterator<? extends Element> |
StyleGroup.getElementIterator()
Iterator on the set of graph elements of this group.
|
Iterator<Element> |
StyleGroup.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
StyleGroup.activateEventsFor(Element element)
Before drawing an element that has events, use this method to activate
the events, the style values will be modified accordingly.
|
void |
StyleGroup.addElement(Element element)
Add a new graph element to the group.
|
StyleGroup |
StyleGroupSet.addElement(Element element)
Add an element and bind it to its style group.
|
void |
StyleGroupSet.checkElementStyleGroup(Element element)
Check if an element need to change from a style group to another.
|
boolean |
StyleGroup.contains(Element element)
True if the group contains the element given.
|
boolean |
StyleGroup.elementHasEvents(Element element)
True if the given element actually has active events.
|
boolean |
StyleGroup.elementIsDynamic(Element element)
True if the given element has dynamic style values provided by specific
attributes.
|
void |
StyleGroupListener.elementStyleChanged(Element element,
StyleGroup oldStyle,
StyleGroup style)
The style of the element changed.
|
void |
GraphicGraph.elementStyleChanged(Element element,
StyleGroup oldStyle,
StyleGroup style) |
String |
StyleGroupSet.getElementGroup(Element element)
Retrieve the group identifier of an element knowing the element
identifier.
|
StyleGroup.ElementEvents |
StyleGroup.getEventsFor(Element element)
Set of events for a given element or null if the element has not
currently occurring events.
|
StyleGroup |
StyleGroupSet.getStyleForElement(Element element)
Get the style of an element.
|
boolean |
StyleGroup.isElementDynamic(Element element)
Test if an element is pushed as dynamic.
|
void |
StyleGroupSet.popElementAsDynamic(Element element)
Remove the given element from the subset of elements having dynamic style
attribute values.
|
void |
StyleGroupSet.popEventFor(Element element,
String event)
Pop an event specifically for a given element.
|
void |
StyleGroupSet.pushElementAsDynamic(Element element)
Specify the given element has dynamic style attribute values.
|
void |
StyleGroupSet.pushEventFor(Element element,
String event)
Push an event specifically for a given element.
|
Element |
StyleGroup.removeElement(Element element)
Remove a graph element from the group.
|
void |
StyleGroupSet.removeElement(Element element)
Remove an element from the group set.
|
Constructor and Description |
---|
StyleGroup(String identifier,
Collection<Rule> rules,
Element firstElement,
StyleGroupSet.EventSet eventSet)
New style group for a first graph element and the set of style rules that
matches it.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Rule> |
StyleSheet.getRulesFor(Element element)
Get the rules that match a given element.
|
String |
StyleSheet.getStyleGroupIdFor(Element element,
ArrayList<Rule> rules)
Compute the name of the style group and element will pertain to knowing
its styling rules.
|
Modifier and Type | Class and Description |
---|---|
class |
Sprite
A gentle little sprite.
|
Modifier and Type | Method and Description |
---|---|
Element |
Sprite.getAttachment()
The element the sprite is attached to or null if the sprite is not
attached.
|
Modifier and Type | Method and Description |
---|---|
void |
SwingBasicGraphRenderer.elementStyleChanged(Element element,
StyleGroup oldStyle,
StyleGroup style) |
Modifier and Type | Interface and Description |
---|---|
interface |
Filter<T extends Element> |
Modifier and Type | Method and Description |
---|---|
static <T extends Element> |
Filters.and(Filter<T> f1,
Filter<T> f2) |
static <T extends Element> |
Filters.byAttributeFilter(String key,
Object expectedValue) |
static <T extends Element,U extends Element> |
Filters.byExtremitiesFilter(Filter<U> f) |
static <T extends Element,U extends Element> |
Filters.byExtremitiesFilter(Filter<U> f) |
static <T extends Element> |
Filters.byIdFilter(String idPattern) |
static <T extends Element> |
Filters.falseFilter() |
static <T extends Element> |
Filters.isContained(Collection<? extends T> set) |
static <T extends Element> |
Filters.isIdContained(Collection<String> set) |
static <T extends Element> |
Filters.not(Filter<T> f) |
static <T extends Element> |
Filters.or(Filter<T> f1,
Filter<T> f2) |
static <T extends Element,U extends Element> |
Filters.separateNodeAndEdgeFilter(Filter<T> nodeFilter,
Filter<U> edgeFilter) |
static <T extends Element,U extends Element> |
Filters.separateNodeAndEdgeFilter(Filter<T> nodeFilter,
Filter<U> edgeFilter) |
static <T extends Element> |
Filters.trueFilter() |
static <T extends Element> |
Filters.xor(Filter<T> f1,
Filter<T> f2) |
Modifier and Type | Method and Description |
---|---|
static <T extends Element,U extends Element> |
Filters.separateNodeAndEdgeFilter(Filter<T> nodeFilter,
Filter<U> edgeFilter) |
Copyright © 2015. All rights reserved.