net.sourceforge.fluxion.pussycat.entity.impl
Class PussycatMarkerEntity

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.entity.impl.PussycatMarkerEntity
All Implemented Interfaces:
RenderableInPussycat, RenderableOWLEntity<org.semanticweb.owl.model.OWLIndividual>

public class PussycatMarkerEntity
extends java.lang.Object
implements RenderableOWLEntity<org.semanticweb.owl.model.OWLIndividual>

The PussycatMarkerEntity class Defines a marker glyph that can be drawn by Pussycat

Author:
Rob Davey

Constructor Summary
PussycatMarkerEntity(org.mindswap.pellet.owlapi.Reasoner reasoner, org.semanticweb.owl.model.OWLOntology ontology, org.semanticweb.owl.model.OWLIndividual i, double mapStart, double mapEnd, double mapHeight)
           
 
Method Summary
 void build()
           
 void destroy()
           
 double getComponentEnd()
           
 double getComponentStart()
           
 org.semanticweb.owl.model.OWLIndividual getEntity()
           
 java.lang.String getId()
           
 int getXOffset()
           
 int getYOffset()
           
 boolean isDockable()
           
 void renderMarkerText(boolean text)
           
 void setEntity(org.semanticweb.owl.model.OWLIndividual i)
           
 void setId(java.lang.String id)
           
 void setRenderlet(Renderlet renderlet)
           
 void setXOffset(int xo)
           
 void setYOffset(int yo)
           
 java.lang.String toString()
           
 void updateBounds(double mapStart, double mapEnd, double mapHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PussycatMarkerEntity

public PussycatMarkerEntity(org.mindswap.pellet.owlapi.Reasoner reasoner,
                            org.semanticweb.owl.model.OWLOntology ontology,
                            org.semanticweb.owl.model.OWLIndividual i,
                            double mapStart,
                            double mapEnd,
                            double mapHeight)
                     throws PussycatException
Throws:
PussycatException
Method Detail

updateBounds

public void updateBounds(double mapStart,
                         double mapEnd,
                         double mapHeight)

isDockable

public boolean isDockable()
Specified by:
isDockable in interface RenderableInPussycat

build

public void build()
           throws PussycatException
Specified by:
build in interface RenderableInPussycat
Throws:
PussycatException

getId

public java.lang.String getId()
Specified by:
getId in interface RenderableInPussycat

setId

public void setId(java.lang.String id)
Specified by:
setId in interface RenderableInPussycat

setRenderlet

public void setRenderlet(Renderlet renderlet)
Specified by:
setRenderlet in interface RenderableInPussycat

setEntity

public void setEntity(org.semanticweb.owl.model.OWLIndividual i)
               throws PussycatException
Specified by:
setEntity in interface RenderableOWLEntity<org.semanticweb.owl.model.OWLIndividual>
Throws:
PussycatException

getEntity

public org.semanticweb.owl.model.OWLIndividual getEntity()
                                                  throws PussycatException
Specified by:
getEntity in interface RenderableOWLEntity<org.semanticweb.owl.model.OWLIndividual>
Throws:
PussycatException

renderMarkerText

public void renderMarkerText(boolean text)

getXOffset

public int getXOffset()

setXOffset

public void setXOffset(int xo)

getYOffset

public int getYOffset()

setYOffset

public void setYOffset(int yo)

getComponentStart

public double getComponentStart()

getComponentEnd

public double getComponentEnd()

destroy

public void destroy()
Specified by:
destroy in interface RenderableInPussycat

toString

public java.lang.String toString()
Specified by:
toString in interface RenderableInPussycat
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.