public class Field extends Object implements Serializable, Comparable<Field>
Modifier and Type | Class and Description |
---|---|
static class |
Field.FieldType
Enum for various types of Field, such as Date, Time, Integer, Float, etc.
|
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Field f) |
String |
getCaption() |
String |
getDisplayName()
Get the display name for the Field.
|
String |
getId()
Get the unique identifier for the Field.
|
List<String> |
getLabels() |
String |
getPath()
Get the unique path (XFA SOM expression) for the Field.
|
Integer |
getPosition()
Get the position/order in which the Field appears in the Layout.
|
Field.FieldType |
getType()
Get the type for the Field.
|
List<String> |
getValues() |
String |
getXfaFieldType() |
boolean |
isMasterPageField() |
void |
setCaption(String caption) |
void |
setDisplayName(String displayName)
Sets the display name for the Field.
|
void |
setId(String id)
Sets the unique identifier for the Field.
|
void |
setLabels(List<String> labels) |
void |
setMasterPageField(boolean masterPageField) |
void |
setPath(String path)
Sets the unique path (XFA SOM expression) for the Field.
|
void |
setPosition(Integer position)
Sets the position/order in which the Field appears in the Layout.
|
void |
setType(Field.FieldType type)
Sets the type for the Field.
|
void |
setValues(List<String> values) |
void |
setXfaFieldType(String xfaFieldType) |
public boolean isMasterPageField()
public void setMasterPageField(boolean masterPageField)
public String getId()
public void setId(String id)
id
- The unique identifier for the Field.public String getPath()
public void setPath(String path)
path
- The unique path (XFA SOM expression) for the Field.public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- The display name for the Field.public Field.FieldType getType()
public void setType(Field.FieldType type)
type
- The type for the Field.public Integer getPosition()
public void setPosition(Integer position)
position
- The position/order in which the Field appears in the Layout.public int compareTo(Field f)
public void setCaption(String caption)
public String getCaption()
public String getXfaFieldType()
public void setXfaFieldType(String xfaFieldType)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.