com.stimulsoft.report.painters.components
Class StiComponentPainter

java.lang.Object
  extended by com.stimulsoft.report.painters.StiPainter
      extended by com.stimulsoft.report.painters.components.StiComponentPainter
Direct Known Subclasses:
StiBarCodePainter, StiChartPainter, StiCheckBoxPainter, StiContainerPainter, StiGaugePainter, StiLinePrimitivePainter, StiMapPainter, StiShapePainter, StiSparklinePainter, StiTextPainter, StiViewPainter, StiZipCodePainter

public class StiComponentPainter
extends StiPainter

StiComponent Painter Copyright Stimulsoft


Constructor Summary
StiComponentPainter()
           
 
Method Summary
 void drawSelectedRectangle(StiGraphics g, java.lang.Double size, StiBrush brush, StiRectangle rect)
          Draws a selected rectangle specified by a Rectangle structure.
 void paintBorder(StiComponent component, StiGraphics g, StiRectangle rect, java.lang.Boolean topMost, java.lang.Boolean isThumbPaint, java.lang.Double zoom, java.lang.Double pageZoom)
          Paint component border
 void paintConditions(StiComponent component, StiGraphics g, StiRectangle rect)
          Paints conditions of a component.
 void paintEvents(StiComponent component, StiGraphics g, StiRectangle rect)
           
 void paintInheritedImage(StiComponent component, StiGraphics g)
           
 void paintMarkers(StiComponent component, StiGraphics g, StiRectangle rect, java.lang.Double zoom, java.lang.Double pageZoom)
          Paints a markers specified by a Rectangle structure.
 void paintOrderAndQuickInfo(StiComponent component, StiGraphics g, java.lang.String number)
          Paints order numbers and quick info of a component.
 void paintQuickButtons(StiComponent component, StiGraphics g)
          Paints the QuickButtons.
 void paintSelection(StiComponent component, StiPaintArgs args)
          Paints the selection.
 
Methods inherited from class com.stimulsoft.report.painters.StiPainter
getImage, getIndicatorPainter, getPainter, getShapePainter, paint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiComponentPainter

public StiComponentPainter()
Method Detail

paintEvents

public void paintEvents(StiComponent component,
                        StiGraphics g,
                        StiRectangle rect)

paintConditions

public void paintConditions(StiComponent component,
                            StiGraphics g,
                            StiRectangle rect)
Paints conditions of a component. The Graphics to paint on. The rectangle.


paintInheritedImage

public void paintInheritedImage(StiComponent component,
                                StiGraphics g)

paintOrderAndQuickInfo

public void paintOrderAndQuickInfo(StiComponent component,
                                   StiGraphics g,
                                   java.lang.String number)
Paints order numbers and quick info of a component. The Graphics to paint on. A number of the component order for painting.


paintQuickButtons

public void paintQuickButtons(StiComponent component,
                              StiGraphics g)
Paints the QuickButtons. The Graphics to paint on.


paintMarkers

public void paintMarkers(StiComponent component,
                         StiGraphics g,
                         StiRectangle rect,
                         java.lang.Double zoom,
                         java.lang.Double pageZoom)
Paints a markers specified by a Rectangle structure. The Graphics to draw on. StiRectangle structure that represents the rectangle to draw markers.

Parameters:
component - StiComponent
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,
                        java.lang.Double pageZoom)
Paint component border

Parameters:
component - StiComponent
g - StiGraphics
rect - StiRectangle
topMost -
isThumbPaint - if paint thumbnail
zoom -
pageZoom -

paintSelection

public void paintSelection(StiComponent component,
                           StiPaintArgs args)
Paints the selection.

Parameters:
component - StiComponent
args - StiPaintArgs

drawSelectedRectangle

public void drawSelectedRectangle(StiGraphics g,
                                  java.lang.Double size,
                                  StiBrush brush,
                                  StiRectangle rect)
Draws a selected rectangle specified by a Rectangle structure.

Parameters:
Graphics - to draw on.
size - The size of selected point.
brush - StiBrush to draw selected point.
rect - StiRectangle the rectangle to draw selections.