public interface JDynFormField extends Component, Service
Modifier and Type | Interface and Description |
---|---|
static interface |
JDynFormField.JDynFormFieldListener |
Modifier and Type | Method and Description |
---|---|
void |
addActionToPopupMenu(String name,
Action action) |
void |
addListener(JDynFormField.JDynFormFieldListener listener) |
void |
addSeparatorToPopupMenu() |
void |
clear() |
void |
fetch(DynObject container)
Get the value from field and put it in the container.
|
void |
fireMessageEvent(String message) |
DynFormFieldDefinition |
getDefinition() |
JDynForm |
getForm() |
JComponent |
getJLabel() |
String |
getLabel() |
String |
getName() |
Object |
getValue()
Get the value of field from the form.
|
boolean |
hasValidValue() |
boolean |
isModified() |
boolean |
isReadOnly() |
void |
removeListener(JDynFormField.JDynFormFieldListener listener) |
void |
setReadOnly(boolean readonly) |
void |
setValue(Object value) |
asJComponent
getManager
DynFormFieldDefinition getDefinition()
String getName()
String getLabel()
JComponent getJLabel()
boolean hasValidValue()
void setValue(Object value)
boolean isModified()
Object getValue()
void fetch(DynObject container)
container
- void addListener(JDynFormField.JDynFormFieldListener listener)
void removeListener(JDynFormField.JDynFormFieldListener listener)
void setReadOnly(boolean readonly)
boolean isReadOnly()
void addSeparatorToPopupMenu()
void fireMessageEvent(String message)
void clear()
JDynForm getForm()