001package kiwi.ui.propeditor;
002
003public class TextPropertyType extends PropertyType
004  {
005  private int maxLength;
006
007  public TextPropertyType()
008    {
009    this(-1);
010    }
011
012  public TextPropertyType(int maxLength)
013    {
014    this.maxLength = maxLength;
015    }
016
017  public void setMaximumLength(int maxLength)
018    {
019    this.maxLength = maxLength;
020    }
021
022  public int getMaximumLength()
023    {
024    return(maxLength);
025    }
026  }
027
028/* end of source file */