public class ComboBoxFormElement<T> extends AbstractFormElement<T> implements Enable, Mocking
Constructor and Description |
---|
ComboBoxFormElement(PropertyInterface property,
List<T> values) |
Modifier and Type | Method and Description |
---|---|
Frontend.IComponent |
getComponent() |
T |
getValue() |
void |
mock()
The object should have random data after this call.
|
void |
setEnabled(boolean enabled)
This should not be called from application code directly.
|
void |
setValue(T value) |
fireChange, getCaption, getConstraint, getProperty, height, height, listener, setChangeListener
public ComboBoxFormElement(PropertyInterface property, List<T> values)
public Frontend.IComponent getComponent()
getComponent
in interface FormElement<T>
public void setEnabled(boolean enabled)
Enable
Enabled
.setEnabled
in interface Enable
enabled
- the new status of the FormElementpublic T getValue()
getValue
in interface FormElement<T>
public void setValue(T value)
setValue
in interface FormElement<T>
Copyright © 2019. All rights reserved.