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 Main.java

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

        Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);

From source file com.mirth.connect.client.ui.ImageCellRenderer.java

/** A new renderer that for table cells that has both an image and a text value. */
public class ImageCellRenderer extends DefaultTableCellRenderer {

    public ImageCellRenderer() {
        this(LEFT);
    }

From source file Main.java

class IconHeaderRenderer extends DefaultTableCellRenderer {
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
            int row, int column) {
        if (table != null) {
            JTableHeader header = table.getTableHeader();
            if (header != null) {

From source file hermes.browser.components.DateTimeTableCellRenderer.java

/**
 * @author colincrist@hermesjms.com
 * @version $Id$
 */

public class DateTimeTableCellRenderer extends DefaultTableCellRenderer {

From source file org.tinymediamanager.ui.IconRenderer.java

/**
 * The Class IconRenderer.
 * 
 * @author Manuel Laggner
 */
public class IconRenderer extends DefaultTableCellRenderer {

From source file Main.java

class IconHeaderRenderer extends DefaultTableCellRenderer {
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
            int row, int column) {
        if (table != null) {
            JTableHeader header = table.getTableHeader();
            if (header != null) {

From source file com.dbschools.gui.LongTextTableCellRenderer.java

/**
 * Sets tooltip text for the cell being rendered.
 * 
 * @author David C. Briccetti
 */
public final class LongTextTableCellRenderer extends DefaultTableCellRenderer {

From source file pl.otros.logview.gui.renderers.NoteRenderer.java

public class NoteRenderer extends DefaultTableCellRenderer {

    private ImageIcon iconEmpty;
    private ImageIcon iconExist;
    private JLabel label;

From source file com.github.alexfalappa.nbspringboot.navigator.RequestMethodCellRenderer.java

/**
 * Table cell renderer for {@code RequestMethods} constants.
 *
 * @author Alessandro Falappa
 */
public class RequestMethodCellRenderer extends DefaultTableCellRenderer {

From source file org.jdal.swing.table.AnnotationFormatTableCellRenderer.java

/**
 * @author Jose Luis Martin - (jlm@joseluismartin.info)
 *
 */
public class AnnotationFormatTableCellRenderer extends DefaultTableCellRenderer {