Interface IJCWidgetTableCellRenderer

  • All Superinterfaces:
    org.openide.util.Lookup.Provider, javax.swing.table.TableCellRenderer
    All Known Subinterfaces:
    IJCWidgetTableCellHyperlinkRenderer

    public interface IJCWidgetTableCellRenderer
    extends org.openide.util.Lookup.Provider, javax.swing.table.TableCellRenderer
    Extension of TableCellRenderer to support vertical layout in sheet widget.
    • Method Detail

      • getLayoutHeight

        int getLayoutHeight()
        Returns:
        preferred height for this renderer or RenderingConstants.FILL_PARENT constant to indicate that the renderer can use available space
      • getVerticalWeight

        int getVerticalWeight()
        Returns:
        "importance" value to allocate vertical space among components that can stretch their height. It is assumed that structure renderer can request more space than multi-line text.
      • getLookup

        org.openide.util.Lookup getLookup()
        Specified by:
        getLookup in interface org.openide.util.Lookup.Provider
        Returns:
        renderer's lookup providing additional functionality. This can be used by widget to delegate printing if JRPrintable instance is found there.