|
KIE Uberfire Properties Editor Widget API 6.2.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kie.uberfire.properties.editor.model.PropertyEditorFieldInfo
@Portable public class PropertyEditorFieldInfo
| Constructor Summary | |
|---|---|
PropertyEditorFieldInfo()
|
|
PropertyEditorFieldInfo(String label,
PropertyEditorType type)
Create a PropertyEditorFieldInfo |
|
PropertyEditorFieldInfo(String label,
String currentStringValue,
PropertyEditorType type)
Create a PropertyEditorFieldInfo |
|
| Method Summary | |
|---|---|
List<String> |
getComboValues()
|
String |
getCurrentStringValue()
|
String |
getEventId()
|
String |
getKey()
|
String |
getLabel()
|
String |
getOriginalValue()
|
int |
getPriority()
|
PropertyEditorType |
getType()
|
List<PropertyFieldValidator> |
getValidators()
|
void |
setCurrentStringValue(String currentStringValue)
|
void |
setPropertyEditorCategory(PropertyEditorCategory category)
|
String |
toString()
|
PropertyEditorFieldInfo |
withComboValues(List<String> comboValues)
Combo values used in PropertyEditorType.COMBO fields. |
PropertyEditorFieldInfo |
withKey(String key)
Key is a helper to identify a field. |
PropertyEditorFieldInfo |
withPriority(int priority)
The priority value is used to sort the categories (lower values toward the beginning). |
PropertyEditorFieldInfo |
withValidators(PropertyFieldValidator... validators)
Add validators to a specific field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyEditorFieldInfo()
public PropertyEditorFieldInfo(String label,
PropertyEditorType type)
label - field descriptortype - Property Editor Type of this field
public PropertyEditorFieldInfo(String label,
String currentStringValue,
PropertyEditorType type)
label - field descriptortype - Property Editor Type of this fieldcurrentStringValue - Current value of this field| Method Detail |
|---|
public PropertyEditorFieldInfo withKey(String key)
key - public PropertyEditorFieldInfo withComboValues(List<String> comboValues)
comboValues - a list of combo valuespublic PropertyEditorFieldInfo withPriority(int priority)
priority -
public PropertyEditorFieldInfo withValidators(PropertyFieldValidator... validators)
validators -
public List<String> getComboValues()
public PropertyEditorType getType()
public String getOriginalValue()
public String getCurrentStringValue()
public void setCurrentStringValue(String currentStringValue)
public void setPropertyEditorCategory(PropertyEditorCategory category)
public String getLabel()
public int getPriority()
public List<PropertyFieldValidator> getValidators()
public String getEventId()
public String getKey()
public String toString()
toString in class Object
|
KIE Uberfire Properties Editor Widget API 6.2.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||