com.gargoylesoftware.base.gui
Class ReflectedTableModel.ColumnInfo

java.lang.Object
  extended by com.gargoylesoftware.base.gui.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
private  java.lang.String columnName_
           
private  java.lang.String propertyName_
           
 
Constructor Summary
ReflectedTableModel.ColumnInfo(java.lang.String name)
          Create a new ColumnInfo where the column name and property name are the same.
ReflectedTableModel.ColumnInfo(java.lang.String columnName, java.lang.String propertyName)
          Create a new ColumnInfo with the specified column name and property name.
 
Method Summary
 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

ReflectedTableModel.ColumnInfo

public ReflectedTableModel.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.

ReflectedTableModel.ColumnInfo

public ReflectedTableModel.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.