Class DOMViewer.Panel.NodeRenderer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TreeCellRenderer
Enclosing class:
DOMViewer.Panel

protected class DOMViewer.Panel.NodeRenderer extends DefaultTreeCellRenderer
To render the tree nodes.
See Also:
  • Field Details

    • elementIcon

      protected ImageIcon elementIcon
      The icon used to represent elements.
    • commentIcon

      protected ImageIcon commentIcon
      The icon used to represent comments.
    • piIcon

      protected ImageIcon piIcon
      The icon used to represent processing instructions.
    • textIcon

      protected ImageIcon textIcon
      The icon used to represent text.
  • Constructor Details

    • NodeRenderer

      public NodeRenderer()
      Creates a new NodeRenderer object.
  • Method Details