com.gargoylesoftware.base.gui

Class ReflectedTableModel.ColumnInfo

public static class ReflectedTableModel.ColumnInfo extends Object

This class contains information about one specific column in the table.
Field Summary
StringcolumnName_
StringpropertyName_
Constructor Summary
ColumnInfo(String columnName, String propertyName)
Create a new ColumnInfo with the specified column name and property name.
ColumnInfo(String name)
Create a new ColumnInfo where the column name and property name are the same.
Method Summary
StringgetColumnName()
Return the column name.
StringgetPropertyName()
Return the property name

Field Detail

columnName_

private final String columnName_

propertyName_

private final String propertyName_

Constructor Detail

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 Detail

getColumnName

public String getColumnName()
Return the column name.

Returns: The column name.

getPropertyName

public String getPropertyName()
Return the property name

Returns: The property name.