Class XMLCellRenderer.XMLItem

java.lang.Object
loci.formats.gui.XMLCellRenderer.XMLItem
Enclosing class:
XMLCellRenderer

private static class XMLCellRenderer.XMLItem extends Object
Cell renderer item for use as DefaultMutableTreeNode user object.
  • Field Details

    • node

      private Node node
  • Constructor Details

    • XMLItem

      public XMLItem(Node node)
  • Method Details

    • toString

      public String toString(boolean html)
    • toString

      public String toString()
      Allows copy and paste from tree component.
      Overrides:
      toString in class Object
    • sanitize

      private String sanitize(String s, boolean html)
      Sanitizes strings to appear correctly in HTML.