| javax.swing.table.DefaultTableCellRenderer org.glasser.swing.table.FormattedCellRenderer
FormattedCellRenderer | public class FormattedCellRenderer extends DefaultTableCellRenderer (Code) | | This TableCellRenderer implementation renders objects by using a
java.text.Format instance. If null is passed as the constructor
argument, then it renders objects using their toString() method.
|
Constructor Summary | |
public | FormattedCellRenderer(Format format) Constructs an instance that will render objects using the supplied format
object. |
FormattedCellRenderer | public FormattedCellRenderer(Format format)(Code) | | Constructs an instance that will render objects using the supplied format
object. If the format object is null, then the constructed instance will
render objects using their toString() method.
|
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)
|
|
|