| javax.swing.DefaultCellEditor com.xoetrope.carousel.services.table.RouteTableCellEditor
RouteTableCellEditor | public class RouteTableCellEditor extends DefaultCellEditor (Code) | | Custom DefaultCellEditor for a table which does not allow editing of the
first column
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.2 $
author: val |
RouteTableCellEditor | public RouteTableCellEditor(JTextField textField)(Code) | | Creates a new instance of RouteTableCellEditor
|
getTableCellEditorComponent | public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)(Code) | | Return the appropriate cell editor component depending on the active column
If it is column 1 return whatever the super class uses otherwise return a
read only label
Parameters: table - The JTable being edited Parameters: value - the current value of the cell Parameters: isSelected - whether the content should be selected Parameters: row - the index of the row being edited Parameters: column - the index of the column being edited the appropriate component |
|
|