public final class Field
extends java.lang.Object
Field
represents a control inside an Action
.Modifier and Type | Class and Description |
---|---|
static class |
Field.FieldType |
Constructor and Description |
---|
Field(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Returns the name attribute.
|
boolean |
getOptional()
Returns the optional attribute
|
java.lang.String |
getTitle()
Returns the title attribute.
|
Field.FieldType |
getType()
Returns the type attribute.
|
java.lang.String |
getValue()
Returns the value attribute.
|
int |
hashCode() |
boolean |
isMulti()
Returns the multi attribute
|
void |
setMulti(boolean multi)
Sets the multi attribute
|
void |
setName(java.lang.String name)
Sets the name attribute.
|
void |
setOptional(boolean optional)
Sets the optional attribute.
|
void |
setTitle(java.lang.String title)
Sets the title attribute.
|
void |
setType(Field.FieldType type)
Sets the type attribute.
|
void |
setValue(java.lang.String value)
Sets the value attribute.
|
java.lang.String |
toString() |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic Field.FieldType getType()
public void setType(Field.FieldType type)
type
- the type to setpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic boolean getOptional()
public void setOptional(boolean optional)
optional
- Whether the field should be considered optionalpublic boolean isMulti()
public void setMulti(boolean multi)
multi
- Whether the field can contain multiple valuespublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved