public abstract static class DataTableStyling.FancyRenderer<T extends javax.swing.JComponent>
extends java.lang.Object
implements javax.swing.table.TableCellRenderer
Constructor and Description |
---|
FancyRenderer() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
applyValue(java.lang.String value) |
protected abstract T |
getComponent() |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
DataTableStyling.FancyRenderer<T> |
setDoHighlight(boolean doHighlight) |
DataTableStyling.FancyRenderer<T> |
setFontStyle(int fontStyle) |
DataTableStyling.FancyRenderer<T> |
setNumberFormat(java.text.NumberFormat numberFormat) |
protected java.lang.String |
transformValue(java.lang.Object value) |
public DataTableStyling.FancyRenderer<T> setNumberFormat(java.text.NumberFormat numberFormat)
public DataTableStyling.FancyRenderer<T> setDoHighlight(boolean doHighlight)
public DataTableStyling.FancyRenderer<T> setFontStyle(int fontStyle)
protected java.lang.String transformValue(java.lang.Object value)
protected abstract T getComponent()
protected abstract void applyValue(java.lang.String value)
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer