JAligner

jaligner
Class TracebackNode

java.lang.Object
  extended byjaligner.TracebackNode

public final class TracebackNode
extends java.lang.Object

Traceback node

Author:
Bram Minnaert, Ahmed Moustafa

Constructor Summary
TracebackNode()
          Constructor
 
Method Summary
 byte getDirection()
           
 int getLength()
           
 void setDiagonal()
          Sets the direction to diagonal
 void setLeft(int length)
          Sets the direction to left
 void setStop()
          Sets the direction to stop
 void setUp(int length)
          Sets the direction to up
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TracebackNode

public TracebackNode()
Constructor

Method Detail

setDiagonal

public void setDiagonal()
Sets the direction to diagonal


setUp

public void setUp(int length)
Sets the direction to up

Parameters:
length - length of gap

setLeft

public void setLeft(int length)
Sets the direction to left

Parameters:
length - length of gap

setStop

public void setStop()
Sets the direction to stop


getDirection

public byte getDirection()
Returns:
Returns the direction.

getLength

public int getLength()
Returns:
Returns the length.

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)