From: kjvdheide Date: Wed, 8 Nov 2017 17:48:49 +0000 (+0000) Subject: Made getters and setters for found nodes public (needed for Jalview) X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a3c44cae09b9d94e3cf63c5c4e776374f646bc67;p=jalview.git Made getters and setters for found nodes public (needed for Jalview) --- diff --git a/forester/java/src/org/forester/archaeopteryx/TreePanel.java b/forester/java/src/org/forester/archaeopteryx/TreePanel.java index 048c9a3..c1f5392 100644 --- a/forester/java/src/org/forester/archaeopteryx/TreePanel.java +++ b/forester/java/src/org/forester/archaeopteryx/TreePanel.java @@ -5025,7 +5025,7 @@ public final class TreePanel extends JPanel implements ActionListener, MouseWhee * @param y * @return pointer to the node at x,y, null if not found */ - final PhylogenyNode findNode( final int x, final int y ) { + public final PhylogenyNode findNode( final int x, final int y ) { if ( ( _phylogeny == null ) || _phylogeny.isEmpty() ) { return null; } @@ -5063,15 +5063,15 @@ public final class TreePanel extends JPanel implements ActionListener, MouseWhee return _domain_structure_e_value_thr_exp; } - final Set getFoundNodes0() { + public final Set getFoundNodes0() { return _found_nodes_0; } - final Set getFoundNodes1() { + public final Set getFoundNodes1() { return _found_nodes_1; } - List getFoundNodesAsListOfPhylogenyNodes() { + public List getFoundNodesAsListOfPhylogenyNodes() { final List additional_nodes = new ArrayList(); if ( getFoundNodes0() != null ) { for( final Long id : getFoundNodes0() ) { @@ -5989,11 +5989,11 @@ public final class TreePanel extends JPanel implements ActionListener, MouseWhee _current_external_nodes_data_buffer = sb; } - final void setFoundNodes0( final Set found_nodes ) { + public final void setFoundNodes0( final Set found_nodes ) { _found_nodes_0 = found_nodes; } - final void setFoundNodes1( final Set found_nodes ) { + public final void setFoundNodes1( final Set found_nodes ) { _found_nodes_1 = found_nodes; }