ini.trakem2.analysis
Class Compare.Chain

java.lang.Object
  extended by ini.trakem2.analysis.Compare.Chain
Enclosing class:
Compare

public static class Compare.Chain
extends java.lang.Object

Represents a list of concatenated pipes, where each pipe is parent of the next within the ProjectTree.


Field Summary
 java.lang.String title
           
 VectorString3D vs
           
 
Constructor Summary
Compare.Chain(Line3D root)
           
 
Method Summary
 void append(Line3D p)
           
 Compare.Chain duplicate()
           
 java.lang.String getCellTitle()
           
 java.awt.Color getColor()
          Returns the color of the root pipe.
 Line3D getRoot()
           
 java.lang.String getShortCellTitle()
          Returns max 10 chars, solely the name of the parent's parent node of the root pipe (aka the [lineage] containing the [branch]) or the id if too long.
 java.lang.String getTitle()
           
 void showCentered2D(boolean shift_down)
          Show centered, set visible and select.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vs

public VectorString3D vs

title

public java.lang.String title
Constructor Detail

Compare.Chain

public Compare.Chain(Line3D root)
Method Detail

append

public final void append(Line3D p)
                  throws java.lang.Exception
Throws:
java.lang.Exception

duplicate

public final Compare.Chain duplicate()

toString

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

getTitle

public final java.lang.String getTitle()

getCellTitle

public final java.lang.String getCellTitle()

getShortCellTitle

public final java.lang.String getShortCellTitle()
Returns max 10 chars, solely the name of the parent's parent node of the root pipe (aka the [lineage] containing the [branch]) or the id if too long. Intended for the 10-digit limitation in the problem in .dis files for Phylip.


getColor

public final java.awt.Color getColor()
Returns the color of the root pipe.


getRoot

public final Line3D getRoot()

showCentered2D

public final void showCentered2D(boolean shift_down)
Show centered, set visible and select.