public class TextAreaClass extends StringClass
Modifier and Type | Class and Description |
---|---|
static class |
TextAreaClass.ContentType
Possible values for the contenttype meta property.
|
static class |
TextAreaClass.EditorType
Possible values for the editor meta property.
|
cachedCustomDisplayer
currentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolver
documentReference, ownerDocument, referenceCache
Constructor and Description |
---|
TextAreaClass() |
TextAreaClass(PropertyMetaClass wclass) |
fromString, getSize, isPicker, setPicker, setSize
clone, compareTo, createReference, displayCustom, displayEdit, displayEdit, displayHidden, displayHidden, displayHidden, displayView, displayView, flushCache, fromStringArray, fromValue, fromXML, getCachedDefaultCustomDisplayer, getClassName, getClassType, getCustomDisplay, getDefaultCustomDisplayer, getFieldFullName, getFullQueryPropertyName, getHint, getId, getName, getNumber, getObject, getPrettyName, getPrettyName, getTooltip, getTooltip, getTranslatedPrettyName, getValidationMessage, getValidationRegExp, getXClass, getxWikiClass, initLazyCollections, isCustomDisplayed, isDisabled, isUnmodifiable, isValidColumnTypes, mergeProperty, newPropertyfromXML, renderContentInContext, renderContentInContext, setClassType, setCustomDisplay, setDisabled, setHint, setId, setName, setNumber, setObject, setPrettyName, setTooltip, setUnmodifiable, setValidationMessage, setValidationRegExp, setxWikiClass, toFormString, toString, toXML, toXML, validateProperty
addField, addPropertyForRemoval, apply, equals, get, getCurrentReferenceDocumentReferenceResolver, getCustomMappingMap, getDateValue, getDiff, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getProperties, getPropertyList, getPropertyNames, getRelativeEntityReferenceResolver, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClassReference, merge, merge, mergeField, put, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setOwnerDocument, setSetValue, setStringListValue, setStringValue, setXClassReference, toXMLString
fromXML, getDocumentReference, getLocalEntityReferenceSerializer, getLocalization, getLocalKey, getLocalUidStringEntityReferenceSerializer, getMergeManager, getOwnerDocument, getReference, getXWikiContext, hashCode, localizePlain, localizePlainOrKey, toString, toXMLString
finalize, getClass, notify, notifyAll, wait, wait, wait
get, put, safeget, safeput
apply, getDocumentReference, getReference, merge, setDocumentReference, toString
public TextAreaClass(PropertyMetaClass wclass)
public TextAreaClass()
public static TextAreaClass.EditorType getEditorType(TextAreaClass.ContentType contentType, TextAreaClass.EditorType def)
contentType
- the content typepublic static TextAreaClass.EditorType getEditorType(String contentType, TextAreaClass.EditorType def)
contentType
- the content type valuedef
- the current editor typepublic static TextAreaClass.ContentType getContentType(TextAreaClass.EditorType editorType, TextAreaClass.ContentType def)
editorType
- the editor typepublic BaseProperty newProperty()
newProperty
in interface PropertyClassInterface
newProperty
in class StringClass
public int getRows()
public void setRows(int rows)
public String getEditor()
public void setEditor(String editor)
editor
- the editor typepublic void setEditor(TextAreaClass.EditorType editorType)
editorType
- the editor typepublic String getContentType()
public void setContentType(String contentType)
public void setContentType(TextAreaClass.ContentType contentType)
contentType
- the content typepublic boolean isWysiwyg(XWikiContext context)
public boolean isWikiContent()
public void displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
displayEdit
in interface PropertyClassInterface
displayEdit
in class StringClass
public void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
displayView
in interface PropertyClassInterface
displayView
in class StringClass
public void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, boolean isolated, XWikiContext context)
Copyright © 2004–2022 XWiki. All rights reserved.