| javax.swing.JLabel javax.swing.table.DefaultTableCellRenderer net.sf.jga.swing.GenericTableCellRenderer
GenericTableCellRenderer | public class GenericTableCellRenderer extends DefaultTableCellRenderer implements Formattable<T>(Code) | | TableCellRenderer that passes the contents through a functor to render the
contents, instead of calling toString() on the contents.
Copyright © 2003-2005 David A. Hall
author: David A. Hall |
serialVersionUID | final static long serialVersionUID(Code) | | |
GenericTableCellRenderer | public GenericTableCellRenderer()(Code) | | Builds a TableCellRenderer that uses a default formatter
|
GenericTableCellRenderer | public GenericTableCellRenderer(UnaryFunctor<T, String> formatter)(Code) | | Builds a TableCellRenderer that uses the given functor to format values.
|
GenericTableCellRenderer | public GenericTableCellRenderer(UnaryFunctor<T, String> formatter, boolean formatsNulls)(Code) | | Builds a TableCellRenderer that uses the given functor to format values,
and the given flag to determine if nulls are formatted.
|
setValue | protected void setValue(Object value)(Code) | | Overrides the base class setValue:
|
Fields inherited from javax.swing.table.DefaultTableCellRenderer | protected static Border noFocusBorder(Code)(Java Doc)
|
Methods inherited from javax.swing.table.DefaultTableCellRenderer | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) protected void setValue(Object value)(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|