org.openmdx.portal.servlet.attribute
Class TextValue

java.lang.Object
  extended by org.openmdx.portal.servlet.attribute.AttributeValue
      extended by org.openmdx.portal.servlet.attribute.TextValue
All Implemented Interfaces:
Serializable

public class TextValue
extends AttributeValue
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.portal.servlet.attribute.AttributeValue
application, fieldDef, object
 
Constructor Summary
protected TextValue(Object object, FieldDef fieldDef, boolean isPassword, int maxLength, ApplicationContext application)
           
 
Method Summary
static AttributeValue createTextValue(Object object, FieldDef fieldDef, boolean isPassword, int maxLength, ApplicationContext application)
           
 Object getDefaultValue()
           
 int getMaxLength()
           
protected  String getStringifiedValueInternal(HtmlPage p, Object v, boolean multiLine, boolean forEditing, boolean shortFormat)
          Prepares a single stringified Value to append.
 boolean isPassword()
           
 
Methods inherited from class org.openmdx.portal.servlet.attribute.AttributeValue
createAttributeValue, getAutocompleter, getBackColor, getColor, getDataBinding, getFieldDef, getIconKey, getLabel, getMultiplicity, getName, getObject, getString, getStringifiedValue, getUpperBound, getValue, getValue, getValues, isChangeable, isEnabled, isOptionalValued, isSingleValued, paint, refresh, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextValue

protected TextValue(Object object,
                    FieldDef fieldDef,
                    boolean isPassword,
                    int maxLength,
                    ApplicationContext application)
Method Detail

createTextValue

public static AttributeValue createTextValue(Object object,
                                             FieldDef fieldDef,
                                             boolean isPassword,
                                             int maxLength,
                                             ApplicationContext application)

isPassword

public boolean isPassword()

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in class AttributeValue

getMaxLength

public int getMaxLength()

getStringifiedValueInternal

protected String getStringifiedValueInternal(HtmlPage p,
                                             Object v,
                                             boolean multiLine,
                                             boolean forEditing,
                                             boolean shortFormat)
Prepares a single stringified Value to append.

Overrides:
getStringifiedValueInternal in class AttributeValue


This software is published under the BSD license. Copyright © 2006-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.