net.sf.dynamicreports.report.base.component
Class DRTextField<T>

java.lang.Object
  extended by net.sf.dynamicreports.report.base.component.DRComponent
      extended by net.sf.dynamicreports.report.base.component.DRDimensionComponent
          extended by net.sf.dynamicreports.report.base.component.DRHyperLinkComponent
              extended by 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 (r.mariaca@dynamicreports.org)
See Also:
Serialized Form

Constructor Summary
DRTextField()
           
 
Method Summary
 Integer getColumns()
          Returns the number of columns.
 DRIDataType<? super T,T> getDataType()
           
 DRGroup getEvaluationGroup()
           
 Evaluation getEvaluationTime()
           
 HorizontalAlignment getHorizontalAlignment()
           
 Markup getMarkup()
           
 String getPattern()
           
 DRIExpression<String> getPatternExpression()
           
 Integer getRows()
          Returns the number of rows.
 Boolean getStretchWithOverflow()
           
 DRIExpression<T> getValueExpression()
           
 DRIValueFormatter<?,? super T> getValueFormatter()
           
 void setColumns(Integer columns)
          This method is used to define the width of a column.
 void setDataType(DRIDataType<? super T,T> dataType)
           
 void setEvaluationGroup(DRGroup evaluationGroup)
           
 void setEvaluationTime(Evaluation evaluationTime)
           
 void setHorizontalAlignment(HorizontalAlignment horizontalAlignment)
           
 void setMarkup(Markup markup)
           
 void setPattern(String pattern)
           
 void setPatternExpression(DRIExpression<String> patternExpression)
           
 void setRows(Integer rows)
          This method is used to define the height of a column.
 void setStretchWithOverflow(Boolean stretchWithOverflow)
           
 void setValueExpression(DRIExpression<T> valueExpression)
           
 void setValueFormatter(DRIValueFormatter<?,? super T> valueFormatter)
           
 
Methods inherited from class net.sf.dynamicreports.report.base.component.DRHyperLinkComponent
getAnchorNameExpression, getBookmarkLevel, getHyperLink, setAnchorNameExpression, setBookmarkLevel, setHyperLink
 
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
 
Methods inherited from interface net.sf.dynamicreports.report.definition.component.DRIHyperLinkComponent
getAnchorNameExpression, getBookmarkLevel, getHyperLink
 
Methods inherited from interface net.sf.dynamicreports.report.definition.component.DRIDimensionComponent
getHeight, getHeightType, getPositionType, getPrintInFirstWholeBand, getPrintWhenDetailOverflows, getPrintWhenGroupChanges, getStretchType, getWidth, getWidthType
 
Methods inherited from interface net.sf.dynamicreports.report.definition.component.DRIComponent
getPrintWhenExpression, getPropertyExpressions, getRemoveLineWhenBlank, getStyle, getTableOfContentsHeading
 

Constructor Detail

DRTextField

public DRTextField()
Method Detail

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-2014. All Rights Reserved.