public abstract class AbstractJDynForm extends Object implements JDynForm
JDynForm.JDynFormListener| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
logger |
protected DynObject |
values |
USE_PLAIN, USE_SEPARATORS, USE_TABS, USE_TREE| Constructor and Description |
|---|
AbstractJDynForm(DynFormManager manager,
DynFormDefinition definition) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, getValue, getValues, hasValidValues, hasValidValues, isModified, setValue, setValuesprotected static final Logger logger
protected DynObject values
public AbstractJDynForm(DynFormManager manager, DynFormDefinition definition) throws ServiceException
ServiceExceptionpublic static int getLayoutFromTags(Tags tags)
public void loadDefaultValuesFromTags(Tags tags)
public DynFormSPIManager getServiceManager()
public JComponent asJComponent()
ComponentJComponent.asJComponent in interface ComponentJComponentprotected void initComponents()
protected boolean isContentsInitialized()
public void addListener(JDynForm.JDynFormListener listener)
addListener in interface JDynFormpublic void removeListener(JDynForm.JDynFormListener listener)
removeListener in interface JDynFormpublic JLabel getMessagesJLabel()
public void setShowMessageStatus(boolean showMessageStatus)
setShowMessageStatus in interface JDynFormpublic boolean isShowMessageStatus()
isShowMessageStatus in interface JDynFormprotected void fireMessageEvent(String message)
protected void fireFieldChangeEvent(JDynFormField field)
protected JPanel addScrollsAndMessageBar(JComponent formPanel)
public int getLayoutMode()
getLayoutMode in interface JDynFormpublic void setLayoutMode(int layoutMode)
setLayoutMode in interface JDynFormpublic boolean isReadOnly()
isReadOnly in interface JDynFormpublic void setReadOnly(boolean readOnly)
setReadOnly in interface JDynFormpublic int getFormWidth()
getFormWidth in interface JDynFormpublic int getFormHeight()
getFormHeight in interface JDynFormpublic void setFormSize(int width,
int height)
setFormSize in interface JDynFormpublic void addActionToPopupMenu(DataType tipo, String name, Action action)
addActionToPopupMenu in interface JDynFormpublic void addSeparatorToPopupMenu(DataType tipo)
addSeparatorToPopupMenu in interface JDynFormpublic DynFormDefinition getDefinition()
getDefinition in interface JDynFormpublic boolean getUseScrollBars()
getUseScrollBars in interface JDynFormpublic void setUseScrollBars(boolean usesScrolls)
setUseScrollBars in interface JDynFormpublic void setBorder(boolean border)
public JDynFormField getField(String fieldName)
protected abstract JComponent getFieldsContainer()