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.
|
cachedCustomDisplayercurrentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolverdocumentReference, ownerDocument, referenceCache| Constructor and Description |
|---|
TextAreaClass() |
TextAreaClass(PropertyMetaClass wclass) |
fromString, getSize, isPicker, setPicker, setSizeclone, 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, validatePropertyaddField, 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, toXMLStringfromXML, getDocumentReference, getLocalEntityReferenceSerializer, getLocalization, getLocalKey, getLocalUidStringEntityReferenceSerializer, getMergeManager, getOwnerDocument, getReference, getXWikiContext, hashCode, localizePlain, localizePlainOrKey, toString, toXMLStringfinalize, getClass, notify, notifyAll, wait, wait, waitget, put, safeget, safeputapply, getDocumentReference, getReference, merge, setDocumentReference, toStringpublic 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 PropertyClassInterfacenewProperty in class StringClasspublic 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 PropertyClassInterfacedisplayEdit in class StringClasspublic void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
displayView in interface PropertyClassInterfacedisplayView in class StringClasspublic void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, boolean isolated, XWikiContext context)
Copyright © 2004–2021 XWiki. All rights reserved.