com.stimulsoft.report.painters.components
Class StiTextPainter

java.lang.Object
  extended by com.stimulsoft.report.painters.StiPainter
      extended by com.stimulsoft.report.painters.components.StiComponentPainter
          extended by com.stimulsoft.report.painters.components.StiTextPainter
Direct Known Subclasses:
StiRichTextPainter, StiTextInCellsPainter

public class StiTextPainter
extends StiComponentPainter

StiText Painter Copyright Stimulsoft


Constructor Summary
StiTextPainter()
           
 
Method Summary
 java.lang.Object getImage(StiComponent component, java.lang.Double zoom, int format)
           
 void paint(StiComponent component, StiPaintArgs args)
          Paint component
 void paintBackground(StiText text, StiGraphics g, StiRectangle rect, java.lang.Double zoom, java.lang.Double pageZoom)
          Paint component background
 void paintBorder(StiComponent component, StiGraphics g, StiRectangle rect, java.lang.Boolean topMost, java.lang.Boolean isThumbPaint, java.lang.Double zoom)
           
 StiRectangle paintIndicator(StiText textComp, StiGraphics g, StiRectangle rect)
          Paint indicator
 void paintText(StiText textComp, StiGraphics g, StiRectangle rect, java.lang.Double zoom)
          Paint component text
 
Methods inherited from class com.stimulsoft.report.painters.components.StiComponentPainter
drawSelectedRectangle, paintBorder, paintConditions, paintEvents, paintInheritedImage, paintMarkers, paintOrderAndQuickInfo, paintQuickButtons, paintSelection
 
Methods inherited from class com.stimulsoft.report.painters.StiPainter
getImage, getIndicatorPainter, getPainter, getShapePainter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiTextPainter

public StiTextPainter()
Method Detail

paintIndicator

public StiRectangle paintIndicator(StiText textComp,
                                   StiGraphics g,
                                   StiRectangle rect)
Paint indicator

Parameters:
textComp - StiText
g - StiGraphics
rect - StiRectangle
Returns:

paintText

public void paintText(StiText textComp,
                      StiGraphics g,
                      StiRectangle rect,
                      java.lang.Double zoom)
Paint component text

Parameters:
textComp - StiText
g - StiGraphics
rect - StiRectangle
zoom -

paintBackground

public void paintBackground(StiText text,
                            StiGraphics g,
                            StiRectangle rect,
                            java.lang.Double zoom,
                            java.lang.Double pageZoom)
Paint component background

Parameters:
text - StiText
g - StiGraphics
rect - StiRectangle
zoom -
pageZoom -

paintBorder

public void paintBorder(StiComponent component,
                        StiGraphics g,
                        StiRectangle rect,
                        java.lang.Boolean topMost,
                        java.lang.Boolean isThumbPaint,
                        java.lang.Double zoom)

getImage

public java.lang.Object getImage(StiComponent component,
                                 java.lang.Double zoom,
                                 int format)

paint

public void paint(StiComponent component,
                  StiPaintArgs args)
Paint component

Overrides:
paint in class StiPainter
Parameters:
component - StiComponent
args - StiPaintArgs