owltools.gfx
Class HierarchyImage

java.lang.Object
  extended by owltools.gfx.ImageRender
      extended by owltools.gfx.HierarchyImage

public class HierarchyImage
extends ImageRender

Adapted from QuickGO


Field Summary
static int bottomMargin
           
 String errorMessage
           
static int keyMargin
           
 Collection<owltools.gfx.HierarchyImage.KeyNode> legend
           
static int minWidth
           
 Collection<OWLGraphStrokeEdge> relations
           
static int rightMargin
           
 String selected
           
 Collection<OWLGraphLayoutNode> terms
           
 
Fields inherited from class owltools.gfx.ImageRender
height, width
 
Constructor Summary
HierarchyImage(int width, int height, Collection<OWLGraphLayoutNode> terms, Collection<OWLGraphStrokeEdge> relations, GraphStyle style, Set<RelationType> types)
           
HierarchyImage(String errorMessage)
           
 
Method Summary
 String id()
           
protected  void render(Graphics2D g2)
           
 
Methods inherited from class owltools.gfx.ImageRender
prepare, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

terms

public Collection<OWLGraphLayoutNode> terms

relations

public Collection<OWLGraphStrokeEdge> relations

legend

public Collection<owltools.gfx.HierarchyImage.KeyNode> legend

selected

public String selected

errorMessage

public final String errorMessage

keyMargin

public static final int keyMargin
See Also:
Constant Field Values

rightMargin

public static final int rightMargin
See Also:
Constant Field Values

bottomMargin

public static final int bottomMargin
See Also:
Constant Field Values

minWidth

public static final int minWidth
See Also:
Constant Field Values
Constructor Detail

HierarchyImage

public HierarchyImage(String errorMessage)

HierarchyImage

public HierarchyImage(int width,
                      int height,
                      Collection<OWLGraphLayoutNode> terms,
                      Collection<OWLGraphStrokeEdge> relations,
                      GraphStyle style,
                      Set<RelationType> types)
Method Detail

id

public String id()

render

protected void render(Graphics2D g2)
Specified by:
render in class ImageRender


Copyright © 2010-2012. All Rights Reserved.