public class DJLabel extends DJBaseElement
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected boolean |
isJasperExpression |
protected CustomExpression |
labelExpression |
protected Style |
style |
protected String |
text |
SERIAL_VERSION_UID
Constructor and Description |
---|
DJLabel() |
DJLabel(CustomExpression labelExpression,
Style labelStyle) |
DJLabel(String text,
Style labelStyle) |
DJLabel(String text,
Style labelStyle,
boolean isJasperExpression) |
DJLabel(String text,
Style labelStyle,
LabelPosition labelPosition) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
CustomExpression |
getLabelExpression() |
Style |
getStyle() |
String |
getText() |
boolean |
isJasperExpression() |
void |
setHeight(int height) |
void |
setJasperExpression(boolean isJasperExpression) |
void |
setLabelExpression(CustomExpression labelExpression) |
void |
setStyle(Style style) |
void |
setText(String text) |
protected boolean isJasperExpression
protected String text
protected CustomExpression labelExpression
protected Style style
protected int height
public DJLabel()
public DJLabel(String text, Style labelStyle, LabelPosition labelPosition)
public DJLabel(CustomExpression labelExpression, Style labelStyle)
public CustomExpression getLabelExpression()
public void setLabelExpression(CustomExpression labelExpression)
public String getText()
public void setText(String text)
public Style getStyle()
public void setStyle(Style style)
public int getHeight()
public void setHeight(int height)
public boolean isJasperExpression()
public void setJasperExpression(boolean isJasperExpression)
Copyright © 2006–2015 FDV Solutions. All rights reserved.