Interface TreeRendererDescriptor
-
public interface TreeRendererDescriptor
Describes the configuration options of a specificTreeRenderer
.- See Also:
TreeRenderers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
description()
Returns a short description of the format of this renderer's output.String
id()
Returns the ID of this renderer, used to select it.PropertySource
newPropertyBundle()
Returns a new property bundle, that can be used to configure the output ofproduceRenderer(PropertySource)
.TreeRenderer
produceRenderer(PropertySource properties)
Builds a new renderer from the given properties.
-
-
-
Method Detail
-
newPropertyBundle
PropertySource newPropertyBundle()
Returns a new property bundle, that can be used to configure the output ofproduceRenderer(PropertySource)
. Properties supported by the renderer are already registered on the returned bundle.
-
id
String id()
Returns the ID of this renderer, used to select it. The ID of a descriptor should never change.- See Also:
TreeRenderers.findById(String)
-
description
String description()
Returns a short description of the format of this renderer's output.
-
produceRenderer
TreeRenderer produceRenderer(PropertySource properties)
Builds a new renderer from the given properties.- Parameters:
properties
- A property bundle, that should have been produced bynewPropertyBundle()
.
-
-