com.silverpeas.form.fieldType
Class TextFieldImpl
java.lang.Object
com.silverpeas.form.AbstractField
com.silverpeas.form.fieldType.TextField
com.silverpeas.form.fieldType.TextFieldImpl
- All Implemented Interfaces:
- Field, Serializable, Comparable
public class TextFieldImpl
- extends TextField
A TextFieldImpl stores use a String attribute to store its value.
- See Also:
- Serialized Form
Methods inherited from class com.silverpeas.form.fieldType.TextField |
acceptObjectValue, acceptStringValue, acceptValue, acceptValue, compareTo, equals, getObjectValue, getTypeName, getValue, getValue, hashCode, isNull, setNull, setObjectValue, setValue, setValue |
TextFieldImpl
public TextFieldImpl()
getStringValue
public String getStringValue()
- Returns the string value of this field.
- Specified by:
getStringValue
in interface Field
- Specified by:
getStringValue
in class AbstractField
setStringValue
public void setStringValue(String value)
- Set the string value of this field.
- Specified by:
setStringValue
in interface Field
- Specified by:
setStringValue
in class AbstractField
isReadOnly
public boolean isReadOnly()
- Returns true if the value is read only.
- Specified by:
isReadOnly
in class TextField
getSuggestions
public List<String> getSuggestions(String fieldName,
String templateName,
String componentId)
printSuggestionsIncludes
public static void printSuggestionsIncludes(PagesContext pageContext,
String fieldName,
PrintWriter out)
printSuggestionsScripts
public static void printSuggestionsScripts(PagesContext pageContext,
String fieldName,
List<String> suggestions,
PrintWriter out)
Copyright © 2016 Silverpeas. All Rights Reserved.