Class ArrayDataDescription.ItemDescriptionPane

    • Constructor Detail

      • ItemDescriptionPane

        public ItemDescriptionPane​(String IDString,
                                   String DescriptionString)
        Set up the Descriptionpane using a IDString and a description string.
        Parameters:
        IDString - The id of the item this pane describes
        DescriptionString - The description of the item.
    • Method Detail

      • getMinSize

        public int getMinSize()
        Get the minimal width necessary for this item.
        Returns:
        the minimal size of this item
      • getMinSize

        public int getMinSize​(JLabel label)
        Get the minimial width necessary for a specific JLabel.
        Parameters:
        label - The label for which to determine the minimal size
        Returns:
        The size (in pixels) this label would need, with its current font