All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.techad.edc.popover.builder.ContextualContentComponentBuilder Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy