Package de.mhus.lib.form
Class MForm
- java.lang.Object
-
- de.mhus.lib.core.MLog
-
- de.mhus.lib.core.lang.MObject
-
- de.mhus.lib.form.MForm
-
- All Implemented Interfaces:
ILog,MNlsProvider,Nls
- Direct Known Subclasses:
MutableMForm
public class MForm extends MObject implements MNlsProvider
Represent a read only Form object. If you wan to modify the form cast it to MutableMForm if possible. Not all forms are mutable.- Author:
- mikehummel
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionHandleractionHandlerprotected ComponentAdapterProvideradapterProviderprotected IUiBuilderbuilderprotected FormControlcontrolprotected DataSourcedataSourceprotected UiInformationinformationPaneprotected Localelocaleprotected IConfigmodelprotected MNlsBundlenlsBundle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionHandlergetActionHandler()ComponentAdapterProvidergetAdapterProvider()IUiBuildergetBuilder()FormControlgetControl()DataSourcegetDataSource()UiInformationgetInformationPane()LocalegetLocale()IConfiggetModel()MNlsgetNls()MNlsBundlegetNlsBundle()
-
-
-
Field Detail
-
locale
protected Locale locale
-
adapterProvider
protected ComponentAdapterProvider adapterProvider
-
model
protected IConfig model
-
dataSource
protected DataSource dataSource
-
actionHandler
protected ActionHandler actionHandler
-
nlsBundle
protected MNlsBundle nlsBundle
-
control
protected FormControl control
-
informationPane
protected UiInformation informationPane
-
builder
protected IUiBuilder builder
-
-
Constructor Detail
-
MForm
public MForm()
-
MForm
public MForm(Locale locale, ComponentAdapterProvider adapterProvider, IConfig model)
-
MForm
public MForm(DefRoot model) throws de.mhus.lib.errors.MException
- Throws:
de.mhus.lib.errors.MException
-
-
Method Detail
-
getLocale
public Locale getLocale()
-
getAdapterProvider
public ComponentAdapterProvider getAdapterProvider()
-
getModel
public IConfig getModel()
-
getDataSource
public DataSource getDataSource()
-
getNls
public MNls getNls()
- Specified by:
getNlsin interfaceMNlsProvider- Overrides:
getNlsin classMObject
-
getControl
public FormControl getControl()
-
getInformationPane
public UiInformation getInformationPane()
-
getNlsBundle
public MNlsBundle getNlsBundle()
-
getActionHandler
public ActionHandler getActionHandler()
-
getBuilder
public IUiBuilder getBuilder()
-
-