public class DefaultJDynForm extends AbstractJDynForm implements JDynFormField.JDynFormFieldListener
JDynForm.JDynFormListener
logger, values
USE_PLAIN, USE_SEPARATORS, USE_TABS, USE_TREE
Constructor and Description |
---|
DefaultJDynForm(DefaultDynFormManager manager,
DynFormDefinition definition) |
Modifier and Type | Method and Description |
---|---|
void |
addActionToPopupMenu(DataType tipo,
String name,
Action action) |
void |
addSeparatorToPopupMenu(DataType tipo) |
void |
clear() |
void |
fieldChanged(JDynFormField field) |
void |
fieldEnter(JDynFormField field) |
void |
fieldExit(JDynFormField field) |
JDynFormField |
getField(String fieldName) |
protected JComponent |
getFieldsContainer() |
Iterator |
getFieldsIterator() |
Collection |
getShowFields() |
Object |
getValue(String fieldName) |
void |
getValues(DynObject values) |
boolean |
hasValidValues() |
boolean |
hasValidValues(List<String> fieldsName) |
boolean |
isModified() |
void |
message(JDynFormField field,
String message) |
void |
setBorder(boolean border) |
void |
setReadOnly(boolean readOnly) |
void |
setValue(String fieldName,
Object value) |
void |
setValues(DynObject values) |
addListener, addScrollsAndMessageBar, asJComponent, fireFieldChangeEvent, fireMessageEvent, getCustomFields, getDefinition, getFormHeight, getFormWidth, getLayoutFromTags, getLayoutMode, getMessagesJLabel, getServiceManager, getUseScrollBars, initComponents, isContentsInitialized, isReadOnly, isShowMessageStatus, loadDefaultValuesFromTags, message, message, removeListener, setFormSize, setLayoutMode, setShowMessageStatus, setUseScrollBars
public DefaultJDynForm(DefaultDynFormManager manager, DynFormDefinition definition) throws ServiceException
ServiceException
protected JComponent getFieldsContainer()
getFieldsContainer
in class AbstractJDynForm
public void setReadOnly(boolean readOnly)
setReadOnly
in interface JDynForm
setReadOnly
in class AbstractJDynForm
public boolean hasValidValues()
hasValidValues
in interface JDynForm
public boolean hasValidValues(List<String> fieldsName)
hasValidValues
in interface JDynForm
public boolean isModified()
isModified
in interface JDynForm
public void fieldEnter(JDynFormField field)
fieldEnter
in interface JDynFormField.JDynFormFieldListener
public void fieldExit(JDynFormField field)
fieldExit
in interface JDynFormField.JDynFormFieldListener
public void message(JDynFormField field, String message)
message
in interface JDynFormField.JDynFormFieldListener
public void fieldChanged(JDynFormField field)
fieldChanged
in interface JDynFormField.JDynFormFieldListener
public JDynFormField getField(String fieldName)
getField
in interface JDynForm
getField
in class AbstractJDynForm
public Iterator getFieldsIterator()
public Collection getShowFields()
public void addActionToPopupMenu(DataType tipo, String name, Action action)
addActionToPopupMenu
in interface JDynForm
addActionToPopupMenu
in class AbstractJDynForm
public void addSeparatorToPopupMenu(DataType tipo)
addSeparatorToPopupMenu
in interface JDynForm
addSeparatorToPopupMenu
in class AbstractJDynForm
public void setBorder(boolean border)
setBorder
in class AbstractJDynForm