public interface JDynFormField extends Component
Modifier and Type | Interface and Description |
---|---|
static interface |
JDynFormField.JDynFormFieldListener |
Modifier and Type | Method and Description |
---|---|
void |
addActionToPopupMenu(java.lang.String name,
javax.swing.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(java.lang.String message) |
javax.swing.AbstractButton |
getButtonForClickEvent(java.lang.String eventName,
java.lang.String tip,
java.lang.String iconName) |
DynFormFieldDefinition |
getDefinition() |
JDynForm |
getForm() |
javax.swing.JComponent |
getJLabel() |
java.lang.String |
getLabel() |
java.lang.String |
getName() |
double |
getResizeWeight() |
java.lang.String |
getSeparatorTitleToUseBefore() |
java.lang.Object |
getValue()
Get the value of field from the form.
|
boolean |
hasClickEvent(java.lang.String eventName) |
boolean |
hasValidValue() |
boolean |
isModified() |
boolean |
isReadOnly() |
void |
removeListener(JDynFormField.JDynFormFieldListener listener) |
void |
setReadOnly(boolean readonly) |
void |
setValue(java.lang.Object value) |
java.lang.String |
toHTML() |
boolean |
useEmptyLabel() |
asJComponent
DynFormFieldDefinition getDefinition()
java.lang.String getName()
java.lang.String getLabel()
javax.swing.JComponent getJLabel()
boolean useEmptyLabel()
java.lang.String getSeparatorTitleToUseBefore()
boolean hasValidValue()
void setValue(java.lang.Object value)
boolean isModified()
java.lang.Object getValue()
void fetch(DynObject container)
container
- void addListener(JDynFormField.JDynFormFieldListener listener)
void removeListener(JDynFormField.JDynFormFieldListener listener)
void setReadOnly(boolean readonly)
boolean isReadOnly()
void addActionToPopupMenu(java.lang.String name, javax.swing.Action action)
void addSeparatorToPopupMenu()
void fireMessageEvent(java.lang.String message)
void clear()
JDynForm getForm()
double getResizeWeight()
java.lang.String toHTML()
boolean hasClickEvent(java.lang.String eventName)
javax.swing.AbstractButton getButtonForClickEvent(java.lang.String eventName, java.lang.String tip, java.lang.String iconName)