Package wt.jmx.core
Class CustomRendererSupport
java.lang.Object
wt.jmx.core.CustomRendererSupport
Provides support for mapping from item names to custom renderers.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CustomRendererSupport(float loadFactor) Constructor allowing adjustment of load factor of internal map. -
Method Summary
Modifier and TypeMethodDescriptionGet accessor for string representing map from original item name to the name of a custom render class as comma-delimited itemName=rendererClassname pairs.renderItem(String itemName, Object objectToRender) Produces rendering of a given item.voidsetRendererMap(String rendererMap) Set accessor for string representing map from original item name to the name of a custom render class as comma-delimited itemName=rendererClassname pairs.
-
Constructor Details
-
CustomRendererSupport
public CustomRendererSupport()Default constructor.
Supported API: true -
CustomRendererSupport
public CustomRendererSupport(float loadFactor) Constructor allowing adjustment of load factor of internal map.
Supported API: true
-
-
Method Details
-
getRendererMap
Get accessor for string representing map from original item name to the name of a custom render class as comma-delimited itemName=rendererClassname pairs. Renderer classes must be public, must provide a public doRender(Object) method that returns another object (usually but not necessarily a string) to represent the given object, and this method must either be static of the class must provide a public, no-arg constructor.
Supported API: true -
setRendererMap
Set accessor for string representing map from original item name to the name of a custom render class as comma-delimited itemName=rendererClassname pairs. Renderer classes must be public, must provide a doRender(Object) method that returns another object (usually but not necessarily a string) to represent the given object, and this method must either be static of the class must provide a public, no-arg constructor.
Supported API: true -
renderItem
Produces rendering of a given item.
Supported API: true
-