| java.lang.Object de.mcs.jmeasurement.renderer.DefaultTextRenderer
DefaultTextRenderer | public class DefaultTextRenderer implements MeasureDataRenderer,MeasureDataRendererColumnHeader,MeasureDataRendererSnapshot(Code) | | The default text renderer is a renderer which will render the data into a
normal text based format. Every line represent one measurepoint. The data
will be seperated with <TAB> or <SPACE> character. All fields
will be extactly fieldSize characters long. There is the
possibility to determine the fieldsize from the names of the data values, or
you can force the fieldsizes.
author: w.klaas |
Constructor Summary | |
public | DefaultTextRenderer(int aPageSize) Construct this renderer with the default fieldsize of 20. | public | DefaultTextRenderer(int aPageSize, int aFieldSize, boolean aUseTab) Construct this renderer. | public | DefaultTextRenderer(int aPageSize, int[] aFieldSizes) Construct this renderer. |
DefaultTextRenderer | public DefaultTextRenderer(int aPageSize)(Code) | | Construct this renderer with the default fieldsize of 20. Fieldseparation
will be set to TAB.
Parameters: aPageSize - count of lines until a FF is made. |
DefaultTextRenderer | public DefaultTextRenderer(int aPageSize, int aFieldSize, boolean aUseTab)(Code) | | Construct this renderer. If you set fieldSize to -1 then the fieldsize
will be evaluated from the length of the field name.
Parameters: aPageSize - count of lines until a FF is made. Parameters: aFieldSize - count of characters for a field Parameters: aUseTab - use tab character for field separation |
DefaultTextRenderer | public DefaultTextRenderer(int aPageSize, int[] aFieldSizes)(Code) | | Construct this renderer. The fieldsize will be evaluated from the
aFieldSizes array. Field separation will set to SPACE character.
Parameters: aPageSize - count of lines until a FF is made. Parameters: aFieldSizes - array with values of fieldsizes |
getFieldsize | final public int getFieldsize()(Code) | | Returns the fieldsize. |
getLineCount | final public int getLineCount()(Code) | | Returns the lineCount. |
getPageSize | final public int getPageSize()(Code) | | Returns the pageSize. |
setFieldsize | final public void setFieldsize(int aFieldsize)(Code) | | Parameters: aFieldsize - The fieldsize to set. |
setPageSize | final public void setPageSize(int aPageSize)(Code) | | Parameters: aPageSize - The pageSize to set. |
|
|