com.ontimize.report
Class ReportDesigner.AbstractTextReportComponent
java.lang.Object
com.ontimize.report.ReportDesigner.AbstractReportComponent
com.ontimize.report.ReportDesigner.ReportRectangle
com.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
| 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 |
| 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 |
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
ReportDesigner.AbstractTextReportComponent
public ReportDesigner.AbstractTextReportComponent(java.lang.String name,
int x1,
int y1,
int x2,
int y2,
java.lang.String s)
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