Ontimize 5.2072EN

com.ontimize.report
Class ReportDesigner.AbstractTextReportComponent

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

public abstract static class ReportDesigner.AbstractTextReportComponent
extends ReportDesigner.ReportRectangle
implements ReportDesigner.TextReportComponent


Nested Class Summary
 
Nested classes inherited from class com.ontimize.report.ReportDesigner.ReportComponent
ReportDesigner.ReportComponent.ChangeListener
 
Field Summary
protected  boolean bold
           
protected  boolean dynamic
           
protected  java.awt.Font font
           
protected  java.lang.String fontName
           
protected  float fontSize
           
protected  int horizontalAlignment
           
protected  boolean italic
           
protected  java.lang.String text
           
protected  boolean underline
           
protected  int 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.AbstractTextReportComponent(java.lang.String name, int x1, int y1, int x2, int y2, java.lang.String s)
           
 
Method Summary
 boolean getBold()
           
 boolean getDynamic()
           
 java.awt.Font getFont()
           
 java.lang.String getFontName()
           
 float getFontSize()
           
 int getHorizontalAlignment()
           
 boolean getItalic()
           
 ReportDesigner.ReportProperty[] getProperties()
           
 java.lang.String getText()
           
 boolean getUnderline()
           
 int getVerticalAlignment()
           
 void setBold(boolean m)
           
 void setDynamic(boolean m)
           
 void setFontName(java.lang.String f)
           
 void setFontSize(float size)
           
 void setHorizontalAlignment(int a)
           
 void setItalic(boolean m)
           
 void setText(java.lang.String s)
           
 void setUnderline(boolean m)
           
 void setVerticalAlignment(int valign)
           
 
Methods inherited from class com.ontimize.report.ReportDesigner.ReportRectangle
isResizableAtPoint, paintAt, 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, paintAt, removeChangeListener, resizeAtPoint, setBackground, setForeground, setHeight, setHeightPercent, setName, setReportSection, setSelected, setWeight, setWidth, setWidthPercent, setX, setX1, setX2, setY, setY1, setY2, setZ
 

Field Detail

text

protected java.lang.String text

verticalAlignment

protected int verticalAlignment

horizontalAlignment

protected int horizontalAlignment

fontSize

protected float fontSize

font

protected java.awt.Font font

fontName

protected java.lang.String fontName

dynamic

protected boolean dynamic

bold

protected boolean bold

italic

protected boolean italic

underline

protected boolean underline
Constructor Detail

ReportDesigner.AbstractTextReportComponent

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

setText

public void setText(java.lang.String s)
Specified by:
setText in interface ReportDesigner.TextReportComponent

setHorizontalAlignment

public void setHorizontalAlignment(int a)
Specified by:
setHorizontalAlignment in interface ReportDesigner.TextReportComponent

setVerticalAlignment

public void setVerticalAlignment(int valign)
Specified by:
setVerticalAlignment in interface ReportDesigner.TextReportComponent

getFontName

public java.lang.String getFontName()
Specified by:
getFontName in interface ReportDesigner.TextReportComponent

setFontName

public void setFontName(java.lang.String f)
Specified by:
setFontName in interface ReportDesigner.TextReportComponent

setFontSize

public void setFontSize(float size)
Specified by:
setFontSize in interface ReportDesigner.TextReportComponent

getProperties

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

getHorizontalAlignment

public int getHorizontalAlignment()
Specified by:
getHorizontalAlignment in interface ReportDesigner.TextReportComponent

getVerticalAlignment

public int getVerticalAlignment()
Specified by:
getVerticalAlignment in interface ReportDesigner.TextReportComponent

getFontSize

public float getFontSize()
Specified by:
getFontSize in interface ReportDesigner.TextReportComponent

getFont

public java.awt.Font getFont()

getText

public java.lang.String getText()
Specified by:
getText in interface ReportDesigner.TextReportComponent

getDynamic

public boolean getDynamic()
Specified by:
getDynamic in interface ReportDesigner.TextReportComponent

setDynamic

public void setDynamic(boolean m)
Specified by:
setDynamic in interface ReportDesigner.TextReportComponent

setBold

public void setBold(boolean m)
Specified by:
setBold in interface ReportDesigner.TextReportComponent

getBold

public boolean getBold()
Specified by:
getBold in interface ReportDesigner.TextReportComponent

setItalic

public void setItalic(boolean m)
Specified by:
setItalic in interface ReportDesigner.TextReportComponent

getItalic

public boolean getItalic()
Specified by:
getItalic in interface ReportDesigner.TextReportComponent

setUnderline

public void setUnderline(boolean m)
Specified by:
setUnderline in interface ReportDesigner.TextReportComponent

getUnderline

public boolean getUnderline()
Specified by:
getUnderline in interface ReportDesigner.TextReportComponent

Ontimize