Package org.dashbuilder.displayer.client
Interface RendererLibrary
-
- All Known Implementing Classes:
AbstractRendererLibrary
public interface RendererLibraryMain interface for renderer implementations.A renderer library must:
- Perform all the required initializations before any displayer can be drawn
- Declare the displayer types & subtypes supported
- Take care of the initialization of displayer instances
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddraw(List<Displayer> displayerList)Draw a list of displayersStringgetName()The renderer display nameList<org.dashbuilder.displayer.DisplayerSubType>getSupportedSubtypes(org.dashbuilder.displayer.DisplayerType displayerType)The list of supported sub-typesList<org.dashbuilder.displayer.DisplayerType>getSupportedTypes()The list of supported typesStringgetUUID()The unique universal identifier of the redererbooleanisDefault(org.dashbuilder.displayer.DisplayerType type)Flag indicating if this renderer can act as the default one for the given displayer type.default booleanisOffline()DisplayerlookupDisplayer(org.dashbuilder.displayer.DisplayerSettings displayer)Initalize a displayer instance with the specified configuration.voidredraw(List<Displayer> displayerList)Re-draw a list of displayers
-
-
-
Method Detail
-
getUUID
String getUUID()
The unique universal identifier of the rederer
-
getName
String getName()
The renderer display name
-
isDefault
boolean isDefault(org.dashbuilder.displayer.DisplayerType type)
Flag indicating if this renderer can act as the default one for the given displayer type.Default renderers are used when a displayer does not explicitly specifies one
-
getSupportedTypes
List<org.dashbuilder.displayer.DisplayerType> getSupportedTypes()
The list of supported types
-
getSupportedSubtypes
List<org.dashbuilder.displayer.DisplayerSubType> getSupportedSubtypes(org.dashbuilder.displayer.DisplayerType displayerType)
The list of supported sub-types
-
lookupDisplayer
Displayer lookupDisplayer(org.dashbuilder.displayer.DisplayerSettings displayer)
Initalize a displayer instance with the specified configuration.
-
isOffline
default boolean isOffline()
-
-