org.grinvin.gui.components.render

Class InvariantValueTableCellRenderer


public class InvariantValueTableCellRenderer
extends DefaultTableCellRenderer

Table cell renderer for objects of type InvariantValue.

Method Summary

static TableCellRenderer
getInstance()
Return the shared instance of this class.
Component
getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
protected void
paintComponent(Graphics g)
protected void
paintDetailsIndicator(Graphics g1)
protected void
paintRequestedIndicator(Graphics g1)
@Override
void setValue(Object value)
Renders an invariant value.

Method Details

getInstance

public static TableCellRenderer getInstance()
Return the shared instance of this class.

getTableCellRendererComponent

public Component getTableCellRendererComponent(JTable table,
                                               Object value,
                                               boolean isSelected,
                                               boolean hasFocus,
                                               int row,
                                               int column)

paintComponent

protected void paintComponent(Graphics g)

paintDetailsIndicator

protected void paintDetailsIndicator(Graphics g1)

paintRequestedIndicator

protected void paintRequestedIndicator(Graphics g1)

void setValue

public @Override void setValue(Object value)
Renders an invariant value.