Package org.javlo.component.form
Class Field
- java.lang.Object
-
- org.javlo.component.form.Field
-
- Direct Known Subclasses:
GenericQuiz.Question
public class Field extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Field.FieldComparator
-
Field Summary
Fields Modifier and Type Field Description protected static List<? extends Object>
FIELD_ROLES
protected static List<? extends Object>
FIELD_TYPES
static String
ROLE_COUNT_PART
protected static char
SEP
static String
STATIC_TEXT
static String
STATIC_TITLE
static String
TYPE_VAT
-
Method Summary
-
-
-
Field Detail
-
SEP
protected static final char SEP
- See Also:
- Constant Field Values
-
STATIC_TEXT
public static final String STATIC_TEXT
- See Also:
- Constant Field Values
-
STATIC_TITLE
public static final String STATIC_TITLE
- See Also:
- Constant Field Values
-
TYPE_VAT
public static final String TYPE_VAT
- See Also:
- Constant Field Values
-
ROLE_COUNT_PART
public static String ROLE_COUNT_PART
-
-
Method Detail
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getType
public String getType()
-
getSqlType
public String getSqlType()
-
setType
public void setType(String type)
-
getName
public String getName()
-
setName
public void setName(String name)
-
isRequire
public boolean isRequire()
-
setRequire
public void setRequire(boolean require)
-
setRawList
public void setRawList(String rawList)
-
getRawList
public String getRawList()
-
getOrder
public Integer getOrder()
-
setOrder
public void setOrder(int ordre)
-
getPrefix
public String getPrefix()
-
getRegisteredList
public String getRegisteredList()
-
setRegisteredList
public void setRegisteredList(String registeredList)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
isLast
public boolean isLast()
is the last element of cols sequence. That mean width with next field is greater than 12.- Returns:
-
setLast
public void setLast(boolean last)
-
isFirst
public boolean isFirst()
is the first element of cols sequence.- Returns:
-
setFirst
public void setFirst(boolean first)
-
getCondition
public String getCondition()
-
setCondition
public void setCondition(String condition)
-
getConditionField
public String getConditionField()
-
getConditionTest
public String getConditionTest()
-
getConditionOperator
public String getConditionOperator()
-
isFilledWidth
public boolean isFilledWidth(String value, boolean firstIsSelection)
-
isValueValid
public boolean isValueValid(String value)
-
getFormatLabel
public String getFormatLabel()
-
getRole
public String getRole()
-
setRole
public void setRole(String role)
-
getLabelSize
public String getLabelSize()
-
getListLabelSize
public String getListLabelSize()
-
getAutocomplete
public String getAutocomplete()
-
setAutocomplete
public void setAutocomplete(String autocomplete)
-
isNeedList
public boolean isNeedList()
-
-