View Javadoc
1   /*
2    * Created on Jul 18, 2004
3    *
4    * Copyright (c) 2004, The JUNG Authors 
5    *
6    * All rights reserved.
7    *
8    * This software is open-source under the BSD license; see either
9    * "license.txt" or
10   * https://github.com/jrtom/jung/blob/master/LICENSE for a description.
11   */
12  package edu.uci.ics.jung.visualization.decorators;
13  
14  import java.awt.Shape;
15  
16  import com.google.common.base.Function;
17  
18  
19  
20  /**
21   * 
22   * @author Joshua O'Madadhain
23   */
24  public interface SettableVertexShapeTransformer<V> extends Function<V,Shape>
25  {
26      public abstract void setSizeTransformer(Function<V,Integer> vsf);
27  
28      public abstract void setAspectRatioTransformer(Function<V,Float> varf);
29  }