java.lang.Object
org.eclipse.birt.report.model.api.activity.NotificationEvent
org.eclipse.birt.report.model.api.command.CssEvent

public class CssEvent extends NotificationEvent
Included css style sheet event
  • Field Details

  • Constructor Details

    • CssEvent

      public CssEvent(org.eclipse.birt.report.model.css.CssStyleSheet css, int action)
      Constructs the event with the added or dropped css and action.
      Parameters:
      css - the css causing this event
      action - th etype of change
  • Method Details

    • getEventType

      public int getEventType()
      Description copied from class: NotificationEvent
      Returns the event type. The following event types are defined:
      • CONTENT_EVENT
      • ELEMENT_DELETE_EVENT
      • EXTENDS_EVENT
      • NAME_EVENT
      • NAME_SPACE_EVENT
      • PROPERTY_EVENT
      • STYLE_EVENT
      • USER_PROP_EVENT
      • CUSTOM_MSG_EVENT
      • EXTENSION_PROPERTY_DEFINITION_EVENT
      • NOTIFICATION_EVENT
      • VALIDATION_EVENT
      • LIBRARY_EVENT
      • ATTRIBUTE_EVENT
      • DISPOSE_EVENT
      • CONTENT_REPLACE_EVENT
      • TEMPLATE_TRANSFORM_EVENT
      Specified by:
      getEventType in class NotificationEvent
      Returns:
      the event type.
    • getAction

      public int getAction()
      Returns the type of change.
      Returns:
      the type of change.
    • getCss

      public org.eclipse.birt.report.model.css.CssStyleSheet getCss()
      Returns the css causing this event.
      Returns:
      the css causing this event