Example usage for javax.swing.table DefaultTableCellRenderer subclass-usage

List of usage examples for javax.swing.table DefaultTableCellRenderer subclass-usage

Introduction

In this page you can find the example usage for javax.swing.table DefaultTableCellRenderer subclass-usage.

Usage

From source file pl.otros.vfs.browser.table.FileNameWithTypeTableCellRenderer.java

public class FileNameWithTypeTableCellRenderer extends DefaultTableCellRenderer {

    private Set<String> archivesSuffixes;

    public FileNameWithTypeTableCellRenderer() {
        archivesSuffixes = new HashSet<String>();

From source file Main.java

class ImageRenderer extends DefaultTableCellRenderer {
    JLabel lbl = new JLabel();

    ImageIcon icon = new ImageIcon(getClass().getResource("sample.png"));

    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,

From source file org.pentaho.reporting.libraries.designtime.swing.FormattingTableCellRenderer.java

public class FormattingTableCellRenderer extends DefaultTableCellRenderer {
    private static final Log logger = LogFactory.getLog(FormattingTableCellRenderer.class);
    private Format format;

    public FormattingTableCellRenderer(final Format format) {
        if (format == null) {

From source file com.moneydance.modules.features.importlist.table.LabelModifiedRenderer.java

/**
 * @author Florian J. Breunig
 */
final class LabelModifiedRenderer extends DefaultTableCellRenderer {

    private static final long serialVersionUID = 1L;

From source file org.springframework.richclient.table.renderer.BeanTableCellRenderer.java

/**
 * Renders a bean by using its default property. If no default property is defined the beans toString method will be
 * used as the value. To render the default property the table default renderer for the property class will be used to
 * get the cell component.
 * 
 * @see JTable#getDefaultRenderer(Class)

From source file storybook.ui.table.renderer.ItemsTableCellRenderer.java

@SuppressWarnings("serial")
public class ItemsTableCellRenderer extends DefaultTableCellRenderer {

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

From source file storybook.ui.table.renderer.LocationsTableCellRenderer.java

@SuppressWarnings("serial")
public class LocationsTableCellRenderer extends DefaultTableCellRenderer {

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

From source file storybook.ui.table.renderer.AttributesTableCellRenderer.java

@SuppressWarnings("serial")
public class AttributesTableCellRenderer extends DefaultTableCellRenderer {

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

From source file storybook.ui.table.renderer.StrandsTableCellRenderer.java

@SuppressWarnings("serial")
public class StrandsTableCellRenderer extends DefaultTableCellRenderer {

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

From source file storybook.ui.table.renderer.PersonsTableCellRenderer.java

@SuppressWarnings("serial")
public class PersonsTableCellRenderer extends DefaultTableCellRenderer {

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