## com.crystaldecisions.report.htmlrender
Class OnRenderScriptEvent

    java.lang.Object
      RenderEventObjectBase
          com.crystaldecisions.report.htmlrender.OnRenderScriptEvent

public class OnRenderScriptEvent
extends RenderEventObjectBase

This class provides arguments for the `OnRenderScriptEventListener`. The event occurs when the HTML script generation starts.

See Also:
  Serialized Form

Constructor Summary
`OnRenderScriptEvent(java.lang.Object source)`

Method Summary
`boolean` | `getHandled()` Returns whether the event is handled.
`java.lang.String` | `getScript()` Returns the `<script>` block.
`void` | `setHandled(boolean value)` Sets whether the event is handled.
`void` | `setScript(java.lang.String value)` Sets the `<script>` block.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OnRenderScriptEvent

    public OnRenderScriptEvent(java.lang.Object source)

Method Detail

### getHandled

    public boolean getHandled()

  Returns whether the event is handled.

  Returns:
    `true` if the event is handled and `false` otherwise.
  See Also:
    `setHandled`

### getScript

    public java.lang.String getScript()

  Returns the `<script>` block.

  Returns:
    The `<script>` block as a `String`.
  See Also:
    `setScript`

### setHandled

    public void setHandled(boolean value)

  Sets whether the event is handled. Set to `true` if you do not want the default action to occur.

  Parameters:
    `value` - `true` if the event is handled.
  See Also:
    `getHandled`

### setScript

    public void setScript(java.lang.String value)

  Sets the `<script>` block. This includes the beginning `<script>` tag and the end `<script>` tag.

  Parameters:
    `value` - A `String` that specifies the `<script>` block.
  See Also:
    `getScript`