owltools.gfx
Class OWLGraphLayoutNode
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
OWLGraphLayoutNode
public OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper,
org.semanticweb.owlapi.model.OWLObject owlObject)
OWLGraphLayoutNode
public OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper,
org.semanticweb.owlapi.model.OWLObject owlObject,
GraphStyle style)
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.