Package de.xima.fc.form.common.items
Class XTextArea
java.lang.Object
de.xima.fc.form.common.items.XTextArea
- All Implemented Interfaces:
- IXItem,- IXItemBasic,- IXValuableItem
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAvailableProperties(Locale locale) Gets a list of base properties available for this item.getIcon()Finds the prefix for form items of this type, such ascbfor checkboxes ortffor input fields.booleanChecks whether form items of this type can send values to the server when the form is submitted.voidrenderItem(com.hp.gagawa.java.elements.Div container, XItemRenderData renderData, XItemRenderCtx renderCtx, IXFormRenderContext formRenderCtx) Creates the HTML for this form item that is included in the final rendered form.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.form.common.models.IXItemBasicgetAutoReRender, getFieldNameConventions, isShouldRenderForAttributeOnLabel, isShouldRenderUnit, isShowInDrawerPanel, isShowInElementSelect, processUpload, renderItemPreview, validate, validate, validateGlobal
- 
Constructor Details- 
XTextAreapublic XTextArea()
 
- 
- 
Method Details- 
getAvailablePropertiesDescription copied from interface:IXItemBasicGets a list of base properties available for this item.Note that plugins may extend these properties. Use de.xima.fc.web.common.fd2.XItemPropertiesHelper#getAvailablePropertiesto get a list of all properties, including properties added by plugins.Note: Caching the properties returned by this method is not required. Just create the list of properties and return it. - Specified by:
- getAvailablePropertiesin interface- IXItemBasic
- Parameters:
- locale- The current locale that can be used for locale dependent properties.
- Returns:
- A list of all base properties available for this item.
 
- 
getIcon- Specified by:
- getIconin interface- IXItemBasic
- Returns:
- The CSS class for the icon of this form item, such as for example ico-fc-XCheckbox.
 
- 
getPrefixDescription copied from interface:IXItemBasicFinds the prefix for form items of this type, such ascbfor checkboxes ortffor input fields. This prefix is used, for example, in the designer to generate a default name for newly added form items (tf-1,cb-2).- Specified by:
- getPrefixin interface- IXItemBasic
- Returns:
- The prefix for form items of this type.
 
- 
isSubmitsValuespublic boolean isSubmitsValues()Description copied from interface:IXItemBasicChecks whether form items of this type can send values to the server when the form is submitted. Form items that do not submit values are, for example, not validated and no values are ever stored in the database. Form items such as pictures or charts do no submit values, while classical form elements such as input fields and checkboxes are a prime example of form items that do submit values.- Specified by:
- isSubmitsValuesin interface- IXItemBasic
- Returns:
- Whether form element of this type can send values to the server when the form is submitted.
 
- 
renderItempublic void renderItem(com.hp.gagawa.java.elements.Div container, XItemRenderData renderData, XItemRenderCtx renderCtx, IXFormRenderContext formRenderCtx) Description copied from interface:IXItemBasicCreates the HTML for this form item that is included in the final rendered form. You should append one or more HTML elements to the container that is passed to this method.- Specified by:
- renderItemin interface- IXItemBasic
- Parameters:
- container- The container that will contain this form item in the final form. You should append children to this container.
- renderData- The current render data with the properties and options of the item.
- renderCtx- The current render context giving you access to the global configuration.
- formRenderCtx- The form render context giving you access to the global form configuration.
- See Also:
 
 
-