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

tech.grasshopper.pdf.component.text.MultiLineTextComponent Maven / Gradle / Ivy

There is a newer version: 2.14.0
Show newest version
package tech.grasshopper.pdf.component.text;

import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.SuperBuilder;
import tech.grasshopper.pdf.component.Component;
import tech.grasshopper.pdf.pojo.report.Text;

@Data
@SuperBuilder
@EqualsAndHashCode(callSuper = false)
public class MultiLineTextComponent extends Component {

	private List texts;

	@Override
	public void display() {
		texts.forEach(t -> TextComponent.builder().content(content).text(t).build().display());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy