com.im.ijc.core/1 5.9.4

com.im.ijc.core.api.renderers
Interface IJCWidgetRenderer

All Superinterfaces:
Lookup.Provider

public interface IJCWidgetRenderer
extends Lookup.Provider

Common interface for IJC renderers.


Method Summary
 JComponent getWidgetPrintRendererComponent(Object value, boolean createNewInstance)
          Returns a component which is able to render a given value during printing.
 JComponent getWidgetRendererComponent(Object value, boolean createNewInstance)
          Returns a component which is able to render a given value.
 
Methods inherited from interface org.openide.util.Lookup.Provider
getLookup
 

Method Detail

getWidgetRendererComponent

JComponent getWidgetRendererComponent(Object value,
                                      boolean createNewInstance)
Returns a component which is able to render a given value.

Parameters:
value - value to be rendered
createNewInstance - whether cached or new instance should be returned
Returns:
the component

getWidgetPrintRendererComponent

JComponent getWidgetPrintRendererComponent(Object value,
                                           boolean createNewInstance)
Returns a component which is able to render a given value during printing. Usually an implementation just delegates to the getWidgetRendererComponent(java.lang.Object, boolean) until it has some special needs for printing.

Parameters:
value - value to be rendered
createNewInstance - whether cached or new instance should be returned
Returns:
the component

com.im.ijc.core/1 5.9.4