Java javax.swing.table DefaultTableCellRenderer fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.table DefaultTableCellRenderer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.table DefaultTableCellRenderer.

The text is from its open source code.

Subclass

javax.swing.table.DefaultTableCellRenderer has subclasses.
Click this link to see all its subclasses.

Constructor

DefaultTableCellRenderer()
Creates a default table cell renderer.

Method

FontgetFont()
Gets the font of this component.
FontMetricsgetFontMetrics(Font font)
Gets the FontMetrics for the specified Font.
voidputClientProperty(Object key, Object value)
Adds an arbitrary key/value "client property" to this component.
voidsetBackground(Color c)
Overrides JComponent.setBackground to assign the unselected-background color to the specified color.
voidsetBorder(Border border)
Sets the border of this component.
voidsetFocusable(boolean focusable)
Sets the focusable state of this Component to the specified value.
voidsetFont(Font font)
Sets the font for this component.
voidsetForeground(Color c)
Overrides JComponent.setForeground to assign the unselected-foreground color to the specified color.
voidsetHorizontalAlignment(int alignment)
Sets the alignment of the label's contents along the X axis.
voidsetHorizontalTextPosition(int textPosition)
Sets the horizontal position of the label's text, relative to its image.
voidsetOpaque(boolean isOpaque)
If true the component paints every pixel within its bounds.
voidsetPreferredSize(Dimension preferredSize)
Sets the preferred size of this component.
voidsetToolTipText(String text)
Registers the text to display in a tool tip.