public interface FormElementI
Modifier and Type | Field and Description |
---|---|
static int |
ALL_ACTIONS |
static int |
AVAILABLE_ACTION_KIND |
static int |
CONTEXTMENU_ACTION_KIND |
static int |
LOCAL_ACTION_KIND |
static int |
MENU_ACTION_KIND |
static int |
NO_LOCAL_ACTION_KIND |
static int |
NO_TOPMDI_ONLY_ACTION_KIND |
static int |
NOT_AVAILABLE_ACTION_KIND |
static int |
REFRESH_FROM_TRANSACTION |
static int |
REFRESH_FROM_USER |
static int |
SHORTCUT_ACTION_KIND |
static int |
TOOLBAR_ACTION_KIND |
static int |
TOPMDI_ONLY_ACTION_KIND |
Modifier and Type | Method and Description |
---|---|
void |
addFormElementListener(FormElementListenerI l) |
void |
afterSave() |
void |
afterSetValue(java.lang.Object old,
java.lang.Object newO) |
void |
beforeSave() |
void |
beforeSetValue(java.lang.Object old,
java.lang.Object newO) |
void |
close() |
java.util.LinkedHashMap |
getActions() |
java.util.LinkedHashMap |
getActionsOfKind(int kind) |
java.util.HashMap |
getAttributeMap() |
electric.xml.Element |
getConfRoot() |
ClientContextI |
getCtx() |
java.lang.String |
getDebugName() |
java.util.HashMap |
getElementMap() |
FormContextI |
getFtx() |
java.lang.String |
getName() |
SchemaI |
getSchema() |
void |
handleAttributes(java.util.HashMap atthash) |
boolean |
handleElement(java.util.HashMap elhas,
electric.xml.Element el) |
void |
handleElements(java.util.HashMap elhash,
boolean subsPossible) |
FormElementI |
handleNewElement(electric.xml.Element el) |
boolean |
isClosed() |
boolean |
isDebug() |
boolean |
isEditable() |
boolean |
isGUIBuilt() |
boolean |
isInputPossible() |
boolean |
isShown() |
void |
mdiActivate(MDIElementI me)
Invoked when this form element is activated within an MDI environment.
|
void |
mdiClose(MDIElementI me) |
void |
mdiDeactivate(MDIElementI me)
Invoked when this form element is deactivated within an MDI environment.
|
void |
mdiOpen(MDIElementI me) |
void |
postInit() |
void |
postRefresh(int from) |
void |
refresh() |
void |
refresh(int from) |
void |
removeFormElementListener(FormElementListenerI l) |
void |
requestFocus() |
boolean |
setEditable(boolean isEditable) |
void |
sync() |
static java.lang.String |
toDebugName(java.lang.Object o)
A helper method to create a human-readable string representation of an object, typically a Frame or Component like FPanel.
|
boolean |
willCareForChildActions() |
boolean |
willCareForChildRefresh() |
static final int ALL_ACTIONS
static final int TOOLBAR_ACTION_KIND
static final int MENU_ACTION_KIND
static final int CONTEXTMENU_ACTION_KIND
static final int SHORTCUT_ACTION_KIND
static final int LOCAL_ACTION_KIND
static final int NO_LOCAL_ACTION_KIND
static final int TOPMDI_ONLY_ACTION_KIND
static final int NO_TOPMDI_ONLY_ACTION_KIND
static final int AVAILABLE_ACTION_KIND
static final int NOT_AVAILABLE_ACTION_KIND
static final int REFRESH_FROM_USER
static final int REFRESH_FROM_TRANSACTION
electric.xml.Element getConfRoot()
FormContextI getFtx()
ClientContextI getCtx()
SchemaI getSchema()
java.lang.String getName()
java.util.HashMap getAttributeMap()
java.util.HashMap getElementMap()
void handleAttributes(java.util.HashMap atthash)
void handleElements(java.util.HashMap elhash, boolean subsPossible)
boolean handleElement(java.util.HashMap elhas, electric.xml.Element el)
FormElementI handleNewElement(electric.xml.Element el)
void postInit()
void mdiOpen(MDIElementI me) throws java.lang.Exception
java.lang.Exception
void mdiClose(MDIElementI me) throws java.lang.Exception
java.lang.Exception
void mdiActivate(MDIElementI me) throws java.lang.Exception
This method is called when the form element becomes the active, or currently selected, component in its MDI parent. Implementations should handle any necessary updates, refreshes, or setup that needs to occur when the element is brought into focus.
me
- The MDIElementI
that is being activated.java.lang.Exception
- if an error occurs during activation.void mdiDeactivate(MDIElementI me) throws java.lang.Exception
This method is called when the form element is no longer the active component in its MDI parent. Implementations should handle any necessary cleanup, state saving, or resource release that needs to occur when the element loses focus.
me
- The MDIElementI
that is being deactivated.java.lang.Exception
- if an error occurs during deactivation.void addFormElementListener(FormElementListenerI l)
void removeFormElementListener(FormElementListenerI l)
void sync()
void beforeSave()
void afterSave()
void refresh(int from)
void refresh()
void postRefresh(int from)
boolean willCareForChildRefresh()
void beforeSetValue(java.lang.Object old, java.lang.Object newO)
void afterSetValue(java.lang.Object old, java.lang.Object newO)
java.util.LinkedHashMap getActions()
boolean willCareForChildActions()
java.util.LinkedHashMap getActionsOfKind(int kind)
boolean setEditable(boolean isEditable)
boolean isEditable()
boolean isShown()
boolean isInputPossible()
boolean isGUIBuilt()
void requestFocus()
void close()
boolean isClosed()
boolean isDebug()
java.lang.String getDebugName()
static java.lang.String toDebugName(java.lang.Object o)
o
- The Object
to format.String
with the object's simple class name and other relevant details.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.