@Portable public class PropertyEditorFieldInfo extends Object
Constructor and Description |
---|
PropertyEditorFieldInfo() |
PropertyEditorFieldInfo(String label,
PropertyEditorType type)
Create a PropertyEditorFieldInfo
|
PropertyEditorFieldInfo(String label,
String currentStringValue,
PropertyEditorType type)
Create a PropertyEditorFieldInfo
|
public PropertyEditorFieldInfo()
public PropertyEditorFieldInfo(String label, PropertyEditorType type)
label
- field descriptortype
- Property Editor Type of this fieldpublic PropertyEditorFieldInfo(String label, String currentStringValue, PropertyEditorType type)
label
- field descriptortype
- Property Editor Type of this fieldcurrentStringValue
- Current value of this fieldpublic PropertyEditorFieldInfo withKey(String key)
key
- public PropertyEditorFieldInfo withComboValues(List<String> comboValues)
comboValues
- a list of combo valuespublic PropertyEditorFieldInfo withPriority(int priority)
priority
- public PropertyEditorFieldInfo withHelpInfo(String helpHeading, String helpText)
public PropertyEditorFieldInfo withValidators(PropertyFieldValidator... validators)
validators
- public PropertyEditorFieldInfo withValidators(Collection<PropertyFieldValidator> validators)
public PropertyEditorFieldInfo withRemovalSupported(boolean isRemovalSupported)
public PropertyEditorFieldInfo withOptions(PropertyEditorFieldOption... options)
public void undo()
public PropertyEditorType getType()
public String getOriginalValue()
public String getCurrentStringValue()
public void setCurrentStringValue(String currentStringValue)
public boolean isRemovalSupported()
public boolean hasHelpInfo()
public void setPropertyEditorCategory(PropertyEditorCategory category)
public String getLabel()
public int getPriority()
public List<PropertyFieldValidator> getValidators()
public String getEventId()
public String getKey()
public String getHelpHeading()
public String getHelpText()
public List<PropertyEditorFieldOption> getOptions()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.