Class TableDataColumn


  • public class TableDataColumn
    extends java.lang.Object
    Defines a column for a TableData object
    • Constructor Summary

      Constructors 
      Constructor Description
      TableDataColumn​(java.lang.String name, int index, java.lang.Class<?> type)
      Creates a new instance
      TableDataColumn​(java.lang.String name, java.lang.String description, int index, java.lang.Class<?> type)
      Creates a new instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getDescription()
      Get the description
      int getIndex()
      Get the index
      java.lang.String getName()
      Get the header
      java.lang.Class<?> getType()
      Get the data type
      int hashCode()  
      void setDescription​(java.lang.String description)
      Set the description
      void setIndex​(int index)
      Set the index
      void setName​(java.lang.String name)
      Set the header
      void setType​(java.lang.Class<?> type)
      Set the data type
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TableDataColumn

        public TableDataColumn​(java.lang.String name,
                               int index,
                               java.lang.Class<?> type)
        Creates a new instance
        Parameters:
        name - The header
        index - The index
        type - The type of data in this column
      • TableDataColumn

        public TableDataColumn​(java.lang.String name,
                               java.lang.String description,
                               int index,
                               java.lang.Class<?> type)
        Creates a new instance
        Parameters:
        name - The header
        description - A description
        index - The index
        type - The type of data in this column
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the header
        Returns:
        See above
      • setName

        public void setName​(java.lang.String name)
        Set the header
        Parameters:
        name - The header
      • getDescription

        public java.lang.String getDescription()
        Get the description
        Returns:
        See description
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description
        Parameters:
        description - The description
      • getIndex

        public int getIndex()
        Get the index
        Returns:
        See above
      • setIndex

        public void setIndex​(int index)
        Set the index
        Parameters:
        index - The index
      • getType

        public java.lang.Class<?> getType()
        Get the data type
        Returns:
        See above
      • setType

        public void setType​(java.lang.Class<?> type)
        Set the data type
        Parameters:
        type - The data type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object