Class DefaultTableCellRendererWrapper

All Implemented Interfaces:
GComponent, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, SwingConstants, TableCellRenderer

public class DefaultTableCellRendererWrapper extends GTableCellRenderer
See Also:
  • Constructor Details

    • DefaultTableCellRendererWrapper

      public DefaultTableCellRendererWrapper(TableCellRenderer renderer)
  • Method Details

    • setHTMLRenderingEnabled

      public void setHTMLRenderingEnabled(boolean enable)
      Enables and disables the rendering of HTML content in this renderer. If enabled, this renderer will interpret HTML content when the text this renderer is showing begins with <html>
      Parameters:
      enable - true to enable HTML rendering; false to disable it
    • getTableCellRendererComponent

      public Component getTableCellRendererComponent(GTableCellRenderingData data)
      Description copied from class: GTableCellRenderer
      Provide basic cell rendering -- setting foreground and background colors, font, text, alignment, drop color, and border. Additional data that may be of use to the renderer is passed through the GTableCellRenderingData object.
      Overrides:
      getTableCellRendererComponent in class GTableCellRenderer
      Parameters:
      data - Context data used in the rendering of a data cell.
      Returns:
      The component used for drawing the table cell.