Class ReflectedTableModel.ColumnInfo

java.lang.Object
com.gargoylesoftware.base.gui.ReflectedTableModel.ColumnInfo
Enclosing class:
ReflectedTableModel

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

    • columnName_

      private final String columnName_
    • propertyName_

      private final String propertyName_
  • Constructor Details

    • ColumnInfo

      public ColumnInfo(String columnName, 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(String name)
      Create a new ColumnInfo where the column name and property name are the same.
      Parameters:
      name - The name.
  • Method Details

    • getColumnName

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

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