Class zebkit.data.SingleLineTxt
mixed with <zebkit.EventProducer>
extends <zebkit.data.TextModel>
<zebkit.data>

Single line text model implementation

Constructor:
zebkit.data.SingleLineTxt ([s], [max])

Parameters:
  • [s] <String>

    the specified text the model has to be filled

  • [max] <Integer>

    the specified maximal text length





@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:
  • 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: