owltools.gfx
Class OWLGraphLayoutNode

java.lang.Object
  extended by owltools.gfx.OWLGraphLayoutNode
All Implemented Interfaces:
uk.ac.ebi.interpro.graphdraw.LayoutNode, uk.ac.ebi.interpro.graphdraw.Node

public class OWLGraphLayoutNode
extends Object
implements uk.ac.ebi.interpro.graphdraw.Node, uk.ac.ebi.interpro.graphdraw.LayoutNode


Nested Class Summary
 class OWLGraphLayoutNode.SVGRectangle
           
 
Field Summary
 Stroke border
           
 Color fill
           
 Font font
           
 int height
           
 String id
           
 Color idColour
           
 String label
           
 Color line
           
 org.semanticweb.owlapi.model.OWLObject owlObject
           
 int topLine
           
 int width
           
 int x
           
 int y
           
 
Constructor Summary
OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper, org.semanticweb.owlapi.model.OWLObject owlObject)
           
OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper, org.semanticweb.owlapi.model.OWLObject owlObject, GraphStyle style)
           
 
Method Summary
 int bottom()
           
 int getHeight()
           
 org.semanticweb.owlapi.model.OWLObject getOwlObject()
           
 int getWidth()
           
 int left()
           
 void render(Graphics2D g2)
           
 void renderID(Graphics2D g2)
           
 int right()
           
 Object serialise()
           
 void setLocation(int x, int y)
           
 int top()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

public Font font

owlObject

public org.semanticweb.owlapi.model.OWLObject owlObject

label

public String label

id

public String id

x

public int x

y

public int y

width

public int width

height

public int height

topLine

public int topLine

fill

public Color fill

line

public Color line

border

public Stroke border

idColour

public Color idColour
Constructor Detail

OWLGraphLayoutNode

public OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper,
                          org.semanticweb.owlapi.model.OWLObject owlObject)

OWLGraphLayoutNode

public OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper,
                          org.semanticweb.owlapi.model.OWLObject owlObject,
                          GraphStyle style)
Method Detail

getOwlObject

public org.semanticweb.owlapi.model.OWLObject getOwlObject()

getWidth

public int getWidth()
Specified by:
getWidth in interface uk.ac.ebi.interpro.graphdraw.LayoutNode

getHeight

public int getHeight()
Specified by:
getHeight in interface uk.ac.ebi.interpro.graphdraw.LayoutNode

setLocation

public void setLocation(int x,
                        int y)
Specified by:
setLocation in interface uk.ac.ebi.interpro.graphdraw.LayoutNode

left

public int left()

right

public int right()

top

public int top()

bottom

public int bottom()

render

public void render(Graphics2D g2)

renderID

public void renderID(Graphics2D g2)

serialise

public Object serialise()


Copyright © 2010-2011. All Rights Reserved.