public TreePanel(AlignmentPanel alignPanel, NewickFile fin,
AlignmentAnnotation aa, String title)
{
- this(alignPanel, fin, title, null);
+ super();
columnWise=true;
assocAnnotation = aa;
-
-
+ this.setFrameIcon(null);
+ this.treeTitle = title;
+ initTreePanel(alignPanel, null, null, fin, null);
}
+
boolean columnWise=false;
AlignmentAnnotation assocAnnotation=null;
- public boolean getColumnWise()
+ public boolean isColumnWise()
{
return columnWise;
}
+ public AlignmentAnnotation getAssocAnnotation() {
+ return assocAnnotation;
+ }
public AlignmentI getAlignment()
{
this.treeType = type;
this.scoreModelName = modelName;
+ if (columnWise)
+ {
+ bootstrapMenu.setVisible(false);
+ placeholdersMenu.setSelected(false);
+ placeholdersMenu.setVisible(false);
+ fitToWindow.setSelected(false);
+ sortAssocViews.setVisible(false);
+ }
+
treeCanvas = new TreeCanvas(this, ap, scrollPane);
scrollPane.setViewportView(treeCanvas);