org.grinvin.gui.components.render

Class InvariantTableCellRenderer


public class InvariantTableCellRenderer
extends DefaultTableCellRenderer

Table cell renderer for objects of type Invariant.

Method Summary

static TableCellRenderer
getInstance()
Return the shared instance of this renderer.
Component
getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
@Override
void setValue(Object value)
Renders an invariant.

Method Details

getInstance

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

getTableCellRendererComponent

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

void setValue

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