Package com.im.ijc.core.api.renderers
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 ofTableCellRenderer
to support vertical layout in sheet widget.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLayoutHeight()
org.openide.util.Lookup
getLookup()
int
getVerticalWeight()
-
-
-
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 interfaceorg.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.
-
-