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

org.nasdanika.html.echarts.TitleBuilder Maven / Gradle / Ivy

package org.nasdanika.html.echarts;

import java.util.function.Supplier;

import org.json.JSONObject;

/**
 * Builder of ECharts title. Partial implementation to demonstrate the pattern.
 * @author Pavel
 *
 */
public interface TitleBuilder extends Supplier {
	
//	id: ...,
//	show: true,
	/**
	 * Sets title text.
	 * @param text
	 */
	void text(String text);
//	link: '',
//	target: 'blank',
//	textStyle: {...},
//	subtext: '',
//	sublink: '',
//	subtarget: 'blank',
//	subtextStyle: {...},
//	textAlign: 'auto',
//	textVerticalAlign: 'auto',
//	triggerEvent: false,
//	padding: 5,
//	itemGap: 10,
//	zlevel: 0,
//	z: 2,
//	left: 'auto',
//	top: 'auto',
//	right: 'auto',
//	bottom: 'auto',
//	backgroundColor: 'transparent',
//	borderColor: '#ccc',
//	borderWidth: 1,
//	borderRadius: 0,
//	shadowBlur: ...,
//	shadowColor: ...,
//	shadowOffsetX: 0,
//	shadowOffsetY: 0,	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy