org.blackbox.shell
Class BBX_SimpleInterval

java.lang.Object
  extended by org.blackbox.model.Hypothesis
      extended by org.blackbox.hypothesis.HSimpleInterval
          extended by org.blackbox.shell.BBX_SimpleInterval
All Implemented Interfaces:
java.lang.Comparable, Interval, ObservableEntity

public class BBX_SimpleInterval
extends HSimpleInterval


Field Summary
 
Fields inherited from class org.blackbox.model.Hypothesis
curEvent
 
Constructor Summary
BBX_SimpleInterval(java.lang.Object knowledge, Domain home, KnowledgeSource creator)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object o)
           
 int getFrame()
          Frame of this interval.
 int getLength()
          Retourne la taille de cet intervalle.
 int getMax()
          Retourne la plus grande des deux coordonnees.
 int getMin()
          Retourne la plus petite des deux coordonnees.
 boolean getStrand()
          Strand holding this interval.
 boolean isFramed()
          Return true if this interval is framed.
 java.lang.String seqString()
          String representation for this interval.
 void setStrand(boolean b)
           
 
Methods inherited from class org.blackbox.model.Hypothesis
addObserver, gainFocus, getDomainOrigin, getKnowledge, getKsCreator, loseFocus, notifyObservers, removeObserver, setDomainOrigin, setKnowledge, setKsCreator
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBX_SimpleInterval

public BBX_SimpleInterval(java.lang.Object knowledge,
                          Domain home,
                          KnowledgeSource creator)
Method Detail

getMax

public int getMax()
Description copied from interface: Interval
Retourne la plus grande des deux coordonnees.


getMin

public int getMin()
Description copied from interface: Interval
Retourne la plus petite des deux coordonnees.


getLength

public int getLength()
Description copied from interface: Interval
Retourne la taille de cet intervalle.


seqString

public java.lang.String seqString()
Description copied from interface: Interval
String representation for this interval.

Returns:
the string representation.

getFrame

public int getFrame()
Description copied from interface: Interval
Frame of this interval.

Returns:
the frame or 0.

getStrand

public boolean getStrand()
Description copied from interface: Interval
Strand holding this interval.

Returns:
the frame or 0.

setStrand

public void setStrand(boolean b)

isFramed

public boolean isFramed()
Description copied from interface: Interval
Return true if this interval is framed.

Returns:
true if this interval is framed.

compareTo

public int compareTo(java.lang.Object o)

clone

public java.lang.Object clone()
Specified by:
clone in class Hypothesis