Interface TreeRendererDescriptor
public interface TreeRendererDescriptor
Describes the configuration options of a specific
TreeRenderer.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a short description of the format of this renderer's output.id()Returns the ID of this renderer, used to select it.Returns a new property bundle, that can be used to configure the output ofproduceRenderer(PropertySource).produceRenderer(PropertySource properties) Builds a new renderer from the given properties.
-
Method Details
-
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:
-
description
String description()Returns a short description of the format of this renderer's output. -
produceRenderer
Builds a new renderer from the given properties.- Parameters:
properties- A property bundle, that should have been produced bynewPropertyBundle().
-