## com.crystaldecisions.report.htmlrender
Class OnRenderStyleEvent

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

public class OnRenderStyleEvent
extends RenderEventObjectBase

This class provides arguments for the `OnRenderStyleEventListener`. The event occurs when the HTML style class generation starts.

See Also:
  Serialized Form

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

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

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

Constructor Detail

### OnRenderStyleEvent

    public OnRenderStyleEvent(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`

### getStyle

    public java.lang.String getStyle()

  Returns the `<style>` block.

  Returns:
    The `<style>` block as a `String`.
  See Also:
    `setStyle`

### 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`

### setStyle

    public void setStyle(java.lang.String value)

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

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