Class FeatureTree

    • Constructor Detail

      • FeatureTree

        public FeatureTree()
        Create a new FeatureTree
    • Method Detail

      • setSequenceDB

        public void setSequenceDB​(SequenceDB db)
                           throws BioException
        Use this method to provide the sequences for the tree to work with.
        Parameters:
        db - A database of Sequences to display
        Throws:
        BioException - if information cannot be retrieved from db
      • convertValueToText

        public String convertValueToText​(Object value,
                                         boolean selected,
                                         boolean expanded,
                                         boolean leaf,
                                         int row,
                                         boolean hasFocus)
        Labels Sequence objects with their name, Annotations with the tag Annotations, Features with the tag Features and other objects with the toString value.
        Overrides:
        convertValueToText in class JTree