org.blackbox.shell
Class BBX_Pattern

java.lang.Object
  extended by org.blackbox.model.Hypothesis
      extended by org.blackbox.hypothesis.HPattern
          extended by org.blackbox.shell.BBX_Pattern
All Implemented Interfaces:
Interval, ObservableEntity

public final class BBX_Pattern
extends HPattern


Field Summary
 
Fields inherited from class org.blackbox.model.Hypothesis
curEvent
 
Constructor Summary
BBX_Pattern(java.lang.Object knowledge, Domain home, KnowledgeSource creator)
           
 
Method Summary
 java.lang.Object clone()
           
 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.
 java.lang.String getPattern()
           
 boolean getStrand()
          Strand holding this interval.
 boolean isFramed()
          Return true if this interval is framed.
 java.lang.String seqString()
          String representation for this interval.
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

BBX_Pattern

public BBX_Pattern(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.


getPattern

public java.lang.String getPattern()
Specified by:
getPattern in class HPattern

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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.

isFramed

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

Returns:
true if this interval is framed.

clone

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