|
Class
zebkit.data.TextModel
mixed with <zebkit.data.DataModel> <zebkit.EventProducer> |
<zebkit.data> |
Abstract text model class
| public | <String> | getLine (line) |
| public | <Integer> | getLines ( ) |
| public | <Integer> | getTextLength ( ) |
| public | <String> | getValue ( ) |
| public | void | remove (offset, size) |
| public | void | setValue (text) |
| public | void | write (s, offset) |
Inherited methods:
|
public
<Integer>
getLines ( )
Get number of lines stored in the text model
Returns:
<Integer>
a number of lines |
|
public
<Integer>
getTextLength ( )
Get number of characters stored in the model
Returns:
<Integer>
a number of characters |
|
public
void
remove (offset, size)
Remove substring from the text model. Parameters:
|
|
public
void
setValue (text)
Fill the text model with the given text Parameters:
|
|
public
void
write (s, offset)
Write the given string in the text model starting from the specified offset Parameters:
|
textUpdated
Fired when the text model has been updated: a string has been inserted or removed
Parameters:
|