Class ReflectedTableModel.ColumnInfo

  • Enclosing class:
    ReflectedTableModel

    public static class ReflectedTableModel.ColumnInfo
    extends java.lang.Object
    This class contains information about one specific column in the table.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String columnName_  
      private java.lang.String propertyName_  
    • Constructor Summary

      Constructors 
      Constructor Description
      ColumnInfo​(java.lang.String name)
      Create a new ColumnInfo where the column name and property name are the same.
      ColumnInfo​(java.lang.String columnName, java.lang.String propertyName)
      Create a new ColumnInfo with the specified column name and property name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getColumnName()
      Return the column name.
      java.lang.String getPropertyName()
      Return the property name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • columnName_

        private final java.lang.String columnName_
      • propertyName_

        private final java.lang.String propertyName_
    • Constructor Detail

      • ColumnInfo

        public ColumnInfo​(java.lang.String columnName,
                          java.lang.String propertyName)
        Create a new ColumnInfo with the specified column name and property name.
        Parameters:
        columnName - The name used by the table
        propertyName - The name of the property that we will get the data from.
      • ColumnInfo

        public ColumnInfo​(java.lang.String name)
        Create a new ColumnInfo where the column name and property name are the same.
        Parameters:
        name - The name.
    • Method Detail

      • getColumnName

        public java.lang.String getColumnName()
        Return the column name.
        Returns:
        The column name.
      • getPropertyName

        public java.lang.String getPropertyName()
        Return the property name
        Returns:
        The property name.