Ontimize 5.2072EN

com.ontimize.report
Class ReportDesigner.ReportTextField

java.lang.Object
  extended bycom.ontimize.report.ReportDesigner.AbstractReportComponent
      extended bycom.ontimize.report.ReportDesigner.ReportRectangle
          extended bycom.ontimize.report.ReportDesigner.AbstractTextReportComponent
              extended bycom.ontimize.report.ReportDesigner.ReportLabel
                  extended bycom.ontimize.report.ReportDesigner.ReportTextField
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, ReportDesigner.ReportComponent, ReportDesigner.TextReportComponent
Direct Known Subclasses:
ReportDesigner.ReportFunctionField, ReportDesigner.ReportImagenField
Enclosing class:
ReportDesigner

public static class ReportDesigner.ReportTextField
extends ReportDesigner.ReportLabel


Nested Class Summary
 
Nested classes inherited from class com.ontimize.report.ReportDesigner.ReportComponent
ReportDesigner.ReportComponent.ChangeListener
 
Field Summary
protected  java.lang.String dataType
           
protected  java.lang.String stringFormat
           
 
Fields inherited from class com.ontimize.report.ReportDesigner.AbstractTextReportComponent
bold, dynamic, font, fontName, fontSize, horizontalAlignment, italic, text, underline, verticalAlignment
 
Fields inherited from class com.ontimize.report.ReportDesigner.ReportRectangle
selStroke
 
Fields inherited from class com.ontimize.report.ReportDesigner.AbstractReportComponent
background, backgroundNameColor, changeListeners, foreground, foregroundNameColor, height, heightPercent, name, RESIZE_PIXELS_DISTANCE, section, selected, stroke, weight, width, widthPercent, x1, x2, y1, y2, z
 
Fields inherited from interface com.ontimize.report.ReportDesigner.TextReportComponent
BOTTOM, CENTER, LEFT, MIDDLE, RIGHT, TOP
 
Constructor Summary
ReportDesigner.ReportTextField(java.lang.String name, int x1, int y1, int x2, int y2, java.lang.String s)
           
ReportDesigner.ReportTextField(java.lang.String name, int x1, int y1, int x2, int y2, java.lang.String s, java.lang.String dataType, java.lang.String formato)
           
 
Method Summary
 java.lang.String getDataType()
           
 java.lang.String getFormat()
           
protected  ReportDesigner.FormatProperty getFormatProperty()
           
 ReportDesigner.ReportProperty[] getProperties()
           
protected  ReportDesigner.TypeProperty getTypeProperty()
           
 void paintAt(java.awt.Graphics g)
           
 void setDataType(java.lang.String d)
           
 void setFormat(java.lang.String s)
           
 
Methods inherited from class com.ontimize.report.ReportDesigner.AbstractTextReportComponent
getBold, getDynamic, getFont, getFontName, getFontSize, getHorizontalAlignment, getItalic, getText, getUnderline, getVerticalAlignment, setBold, setDynamic, setFontName, setFontSize, setHorizontalAlignment, setItalic, setText, setUnderline, setVerticalAlignment
 
Methods inherited from class com.ontimize.report.ReportDesigner.ReportRectangle
isResizableAtPoint, resizeAtPoint
 
Methods inherited from class com.ontimize.report.ReportDesigner.AbstractReportComponent
addChangeListener, clone, compareTo, distance, firePropertiesChanged, getBackground, getBackgroundColorName, getForeground, getForegroundColorName, getHeight, getName, getReportSection, getWeight, getWidth, getX1, getX2, getY1, getY2, getZ, isAtPoint, isAtRectangle, isHeightPercent, isSelected, isWidthPercent, removeChangeListener, setBackground, setForeground, setHeight, setHeightPercent, setName, setReportSection, setSelected, setWeight, setWidth, setWidthPercent, setX, setX1, setX2, setY, setY1, setY2, setZ, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ontimize.report.ReportDesigner.ReportComponent
addChangeListener, getBackground, getBackgroundColorName, getForeground, getForegroundColorName, getHeight, getName, getReportSection, getWeight, getWidth, getX1, getX2, getY1, getY2, getZ, isAtPoint, isAtRectangle, isHeightPercent, isResizableAtPoint, isSelected, isWidthPercent, removeChangeListener, resizeAtPoint, setBackground, setForeground, setHeight, setHeightPercent, setName, setReportSection, setSelected, setWeight, setWidth, setWidthPercent, setX, setX1, setX2, setY, setY1, setY2, setZ
 

Field Detail

stringFormat

protected java.lang.String stringFormat

dataType

protected java.lang.String dataType
Constructor Detail

ReportDesigner.ReportTextField

public ReportDesigner.ReportTextField(java.lang.String name,
                                      int x1,
                                      int y1,
                                      int x2,
                                      int y2,
                                      java.lang.String s)

ReportDesigner.ReportTextField

public ReportDesigner.ReportTextField(java.lang.String name,
                                      int x1,
                                      int y1,
                                      int x2,
                                      int y2,
                                      java.lang.String s,
                                      java.lang.String dataType,
                                      java.lang.String formato)
Method Detail

setFormat

public void setFormat(java.lang.String s)

getFormat

public java.lang.String getFormat()

setDataType

public void setDataType(java.lang.String d)

getDataType

public java.lang.String getDataType()

getFormatProperty

protected ReportDesigner.FormatProperty getFormatProperty()

getTypeProperty

protected ReportDesigner.TypeProperty getTypeProperty()

getProperties

public ReportDesigner.ReportProperty[] getProperties()
Specified by:
getProperties in interface ReportDesigner.ReportComponent
Overrides:
getProperties in class ReportDesigner.AbstractTextReportComponent

paintAt

public void paintAt(java.awt.Graphics g)
Specified by:
paintAt in interface ReportDesigner.ReportComponent
Overrides:
paintAt in class ReportDesigner.ReportLabel

Ontimize