Example usage for org.apache.commons.collections15 Transformer interface-usage

List of usage examples for org.apache.commons.collections15 Transformer interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.collections15 Transformer interface-usage.

Usage

From source file org.eclipse.titanium.graph.visualization.NodeShape.java

/**
 * This class sets round rectangle as node's shape
 * 
 * @author Gabor Jenei
 * @param <V>
 *            the node's type

From source file vnreal.gui.transformer.NodeToolTipTransformer.java

public final class NodeToolTipTransformer<V extends Node<? extends AbstractConstraint>>
        implements Transformer<V, String> {
    private boolean enabled = false;

    public boolean isEnabled() {
        return enabled;

From source file graphml.vertexPainter.java

class vertexPainter implements Transformer<node, Paint> {
    public Paint transform(node v) //So for each node that we draw...
    {
        //We check the member variable, mColor, of the node.
        if (v.getColor().equalsIgnoreCase("yellow")) //If the node's mColor value is "yellow" we...
            return (Color.yellow); // Return our color, Color.yellow.

From source file JGraphLoader.vertexPainter.java

class vertexPainter implements Transformer<node, Paint> {
    public Paint transform(node v) //So for each node that we draw...
    {
        //We check the member variable, mColor, of the node.
        if (v.getColor().equalsIgnoreCase("yellow")) //If the node's mColor value is "yellow" we...
            return (Color.yellow); // Return our color, Color.yellow.

From source file vnreal.algorithms.utils.SubstrateLinkEnergyTransformer.java

public class SubstrateLinkEnergyTransformer implements Transformer<SubstrateLink, Double> {

    public SubstrateLinkEnergyTransformer() {
    }

    public Double transform(SubstrateLink l) {

From source file vnreal.gui.transformer.LinkToolTipTransformer.java

public final class LinkToolTipTransformer<E extends Link<? extends AbstractConstraint>>
        implements Transformer<E, String> {
    private boolean enabled = false;

    public boolean isEnabled() {
        return enabled;

From source file ch.epfl.lis.gnwgui.jungtransformers.NodeFillColorTransformer.java

/** This transformer defines the inside color of the nodes belonging to the graph visualizations.
 * 
 * @author Thomas Schaffter (firstname.name@gmail.com)
 *
 * @param <V> Vertex
 * 

From source file net.roboconf.doc.generator.internal.transformers.AbstractRoboconfTransformer.java

/**
 * A transformer to find vertex positions for Roboconf's relations.
 * <p>
 * It aims at being used with {@link StaticLayout}. But rather than creating your layout,
 * you should use {@link #getConfiguredLayout()} instead.
 * </p>

From source file vnreal.algorithms.utils.energy.linkStressTransformers.SubstrateLinkDemandTransformer.java

public class SubstrateLinkDemandTransformer implements Transformer<SubstrateLink, Double> {

    private Collection<AbstractDemand> vldemands;

    public SubstrateLinkDemandTransformer(Collection<AbstractDemand> vldemands) {

From source file ch.epfl.lis.gnwgui.jungtransformers.EdgeArrowColorTransformer.java

/** This transformer defines the color of the interactions of the graph visualizations.
 * 
 * @author Thomas Schaffter (firstname.name@gmail.com)
 *
 * @param <E> Edge
 *