public interface FormComponent extends Internationalization
xml constructor must implement this interface
and a public constructor like: public
constructor(Hashtable params)
DEBUG_LANGUAGE| Modifier and Type | Method and Description |
|---|---|
Object |
getConstraints(LayoutManager parentLayout)
Description method to return the
constraints component to
place correctly in parent container. |
void |
init(Hashtable parameters)
Main method to init an object from parameters
hashtable. |
boolean |
isEnabled()
Description method to check when a component is or not enabled.
|
void |
setEnabled(boolean enabled)
Description method to set enabled or not the component according the
boolean condition in parameter.
|
void |
setVisible(boolean visible)
Description method to set visible or not the component according the
boolean condition in parameter.
|
getTextsToTranslate, setComponentLocale, setResourceBundlevoid init(Hashtable parameters) throws Exception
hashtable.
parameters - the hashtable with pairs (Key,Value). For example:
| Key | Value |
| align | center |
| attr | attribute |
| ... | ... |
Exception - when Exception occursObject getConstraints(LayoutManager parentLayout)
constraints component to
place correctly in parent container.
parentLayout - the parent container referencevoid setEnabled(boolean enabled)
enabled - the enabled conditionvoid setVisible(boolean visible)
visible - the visibility conditionboolean isEnabled()
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.