Class UnitContainerNodeWrapper

    • Constructor Detail

      • UnitContainerNodeWrapper

        public UnitContainerNodeWrapper​(UnitContainer uc)
        Creates a new container node wrapper.
      • UnitContainerNodeWrapper

        public UnitContainerNodeWrapper​(UnitContainer uc,
                                        boolean showFreeLoad)
        Creates a new UnitContainerNodeWrapper object.
        Parameters:
        uc -
        showFreeLoad - If this is true, the free space is returned in the text
      • UnitContainerNodeWrapper

        public UnitContainerNodeWrapper​(UnitContainer uc,
                                        boolean showFreeLoad,
                                        boolean hasOwner,
                                        java.lang.String prefix)
        Creates a new UnitContainerNodeWrapper object.
        Parameters:
        uc -
        showFreeLoad - If this is true, the free space is returned in the text
        hasOwner - if true, the text indicates that the node is displayed for the owner
        prefix - Text that is prepended the container name