com.tensegrity.gui.swing.control.attributetable
Class PreferenceTableCellRenderer
java.lang.Object
com.tensegrity.gui.swing.control.attributetable.AttributeTableCellRenderer
com.tensegrity.gui.swing.control.attributetable.PreferenceTableCellRenderer
- All Implemented Interfaces:
- javax.swing.table.TableCellRenderer
Deprecated. After the introduction of the AttributeEditorTranslator
which is used to translate cells in the AttributeTable and the
AttributeTree, this class is no longer supported and should not
be used anymore.
- public class PreferenceTableCellRenderer
- extends AttributeTableCellRenderer
The PreferenceTableCellRenderer looks up all provided strings of
column 0 in the UIManager. By doing this, displayed strings get
localized (if there is a matching entry in the UIManager
instance. This renderer also makes all categories unfoldable.
- Version:
- $Id: PreferenceTableCellRenderer.java,v 1.21 2006/03/27 13:01:05 BurkhardWick Exp $
- Author:
- Andreas Ebbert
|
Method Summary |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Deprecated. Returns localized Labels and an unfoldable component for categories. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreferenceTableCellRenderer
public PreferenceTableCellRenderer(SwingAttributeTable attributetable,
UIManager uiManager)
- Deprecated.
- Constructor providing the
UIManager to be used and the
SwingAttributeTable within this editor is used.
- Parameters:
attributetable - the SwingAttributeTable.uiManager - the UIManager to use to localize values.
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
- Deprecated.
- Returns localized Labels and an unfoldable component for categories.
- Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer- Overrides:
getTableCellRendererComponent in class AttributeTableCellRenderer
- Parameters:
table - the JTable to use.value - the value-object to be edited.isSelected - determining whether the cell is selected.hasFocus - determining whether the cell is in focus.row - the row of the cell.column - the column of the cell.
- Returns:
- the
Component that can be used as renderer for the
given value-object.
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.