Class PropertiesTableModel

    • Constructor Detail

      • PropertiesTableModel

        public PropertiesTableModel()
        Initializes the table model with no data.
      • PropertiesTableModel

        public PropertiesTableModel​(Properties props)
        Initializes the table model.
        Parameters:
        props - the props to display
      • PropertiesTableModel

        public PropertiesTableModel​(Properties props)
        Initializes the table model.
        Parameters:
        props - the props to display
    • Method Detail

      • getProperties

        public Properties getProperties()
        Returns the current content as properties.
        Returns:
        the properties
      • convert

        protected static String[][] convert​(Properties data)
        Turns the properties into key-value pairs. The keys are sorted alphabetically.
        Parameters:
        data - the data to convert
        Returns:
        the converted data