com.gargoylesoftware.base.gui
Class ReflectedTableModel.ColumnInfo

java.lang.Object
  extended bycom.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.


Constructor Summary
ReflectedTableModel.ColumnInfo(String name)
          Create a new ColumnInfo where the column name and property name are the same.
ReflectedTableModel.ColumnInfo(String columnName, String propertyName)
          Create a new ColumnInfo with the specified column name and property name.
 
Method Summary
 String getColumnName()
          Return the column name.
 String getPropertyName()
          Return the property name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectedTableModel.ColumnInfo

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

ReflectedTableModel.ColumnInfo

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


Copyright © 1998-2005 Gargoyle Software Inc.. All Rights Reserved.