Package org.dashbuilder.displayer.client
Class AbstractRendererLibrary
- java.lang.Object
-
- org.dashbuilder.displayer.client.AbstractRendererLibrary
-
- All Implemented Interfaces:
RendererLibrary
public abstract class AbstractRendererLibrary extends Object implements RendererLibrary
Base class for implementing custom renderer libraries.
-
-
Constructor Summary
Constructors Constructor Description AbstractRendererLibrary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(List<Displayer> displayerList)Draw a list of displayersbooleanisDefault(org.dashbuilder.displayer.DisplayerType type)Flag indicating if this renderer can act as the default one for the given displayer type.voidredraw(List<Displayer> displayerList)Re-draw a list of displayers-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dashbuilder.displayer.client.RendererLibrary
getName, getSupportedSubtypes, getSupportedTypes, getUUID, isOffline, lookupDisplayer
-
-
-
-
Method Detail
-
isDefault
public boolean isDefault(org.dashbuilder.displayer.DisplayerType type)
Description copied from interface:RendererLibraryFlag 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
- Specified by:
isDefaultin interfaceRendererLibrary
-
draw
public void draw(List<Displayer> displayerList)
Description copied from interface:RendererLibraryDraw a list of displayers- Specified by:
drawin interfaceRendererLibrary
-
redraw
public void redraw(List<Displayer> displayerList)
Description copied from interface:RendererLibraryRe-draw a list of displayers- Specified by:
redrawin interfaceRendererLibrary
-
-