public class DefaultJDynForm extends AbstractJDynForm implements JDynFormField.JDynFormFieldListener
JDynForm.DynFormContext, JDynForm.JDynFormListener
border, contents, LOGGER, values
USE_PLAIN, USE_SEPARATORS, USE_TABS, USE_TREE
Constructor and Description |
---|
DefaultJDynForm(DynFormSPIManager manager,
JDynFormFactory factory,
DynFormDefinition definition,
JDynForm.DynFormContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addActionToPopupMenu(DataType tipo,
java.lang.String name,
javax.swing.Action action) |
void |
addSeparatorToPopupMenu(DataType tipo) |
void |
clear() |
void |
fieldChanged(JDynFormField field) |
void |
fieldEnter(JDynFormField field) |
void |
fieldExit(JDynFormField field) |
JDynFormField |
getField(java.lang.String fieldName) |
javax.swing.JComponent |
getFieldsContainer() |
java.util.Iterator |
getFieldsIterator() |
java.util.Collection |
getShowFields() |
java.lang.Object |
getValue(java.lang.String fieldName) |
void |
getValues(DynObject values) |
boolean |
hasValidValues() |
boolean |
hasValidValues(java.util.List<java.lang.String> fieldsName) |
boolean |
isModified() |
void |
message(JDynFormField field,
java.lang.String message) |
void |
setBorder(boolean border) |
void |
setReadOnly(boolean readOnly) |
void |
setValue(java.lang.String fieldName,
java.lang.Object value) |
void |
setValues(DynObject values) |
addListener, addScrollsAndMessageBar, asJComponent, callUserEvent, callUserFunction, configurePopupMenu, fireFieldChangeEvent, fireMessageEvent, get, getContext, getCustomActionsForDataType, getDefinition, getFormHeight, getFormWidth, getLayoutFromTags, getLayoutMode, getMessagesJLabel, getProperties, getProperty, getScript, getServiceManager, getUseScrollBars, initComponents, isContentsInitialized, isReadOnly, isScriptReadOnly, isShowMessageStatus, loadDefaultValuesFromTags, message, message, putScript, removeListener, setContext, setFormSize, setLayoutMode, setProperty, setShowMessageStatus, setUseScrollBars, toHtml
public DefaultJDynForm(DynFormSPIManager manager, JDynFormFactory factory, DynFormDefinition definition, JDynForm.DynFormContext context)
public javax.swing.JComponent getFieldsContainer()
getFieldsContainer
in interface JDynForm
public void setReadOnly(boolean readOnly)
setReadOnly
in interface JDynForm
setReadOnly
in class AbstractJDynForm
public boolean hasValidValues()
hasValidValues
in interface JDynForm
public boolean hasValidValues(java.util.List<java.lang.String> fieldsName)
hasValidValues
in interface JDynForm
public java.lang.Object getValue(java.lang.String fieldName)
public void setValue(java.lang.String fieldName, java.lang.Object value)
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, java.lang.String message)
message
in interface JDynFormField.JDynFormFieldListener
public void fieldChanged(JDynFormField field)
fieldChanged
in interface JDynFormField.JDynFormFieldListener
public JDynFormField getField(java.lang.String fieldName)
getField
in interface JDynForm
getField
in class AbstractJDynForm
public java.util.Iterator getFieldsIterator()
public java.util.Collection getShowFields()
public void addActionToPopupMenu(DataType tipo, java.lang.String name, javax.swing.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