Example usage for Java javax.swing.table DefaultTableCellRenderer fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultTableCellRenderer() Creates a default table cell renderer. |
Font | getFont() Gets the font of this component. |
FontMetrics | getFontMetrics(Font font) Gets the FontMetrics for the specified Font . |
void | putClientProperty(Object key, Object value) Adds an arbitrary key/value "client property" to this component. |
void | setBackground(Color c) Overrides JComponent.setBackground to assign the unselected-background color to the specified color. |
void | setBorder(Border border) Sets the border of this component. |
void | setFocusable(boolean focusable) Sets the focusable state of this Component to the specified value. |
void | setFont(Font font) Sets the font for this component. |
void | setForeground(Color c) Overrides JComponent.setForeground to assign the unselected-foreground color to the specified color. |
void | setHorizontalAlignment(int alignment) Sets the alignment of the label's contents along the X axis. |
void | setHorizontalTextPosition(int textPosition) Sets the horizontal position of the label's text, relative to its image. |
void | setOpaque(boolean isOpaque) If true the component paints every pixel within its bounds. |
void | setPreferredSize(Dimension preferredSize) Sets the preferred size of this component. |
void | setToolTipText(String text) Registers the text to display in a tool tip. |