public TreePanel(AlignmentPanel alignPanel, NewickFile fin,
AlignmentAnnotation aa, String title)
{
- this(alignPanel, fin, title, null);
- columnWise=true;
+ 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()
+
+ boolean columnWise = false;
+
+ AlignmentAnnotation assocAnnotation = null;
+
+ public boolean isColumnWise()
{
return columnWise;
}
+ public AlignmentAnnotation getAssocAnnotation()
+ {
+ return assocAnnotation;
+ }
+
public AlignmentI getAlignment()
{
return getTreeCanvas().getViewport().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);