26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YMultiLineEdit.h"
33 #define DEFAULT_VISIBLE_LINES 3
40 , inputMaxLength( -1 )
41 , defaultVisibleLines( DEFAULT_VISIBLE_LINES )
46 int defaultVisibleLines;
56 YUI_CHECK_NEW( priv );
83 return priv->inputMaxLength;
89 priv->inputMaxLength = len;
95 return priv->defaultVisibleLines;
101 priv->defaultVisibleLines = newVisibleLines;
117 propSet.
add(
YProperty( YUIProperty_Value, YStringProperty ) );
118 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
119 propSet.
add(
YProperty( YUIProperty_InputMaxLength, YIntegerProperty ) );
134 else if ( propertyName == YUIProperty_InputMaxLength )
setInputMaxLength( val.integerVal() );