com.stimulsoft.report.events
Class StiPaintEventArgs

java.lang.Object
  extended by com.stimulsoft.base.system.StiEventHandlerArgs
      extended by com.stimulsoft.report.events.StiPaintEventArgs
All Implemented Interfaces:
java.lang.Cloneable

public class StiPaintEventArgs
extends StiEventHandlerArgs
implements java.lang.Cloneable

Describes an argument for the events Painted and Painting.


Field Summary
 
Fields inherited from class com.stimulsoft.base.system.StiEventHandlerArgs
Empty
 
Constructor Summary
StiPaintEventArgs(java.lang.Object context, StiRectangle clipRectangle)
          Creates a new object of the type StiPaintEventArgs with specified arguments.
 
Method Summary
 java.lang.Object clone()
           
 boolean getCancel()
          Gets or sets value indicates that drawing is canceled.
 StiRectangle getClipRectangle()
          Gets the rectangle in which to paint.
 java.lang.Object getContext()
          Gets context for painting.
 boolean getDrawBorderFormatting()
          Gets or sets value indicates that formatting will be draw.
 boolean getDrawChilds()
          Gets or sets value indicates that child components must be drawed.
 boolean getDrawTopmostBorderSides()
          Gets or sets value indicates that topmost border sides will be draw.
 java.awt.Graphics getGraphics()
          Gets Graphics for painting.
 void setCancel(boolean value)
           
 void setDrawBorderFormatting(boolean value)
           
 void setDrawChilds(boolean value)
           
 void setDrawTopmostBorderSides(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPaintEventArgs

public StiPaintEventArgs(java.lang.Object context,
                         StiRectangle clipRectangle)
Creates a new object of the type StiPaintEventArgs with specified arguments.

Parameters:
context - Context for painting.
clipRectangle - The rectangle in which to paint.
Method Detail

getCancel

public boolean getCancel()
Gets or sets value indicates that drawing is canceled.


getClipRectangle

public StiRectangle getClipRectangle()
Gets the rectangle in which to paint.


getContext

public java.lang.Object getContext()
Gets context for painting.


getDrawBorderFormatting

public boolean getDrawBorderFormatting()
Gets or sets value indicates that formatting will be draw.


getDrawChilds

public boolean getDrawChilds()
Gets or sets value indicates that child components must be drawed.


getDrawTopmostBorderSides

public boolean getDrawTopmostBorderSides()
Gets or sets value indicates that topmost border sides will be draw.


getGraphics

public java.awt.Graphics getGraphics()
Gets Graphics for painting.


setCancel

public void setCancel(boolean value)

setDrawBorderFormatting

public void setDrawBorderFormatting(boolean value)

setDrawChilds

public void setDrawChilds(boolean value)

setDrawTopmostBorderSides

public void setDrawTopmostBorderSides(boolean value)

clone

public final java.lang.Object clone()
Overrides:
clone in class java.lang.Object