|
|||||||||
| Home >> All >> org >> gui4j >> core >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gui4j.core.swing
Class MultiLineCellRenderer

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.text.JTextComponent
javax.swing.JTextArea
org.gui4j.core.swing.MultiLineCellRenderer
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable, javax.swing.table.TableCellRenderer
- Direct Known Subclasses:
- MultiLineCellRenderer.UIResource
- public class MultiLineCellRenderer
- extends javax.swing.JTextArea
- implements javax.swing.table.TableCellRenderer, java.io.Serializable
- extends javax.swing.JTextArea
| Nested Class Summary | |
static class |
MultiLineCellRenderer.UIResource
|
| Nested classes inherited from class javax.swing.JTextArea |
javax.swing.JTextArea.AccessibleJTextArea |
| Nested classes inherited from class javax.swing.text.JTextComponent |
javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.KeyBinding |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected static javax.swing.border.Border |
noFocusBorder
|
private java.awt.Color |
unselectedBackground
|
private java.awt.Color |
unselectedForeground
|
| Fields inherited from class javax.swing.JTextArea |
|
| Fields inherited from class javax.swing.text.JTextComponent |
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
MultiLineCellRenderer()
|
|
| Method Summary | |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Get table cell renderer component |
void |
setBackground(java.awt.Color c)
Set the value of the background property. |
void |
setForeground(java.awt.Color c)
Set the value of the foreground property. |
protected void |
setValue(java.lang.Object value)
|
void |
updateUI()
This method resets the label's UI delegate to the default UI for the current look and feel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
noFocusBorder
protected static javax.swing.border.Border noFocusBorder
unselectedForeground
private java.awt.Color unselectedForeground
unselectedBackground
private java.awt.Color unselectedBackground
| Constructor Detail |
MultiLineCellRenderer
public MultiLineCellRenderer()
| Method Detail |
setForeground
public void setForeground(java.awt.Color c)
- Description copied from class:
javax.swing.JComponent - Set the value of the
foregroundproperty.
setBackground
public void setBackground(java.awt.Color c)
- Description copied from class:
javax.swing.JComponent - Set the value of the
backgroundproperty.
updateUI
public void updateUI()
- Description copied from class:
javax.swing.text.JTextComponent - This method resets the label's UI delegate to the default UI for the
current look and feel.
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
- Description copied from interface:
javax.swing.table.TableCellRenderer - Get table cell renderer component
- Specified by:
getTableCellRendererComponentin interfacejavax.swing.table.TableCellRenderer
setValue
protected void setValue(java.lang.Object value)
|
|||||||||
| Home >> All >> org >> gui4j >> core >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC