List of usage examples for org.apache.commons.collections15 Transformer interface-usage
From source file com.github.errantlinguist.latticevisualiser.StateSizeTransformer.java
/**
* A {@link Transformer} for deriving the size of a vertex drawn to represent a
* lattice state.
*
* @author Todd Shore
* @version 2011-11-13
From source file cz.cuni.mff.ksi.jinfer.autoeditor.automatonvisualizer.layouts.transformers.VertexShapeTransformer.java
/** * Transformer for vertex node shape. Transformation is performed according to * values set in AutoEditor options. * @author sviro, rio */ public class VertexShapeTransformer<T> implements Transformer<State<T>, Shape> {
From source file ca.ubc.cs.ferret.cg.VertexLabelAsShapeRenderer.java
/**
* Renders Vertex Labels, but can also supply Shapes for vertices.
* This has the effect of making the vertex label the actual vertex
* shape. The user will probably want to center the vertex label
* on the vertex location.
*
From source file org.apache.joshua.ui.tree_visualizer.DerivationTreeTransformer.java
public class DerivationTreeTransformer implements Transformer<Node, Point2D> { private TreeLayout<Node, DerivationTreeEdge> treeLayout; private DerivationTree graph; private Node root; private Node sourceRoot;
From source file de.d3web.empiricaltesting.casevisualization.jung.EdgeColorTransformer.java
/**
* This class transforms Findings which are the edges of our graph into colors.
*
* @author Sebastian Furth
*
*/
From source file com.github.errantlinguist.latticevisualiser.EdgeStrokeTransformer.java
/**
* A {@link Transformer} for deriving the {@link Stroke} to use for drawing an
* edge from the respective {@link Edge} characteristics it represents.
*
* @author Todd Shore
* @version 2011-11-12
From source file org.ujmp.jung.ColorTransformer.java
public class ColorTransformer<T> implements Transformer<T, Paint> { private PickedState<T> pickedState = null; public ColorTransformer(PickedState<T> pickedState) { this.pickedState = pickedState;
From source file joshua.ui.hypergraph_visualizer.HyperGraphTransformer.java
public class HyperGraphTransformer implements Transformer<Vertex, Point2D> { private JungHyperGraph graph; private TreeLayout<Vertex, Edge> graphTree; static int Y_DIST = 50; static int X_DIST = 50;
From source file de.d3web.empiricaltesting.casevisualization.jung.EdgeStrokeTransformer.java
/**
* This class specifies the strength of the edges / strokes depending on the
* state of the next RatedTestCase.
*
* @author Sebastian Furth
*
From source file inet.CalculationNetworkEditor.Transformers.VertexPaintTransformer.java
/** * * @author andre */ public class VertexPaintTransformer<V, E> implements Transformer<V, Paint> {