public class TextPropertyDefinition extends FormPropertyDefinition
Modifier and Type | Field and Description |
---|---|
protected boolean |
multiline |
displayName, mandatory, name, parameters, type, value, writable
Constructor and Description |
---|
TextPropertyDefinition()
Creates a single-lined text-property.
|
TextPropertyDefinition(boolean multiline) |
Modifier and Type | Method and Description |
---|---|
FormPropertyDefinition |
clone()
Create a close of this
FormPropertyDefinition instance. |
boolean |
isMultiline() |
void |
setMultiline(boolean multiline) |
void |
setValues(FormPropertyDefinition otherDefinition)
Sets the properties of this
FormPropertyDefinition instance based in the
properties present in the given definition. |
cloneParameters, getDisplayName, getName, getParameters, getType, getValue, isMandatory, isWritable, setDisplayName, setMandatory, setName, setParameters, setType, setValue, setWritable
public TextPropertyDefinition()
public TextPropertyDefinition(boolean multiline)
public void setMultiline(boolean multiline)
public boolean isMultiline()
public FormPropertyDefinition clone()
FormPropertyDefinition
FormPropertyDefinition
instance.clone
in class FormPropertyDefinition
public void setValues(FormPropertyDefinition otherDefinition)
FormPropertyDefinition
FormPropertyDefinition
instance based in the
properties present in the given definition.setValues
in class FormPropertyDefinition
Copyright © 2016 Alfresco. All rights reserved.