public interface PopupableFormElementI extends FormElementI
ALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, log, MENU_ACTION_KIND, NO_LOCAL_ACTION_KIND, NO_TOPMDI_ONLY_ACTION_KIND, NOT_AVAILABLE_ACTION_KIND, REFRESH_FROM_SHOW_POPUP, REFRESH_FROM_TRANSACTION, REFRESH_FROM_USER, SHORTCUT_ACTION_KIND, TOOLBAR_ACTION_KIND, TOPMDI_ONLY_ACTION_KIND| Modifier and Type | Method and Description |
|---|---|
BO |
action_newElement(java.awt.event.ActionEvent a)
Action handler for creating a new element.
|
void |
addPopupElementListener(PopupElementListenerI pel)
Adds a listener to observe events related to this popup element.
|
void |
applyFilters()
Applies the current filters to the form's data view.
|
BO |
delegatedNewElement(java.awt.event.ActionEvent a)
Handles the creation of a new element via delegation.
|
void |
focusSearchPanel()
Sets the focus to the search panel within this form element.
|
java.awt.Component |
getAsComponent()
Retrieves the form element as a standard AWT Component.
|
QueryBuilder |
getQuery()
Retrieves the current QueryBuilder instance used by this form element.
|
void |
hideIfPopupped()
Hides the element if it is currently being displayed in a popup.
|
boolean |
isLoadImmediate()
Determines if the data should be loaded immediately upon opening the popup.
|
boolean |
needsToDelegateNewElement()
Checks if the creation of a new element needs to be delegated to a specific handler.
|
void |
prepareForShowPopup()
Prepares the form element to be shown inside a popup.
|
void |
refreshActions()
Refreshes the available actions for this form element.
|
void |
removePopupElementListener(PopupElementListenerI pel)
Removes a previously added popup element listener.
|
void |
setEditingStatus(boolean b)
Sets the editing status of the form element.
|
void |
setFormPopupController(FormPopupControllerI fpc)
Sets the controller responsible for managing the popup behavior of this form.
|
void |
setQueryString(java.lang.String s)
Sets the raw query string for the form element.
|
void |
stopLoading()
Stops any ongoing loading processes within the form element.
|
void |
triggerQuery(java.lang.String s)
Triggers a query execution based on the provided query string (user input).
|
addBeanA, addBeanA, addFormElementListener, addHandleA, addHandleA, addHandleE, addHandleE, afterSave, afterSetValue, applyL10n, beforeSave, beforeSetValue, close, getActions, getActionsOfKind, getAttributeMap, getConfRoot, getCtx, getDebugName, getDefinitionErrorHandler, getElementConsideringIgnored, getElementMap, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleElements, handleElements, handleElements, handleError, handleNewElement, handleNewElement, handleNewElement, isClosed, isDebug, isEditable, isGUIBuilt, isIgnored, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, performAdditionalFormElementDefinitionChecks, postInit, postRefresh, refresh, refresh, removeFormElementListener, requestFocus, setEditable, showError, showError, sync, toDebugName, willCareForChildActions, willCareForChildRefreshvoid hideIfPopupped()
FIXME PB 2012-07-30: The only real use for this interface. Remove the rest?
void setFormPopupController(FormPopupControllerI fpc)
fpc - The FormPopupControllerI instance.void addPopupElementListener(PopupElementListenerI pel)
pel - The listener to add.void removePopupElementListener(PopupElementListenerI pel)
pel - The listener to remove.boolean needsToDelegateNewElement()
BO delegatedNewElement(java.awt.event.ActionEvent a)
a - The ActionEvent triggering the creation.void refreshActions()
void stopLoading()
BO action_newElement(java.awt.event.ActionEvent a)
a - The ActionEvent triggered.void focusSearchPanel()
java.awt.Component getAsComponent()
This is needed as we cannot cast a PopupableFormElementI directly to a Component, yet we need a Component to be able to add the FormElement to the Popup.
void setEditingStatus(boolean b)
b - true to enable editing, false to disable.boolean isLoadImmediate()
void applyFilters()
QueryBuilder getQuery()
void triggerQuery(java.lang.String s)
s - The query string.void setQueryString(java.lang.String s)
s - The query string.void prepareForShowPopup()
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.