public class SimpleTextCellAppearance extends java.lang.Object implements ModifiableCellAppearanceEx
Constructor and Description |
---|
SimpleTextCellAppearance(java.lang.String text,
javax.swing.Icon icon,
SimpleTextAttributes textAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
customize(SimpleColoredComponent component) |
java.lang.String |
getText() |
SimpleTextAttributes |
getTextAttributes() |
static SimpleTextCellAppearance |
invalid(java.lang.String text,
javax.swing.Icon icon) |
static SimpleTextCellAppearance |
regular(java.lang.String text,
javax.swing.Icon icon) |
void |
setIcon(javax.swing.Icon icon) |
static SimpleTextCellAppearance |
synthetic(java.lang.String text,
javax.swing.Icon icon) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customize
public SimpleTextCellAppearance(java.lang.String text, javax.swing.Icon icon, SimpleTextAttributes textAttributes)
public static SimpleTextCellAppearance regular(java.lang.String text, javax.swing.Icon icon)
public static SimpleTextCellAppearance invalid(java.lang.String text, javax.swing.Icon icon)
public static SimpleTextCellAppearance synthetic(java.lang.String text, javax.swing.Icon icon)
public void customize(SimpleColoredComponent component)
customize
in interface CellAppearanceEx
public java.lang.String getText()
getText
in interface CellAppearanceEx
public SimpleTextAttributes getTextAttributes()
public void setIcon(javax.swing.Icon icon)
setIcon
in interface ModifiableCellAppearanceEx