| javax.swing.DefaultCellEditor com.xoetrope.swing.table.XCheckBoxTableCellRenderer
XCheckBoxTableCellRenderer | public class XCheckBoxTableCellRenderer extends DefaultCellEditor implements TableCellRenderer(Code) | | A table cell renderer that renders boolean content with a checkbox
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.
|
XCheckBoxTableCellRenderer | public XCheckBoxTableCellRenderer()(Code) | | Creates a new instance of XCheckBoxTableCellRenderer
|
getTableCellRendererComponent | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)(Code) | | Returns the default table cell renderer.
Parameters: table - the JTable Parameters: value - the value to assign to the cell at[row, column] Parameters: isSelected - true if cell is selected Parameters: hasFocus - true if cell has focus Parameters: row - the row of the cell to render Parameters: column - the column of the cell to render the default table cell renderer |
setValue | public void setValue(Object value)(Code) | | Sets the String object for the cell being rendered to
value .
Parameters: value - the string value for this cell; if value isnull it sets the text value to an empty string See Also: JLabel.setText |
|
|