public interface IFormManager extends Internationalization, SecureElement, Freeable, SelectCurrencyValues, FontAndEncodingSelector, DataNavigationListener
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION
XML Attribute
|
static String |
APPLICATION
XML Attribute
|
static String |
CONTAINER
XML Attribute
|
static String |
DELAYED_LOAD
XML Attribute
|
static String |
DETAIL |
static String |
DYNAMIC_FORM
XML Attribute
|
static String |
FORM
XML Attribute
|
static String |
FORM_BUILDER
XML Attribute
|
static String |
FRAME
XML Attribute
|
static String |
ICON
XML Attribute
|
static String |
ID
XML Attribute
|
static String |
IM_LOADER
XML Attribute
|
static String |
INTERACTION_MANAGER
XML Attribute
|
static String |
LOAD
XML Attribute
|
static String |
LOCATOR
XML Attribute
|
static String |
RESOURCES
XML Attribute
|
static String |
RULE_LOADER
XML Attribute
|
static String |
RULES
XML Attribute
|
static String |
SHOW_FRAME
XML Attribute
|
static String |
USE_CLASS_PATH
XML Attribute
|
DEBUG_LANGUAGEDESACTIVATE_COMPONENT_BY_PERMISSION_TIPEURO, PST| Modifier and Type | Method and Description |
|---|---|
void |
addFormToContainer(JPanel panelForm,
String formFileName) |
Form |
getActiveForm()
Returns the active
Form reference. |
Application |
getApplication()
Gets the
Application reference. |
Container |
getContainer() |
FormBuilder |
getFormBuilder() |
Form |
getFormCopy(String formName)
Gets a
Form instance copy which form name is passed as entry
parameter. |
Form |
getFormCopy(String formName,
Container container)
Gets a
Form instance copy which form name is passed as entry
parameter. |
Form |
getFormCopy(String formResourceName,
String imQualifiedName)
Gets a
Form instance copy which form resource name is passed
as entry parameter. |
Form |
getFormCopyInEDTh(String formName) |
Form |
getFormReference(String form)
Gets a
Form reference which name is passed as entry
parameter. |
Form |
getFormReference(String formName,
boolean loadIfNecessary)
Gets the form reference which name is passed as entry parameter.
|
String |
getIcon()
Determines the icon that should be shown in a new Frame
|
String |
getId()
Gets the unique identifier for this
FormManager |
InteractionManager |
getInteractionManager(String formName) |
String |
getLabelFileURI() |
Locale |
getLocale() |
EntityReferenceLocator |
getReferenceLocator()
Gets the
EntityReferenceLocator reference that is stored
inside. |
ResourceBundle |
getResourceBundle()
Gets the
ResourceBundle reference stored in this
FormManager |
String |
getResourceFileName()
Gets the
ResourceBundle name stored in this
FormManager |
RuleEngine |
getRuleEngine() |
URL |
getURL(String formName)
Gets the Form URL which name is passed as entry parameter.
|
boolean |
isLoaded() |
void |
load()
Loads the
FormManager.The initial Form, initial
InteractionManager and Tree are instanced and
are layered out in container to be shown. |
void |
loadInEDTh() |
void |
reload(Form form) |
void |
setActiveForm(Form f) |
void |
setApplication(Application application) |
void |
setApplicationPreferences(ApplicationPreferences ap) |
void |
setInteractionManager(InteractionManager interactionManager,
String formName)
Registers the
InteractionManager which is passed as entry
parameter to the Form which name is passed as entry parameter as well. |
void |
setInteractionManager(String interactionManagerClass,
String formName)
Sets the
InteractionManager for a
Form |
void |
setReferenceLocator(EntityReferenceLocator locator) |
boolean |
showForm(String formName)
Shows the form which file name is passed as entry parameter If this form
isn't loaded, this method will load the form.
|
boolean |
showFormInEDTh(String form) |
boolean |
showFrame()
Determines whether this FormManager should be shown in a new Frame.
|
getTextsToTranslate, setComponentLocale, setResourceBundleinitPermissions, isRestrictedshowCurrencyValueshowAvaliableFonts, useFontdataChanged, dataWillChangestatic final String FORM_BUILDER
static final String FRAME
static final String CONTAINER
static final String USE_CLASS_PATH
static final String APPLICATION
static final String LOCATOR
static final String DETAIL
static final String IM_LOADER
static final String RULE_LOADER
static final String DELAYED_LOAD
static final String DYNAMIC_FORM
static final String RESOURCES
static final String INTERACTION_MANAGER
static final String FORM
static final String RULES
static final String ACTION
static final String LOAD
static final String ID
static final String SHOW_FRAME
static final String ICON
String getId()
FormManagerString with the unique identifier.void loadInEDTh()
URL getURL(String formName)
#baseCP variable.formName - a String with the Form file name.URL referencevoid reload(Form form)
EntityReferenceLocator getReferenceLocator()
EntityReferenceLocator reference that is stored
inside.EntityReferenceLocatorApplication getApplication()
Application reference.Application referenceRuleEngine getRuleEngine()
FormBuilder getFormBuilder()
String getLabelFileURI()
Locale getLocale()
ResourceBundle getResourceBundle()
ResourceBundle reference stored in this
FormManagerResourceBundle referenceString getResourceFileName()
ResourceBundle name stored in this
FormManagerString referenceForm getFormCopy(String formName)
Form instance copy which form name is passed as entry
parameter.formName - a String with the Form name.Form getFormCopy(String formName, Container container)
Form instance copy which form name is passed as entry
parameter. This Form copy is layered out into the container
parameter. The Form reference that will be returned have
registered the InteractionManager that has been defined in
application xml description. This method calls the
getFormCopyInEDTh(java.lang.String) method from EventDispatchThread.formName - a String with the Form name.container - a Container where the Form will be
displayed in.Form reference.Form getFormCopy(String formResourceName, String imQualifiedName)
Form instance copy which form resource name is passed
as entry parameter. This Form copy is layered out into the
container parameter. The Form reference that will be
returned have registered the InteractionManager that has
been passed as entry parameter. This method calls the
getFormCopyInEDTh(java.lang.String) method from EventDispatchThread.formResourceName - a String with the Form name.imQualifiedName - a String with the interaction manager qualified
class name.Form reference.void load()
FormManager.The initial Form, initial
InteractionManager and Tree are instanced and
are layered out in container to be shown. All this operations are
performed in EventDispatchThread.void setInteractionManager(InteractionManager interactionManager, String formName)
InteractionManager which is passed as entry
parameter to the Form which name is passed as entry parameter as well. If
the Form has just been loaded, the InteractionManager is
registered else the Form name and the InteractionManager
instance are stored in #interactionManagerList variable to be
registered when the Form is loaded.interactionManager - InteractionManager reference where the
Form is registered in.formName - a String with the Form file name.void setInteractionManager(String interactionManagerClass, String formName)
InteractionManager for a
Form which file name is passed as entry parameter.
The InteractionManager instance is loaded by reflection and
the class constructor mustn't have any parameter.interactionManagerClass - String with the InteractionManager Class name.formName - String with the Form file name.InteractionManager getInteractionManager(String formName)
boolean showForm(String formName)
showFormInEDTh(java.lang.String) from EventDispatchThread.formName - a String with the file name.boolean showFormInEDTh(String form)
void setActiveForm(Form f)
Form getActiveForm()
Form reference. This method takes into
account both the forms displayed in container and the forms layered out
in DetailForms. Returns the Form reference
established in method setActiveForm(Form). If the
Form reference hasn't been established then this method
returns the Form reference that is visible into the
FormManager container.Container getContainer()
void setApplication(Application application)
void setReferenceLocator(EntityReferenceLocator locator)
void setApplicationPreferences(ApplicationPreferences ap)
boolean isLoaded()
Form getFormReference(String formName, boolean loadIfNecessary)
load() if is necessary and the loadIfNecessary
parameter is true.formName - a Form name.loadIfNecessary - true to be loaded the FormManagerForm getFormReference(String form)
Form reference which name is passed as entry
parameter.Form reference; null if the Form hasn't been
loaded.boolean showFrame()
String getIcon()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.