com.tirsen.angkor.table
Class TableColumn

java.lang.Object
  |
  +--com.tirsen.angkor.table.TableColumn
All Implemented Interfaces:
ChangeSource, java.io.Serializable

public class TableColumn
extends java.lang.Object
implements java.io.Serializable, ChangeSource

Version:
$Revision: 1.4 $
$Id: TableColumn.java,v 1.4 2002/10/09 21:37:37 tirsen Exp $
Author:
$Author: tirsen $
See Also:
Serialized Form

Constructor Summary
TableColumn(TableCellViewFactory viewFactory)
           
TableColumn(TableModel model, int index)
           
 
Method Summary
 void addChangeListener(ChangeListener listener)
           
 ValueModel getCellModel(int row)
           
 View getCellView(Table view, int row, int column)
           
 java.lang.String getColumnName()
           
 boolean isVisible()
           
 void removeChangeListener(ChangeListener listener)
           
 void setViewFactory(TableCellViewFactory viewFactory)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableColumn

public TableColumn(TableCellViewFactory viewFactory)

TableColumn

public TableColumn(TableModel model,
                   int index)
Method Detail

setViewFactory

public void setViewFactory(TableCellViewFactory viewFactory)

getCellView

public View getCellView(Table view,
                        int row,
                        int column)

getCellModel

public ValueModel getCellModel(int row)

getColumnName

public java.lang.String getColumnName()

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

addChangeListener

public void addChangeListener(ChangeListener listener)
Specified by:
addChangeListener in interface ChangeSource

removeChangeListener

public void removeChangeListener(ChangeListener listener)
Specified by:
removeChangeListener in interface ChangeSource


Copyright © 2002-2002 . All Rights Reserved.