Class zebkit.data.TextEvent
extends <zebkit.Event>
<zebkit.data>

Text model event class.

Constructor:
zebkit.data.TextEvent ( )



protected chainable $fillWith (src, id, line, lines, offset, size)

Fill the event with the give parameters


Parameters:
  • src <zebkit.data.TextModel>

    a source of the event

  • id <String>

    an id of the event ("remove", "insert")

  • line <Integer>

    a first line

  • lines <Integer>

    a number of lines

  • offset <Integer>

    an offset

  • size <Integer>

    a number of characters



Inherited attributes:
public Object source   



public <String> id

Event id.

public <Integer> line

First line number that has participated in the event action.

public <Integer> lines

Number of lines that have participated in the event action.

public <Integer> offset

Offset in a text.

public <Integer> size

Number of characters.