fr.techad.edc.popover.builder.ContextualContentComponentBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edc-popover Show documentation
Show all versions of edc-popover Show documentation
Java Popover to display a summary of the documentation published by edc
package fr.techad.edc.popover.builder;
import fr.techad.edc.client.model.ContextItem;
/**
* Builder to configure a contextual component.
*/
public interface ContextualContentComponentBuilder {
/**
* Define the keys for the component
*
* @param contextItem the context item
* @return the builder
*/
ContextualContentComponentBuilder setContextItem(ContextItem contextItem);
/**
* Define the rgb color for the background
*
* @param rgbColor the rgb color
* @return the builder
*/
ContextualContentComponentBuilder setBackgroundColor(int rgbColor);
/**
* Build the contextual component.
*
* @return the contextual component
*/
T build();
}