public class OWLGraphLayoutNode extends Object implements uk.ac.ebi.interpro.graphdraw.Node, uk.ac.ebi.interpro.graphdraw.LayoutNode
Modifier and Type | Class and Description |
---|---|
class |
OWLGraphLayoutNode.SVGRectangle |
Modifier and Type | Field and Description |
---|---|
Stroke |
border |
Color |
fill |
Font |
font |
int |
height |
String |
id |
Color |
idColour |
String |
label |
Color |
line |
int |
topLine |
int |
width |
int |
x |
int |
y |
Constructor and Description |
---|
OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper,
org.semanticweb.owlapi.model.OWLObject owlObject) |
OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper,
org.semanticweb.owlapi.model.OWLObject owlObject,
GraphStyle style) |
Modifier and Type | Method and Description |
---|---|
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() |
public Font font
public String label
public String id
public int x
public int y
public int width
public int height
public int topLine
public Color fill
public Color line
public Stroke border
public Color idColour
public OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper, org.semanticweb.owlapi.model.OWLObject owlObject)
public OWLGraphLayoutNode(OWLGraphWrapper owlGraphWrapper, org.semanticweb.owlapi.model.OWLObject owlObject, GraphStyle style)
public org.semanticweb.owlapi.model.OWLObject getOwlObject()
public int getWidth()
getWidth
in interface uk.ac.ebi.interpro.graphdraw.LayoutNode
public int getHeight()
getHeight
in interface uk.ac.ebi.interpro.graphdraw.LayoutNode
public void setLocation(int x, int y)
setLocation
in interface uk.ac.ebi.interpro.graphdraw.LayoutNode
public int left()
public int right()
public int top()
public int bottom()
public void render(Graphics2D g2)
public void renderID(Graphics2D g2)
public Object serialise()
Copyright © 2010–2015. All rights reserved.