Class Tree.TreePopupSubmenu

  • Enclosing class:
    Tree

    public static class Tree.TreePopupSubmenu
    extends Object
    Container object for a custom submenu in the tree popup.
    • Field Detail

      • title

        public String title
        the title.
      • icon

        public Icon icon
        the icon.
      • items

        public List<Class> items
        the submenu classes.
    • Constructor Detail

      • TreePopupSubmenu

        public TreePopupSubmenu()
        Default constructor.
      • TreePopupSubmenu

        public TreePopupSubmenu​(String title,
                                String icon)
        Initializes the container.
        Parameters:
        title - the submenu title
        icon - the icon name, ignored if null or empty