mixed with <zebkit.EventProducer>
extends <>

Single line text model implementation

Constructor: ([s], [max])

  • [s] <String>

    the specified text the model has to be filled

  • [max] <Integer>

    the specified maximal text length

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

  • max <Integer>

    a maximal length of text

public <Integer> maxLen

Maximal text length. -1 means the text is not restricted regarding its length.

Inherited events: