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

ar.com.fdvs.dj.domain.DJGroupLabel Maven / Gradle / Ivy

Go to download

DynamicJasper (DJ) is an API that hides the complexity of Jasper Reports, it helps developers to save time when designing simple/medium complexity reports generating the layout of the report elements automatically. It creates reports dynamically, defining at runtime the columns, column width (auto width), groups, variables, fonts, charts, crosstabs, sub reports (that can also be dynamic), page size and everything else that you can define at design time. DJ keeps full compatibility with Jasper Reports since it's a tool that helps create reports programmatically in a easy way (it only interferes with the creation of the report design doing the layout of the elements). You can use the classic .jrxml files as templates while the content and layout of the report elements are handled by the DJ API. http://dynamicjasper.com

There is a newer version: 5.3.9
Show newest version
package ar.com.fdvs.dj.domain;

import ar.com.fdvs.dj.domain.constants.LabelPosition;
import ar.com.fdvs.dj.domain.entities.Entity;

/**
 * Labels to added in groups footer or headers variables (i.e: Subtotal).
 * 
 * A simple string can be used
 * @author mamana
 *
 */
public class DJGroupLabel extends DJLabel {

	private static final long serialVersionUID = Entity.SERIAL_VERSION_UID;
	
	
	protected LabelPosition labelPosition = LabelPosition.TOP;
	
	public DJGroupLabel(){};

	public DJGroupLabel(String text, Style labelStyle) {
		super(text,labelStyle);
	}
	
	public DJGroupLabel(String text, Style labelStyle,
			LabelPosition labelPosition) {
		super(text,labelStyle,labelPosition);
		this.labelPosition = labelPosition;
	}

	public DJGroupLabel(CustomExpression labelExpression, Style labelStyle,
			LabelPosition labelPosition) {
		super(labelExpression,labelStyle);
		this.labelPosition = labelPosition;
	}	


	public LabelPosition getLabelPosition() {
		return labelPosition;
	}

	public void setLabelPosition(LabelPosition labelPosition) {
		this.labelPosition = labelPosition;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy