Class
zebkit.data.SingleLineTxt
extends <zebkit.data.TextModel> |
<zebkit.data> |
Single line text model implementation
zebkit.data.SingleLineTxt
([s], [max]
)
Parameters:
-
[s]
<String>the specified text the model has to be filled
-
[max]
<Integer>the specified maximal text length
Inherited methods:
fire(name, [path], [params])
getLine(line)
getTextLength( )
getValue( )
off([eventName], [path], [cb])
on([eventName], [path], cb)
remove(offset, size)
setValue(text)
write(s, offset)
@Override
zebkit.data.TextModel
public <Integer> getLines ( )
Get number of lines stored in the text model. The model can have only one line
Returns:
<Integer>
a number of lines |
public
void
setMaxLength (max )
Set the given maximal length the text can have Parameters:
|