public class TextAreaGenerator extends TextFieldGenerator
BaseComponentGenerator.ControlType
dataDictionary
Constructor and Description |
---|
TextAreaGenerator() |
Modifier and Type | Method and Description |
---|---|
UIComponent |
generate(FacesContext context,
String id)
Dynamically generates a component in a default state
|
int |
getColumns() |
int |
getRows() |
void |
setColumns(int columns) |
void |
setRows(int rows) |
createComponent, getListOfValuesConstraint, getMaxLength, getSize, setMaxLength, setSize, setupConstraints, setupConverter, setupMandatoryValidation
addStringConstraintParam, createAndSetConverter, createOutputTextComponent, generateAndAdd, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, setupProperty, setupRegexConstraint, setupStringLengthConstraint
public int getColumns()
public void setColumns(int columns)
columns
- Sets the number of columnspublic int getRows()
public void setRows(int rows)
rows
- Sets the number of rowspublic UIComponent generate(FacesContext context, String id)
IComponentGenerator
generate
in interface IComponentGenerator
generate
in class TextFieldGenerator
context
- FacesContextid
- Optional id for the newly created component, if null
is passed a unique id is generatedCopyright © 2005–2017 Alfresco Software. All rights reserved.