net.sf.dynamicreports.report.base.component
Class DRTextField<T>
java.lang.Object
net.sf.dynamicreports.report.base.component.DRComponent
net.sf.dynamicreports.report.base.component.DRDimensionComponent
net.sf.dynamicreports.report.base.component.DRHyperLinkComponent
net.sf.dynamicreports.report.base.component.DRTextField<T>
- All Implemented Interfaces:
- Serializable, DRIComponent, DRIDimensionComponent, DRIHyperLinkComponent, DRITextField<T>
public class DRTextField<T>
- extends DRHyperLinkComponent
- implements DRITextField<T>
- Author:
- Ricardo Mariaca (dynamicreports@gmail.com)
- See Also:
- Serialized Form
Methods inherited from class net.sf.dynamicreports.report.base.component.DRDimensionComponent |
getHeight, getHeightType, getPositionType, getPrintInFirstWholeBand, getPrintWhenDetailOverflows, getPrintWhenGroupChanges, getStretchType, getWidth, getWidthType, setHeight, setHeightType, setPositionType, setPrintInFirstWholeBand, setPrintWhenDetailOverflows, setPrintWhenGroupChanges, setStretchType, setWidth, setWidthType |
Methods inherited from class net.sf.dynamicreports.report.base.component.DRComponent |
addPropertyExpression, getPrintWhenExpression, getPropertyExpressions, getRemoveLineWhenBlank, getStyle, getTableOfContentsHeading, init, setPrintWhenExpression, setPropertyExpressions, setRemoveLineWhenBlank, setStyle, setTableOfContentsHeading |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRTextField
public DRTextField()
getValueExpression
public DRIExpression<T> getValueExpression()
- Specified by:
getValueExpression
in interface DRITextField<T>
setValueExpression
public void setValueExpression(DRIExpression<T> valueExpression)
getPattern
public String getPattern()
- Specified by:
getPattern
in interface DRITextField<T>
setPattern
public void setPattern(String pattern)
getPatternExpression
public DRIExpression<String> getPatternExpression()
- Specified by:
getPatternExpression
in interface DRITextField<T>
setPatternExpression
public void setPatternExpression(DRIExpression<String> patternExpression)
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
- Specified by:
getHorizontalAlignment
in interface DRITextField<T>
setHorizontalAlignment
public void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
getValueFormatter
public DRIValueFormatter<?,? super T> getValueFormatter()
- Specified by:
getValueFormatter
in interface DRITextField<T>
setValueFormatter
public void setValueFormatter(DRIValueFormatter<?,? super T> valueFormatter)
getDataType
public DRIDataType<? super T,T> getDataType()
- Specified by:
getDataType
in interface DRITextField<T>
setDataType
public void setDataType(DRIDataType<? super T,T> dataType)
getColumns
public Integer getColumns()
- Returns the number of columns.
- Specified by:
getColumns
in interface DRITextField<T>
- Returns:
- the number of columns >= 0
setColumns
public void setColumns(Integer columns)
- This method is used to define the width of a column.
The width is set to the
columns
multiplied by width of the
character m for the font used
- Parameters:
columns
- the number of columns >= 0
- Throws:
IllegalArgumentException
- if columns
is < 0
getRows
public Integer getRows()
- Returns the number of rows.
- Specified by:
getRows
in interface DRITextField<T>
- Returns:
- the number of rows >= 0
setRows
public void setRows(Integer rows)
- This method is used to define the height of a column.
The height is set to the
rows
multiplied by height of the font
- Parameters:
rows
- the number of rows >= 0
- Throws:
IllegalArgumentException
- if rows
is < 0
getEvaluationTime
public Evaluation getEvaluationTime()
- Specified by:
getEvaluationTime
in interface DRITextField<T>
setEvaluationTime
public void setEvaluationTime(Evaluation evaluationTime)
getEvaluationGroup
public DRGroup getEvaluationGroup()
- Specified by:
getEvaluationGroup
in interface DRITextField<T>
setEvaluationGroup
public void setEvaluationGroup(DRGroup evaluationGroup)
getMarkup
public Markup getMarkup()
- Specified by:
getMarkup
in interface DRITextField<T>
setMarkup
public void setMarkup(Markup markup)
getStretchWithOverflow
public Boolean getStretchWithOverflow()
- Specified by:
getStretchWithOverflow
in interface DRITextField<T>
setStretchWithOverflow
public void setStretchWithOverflow(Boolean stretchWithOverflow)
Copyright © 2010-2012. All Rights Reserved.