public class TextAreaGenerator extends TextFieldGenerator
BaseComponentGenerator.ControlType| Constructor and Description |
|---|
TextAreaGenerator() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
generate(javax.faces.context.FacesContext context,
java.lang.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, setupMandatoryValidationaddStringConstraintParam, createAndSetConverter, createOutputTextComponent, generateAndAdd, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, setupProperty, setupRegexConstraint, setupStringLengthConstraintpublic 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 javax.faces.component.UIComponent generate(javax.faces.context.FacesContext context,
java.lang.String id)
IComponentGeneratorgenerate in interface IComponentGeneratorgenerate in class TextFieldGeneratorcontext - FacesContextid - Optional id for the newly created component, if null
is passed a unique id is generatedCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.