26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YMacroRecorder.h"
31 #include "YInputField.h"
39 , passwordMode( passwordMode )
41 , inputMaxLength( -1 )
47 std::string validChars;
57 YUI_CHECK_NEW( priv );
84 return priv->passwordMode;
90 return priv->shrinkable;
103 return priv->validChars;
109 priv->validChars= newValidChars;
115 return priv->inputMaxLength;
121 priv->inputMaxLength = len;
138 propSet.
add(
YProperty( YUIProperty_Value, YStringProperty ) );
139 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
140 propSet.
add(
YProperty( YUIProperty_ValidChars, YStringProperty ) );
141 propSet.
add(
YProperty( YUIProperty_InputMaxLength, YIntegerProperty ) );
157 else if ( propertyName == YUIProperty_InputMaxLength )
setInputMaxLength( val.integerVal() );
196 if ( priv->passwordMode )
return "YPasswordField";
197 else return "YInputField";