public class FPopup extends FInputPanel implements FormElementWithDisplayPropertyI, InitialFocusCandidateI, AsyncRefreshExecutorI, DetailViewOwnerI, FormPopupControllerI, PopupElementListenerI, de.ipcon.swing.PopupListenerI, java.awt.event.MouseListener, java.awt.event.KeyListener, java.awt.event.FocusListener
XMLConfigureInfoinhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY, TEXTURE_CENTERED, TEXTURE_REPEATTOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, 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| Constructor and Description |
|---|
FPopup(FormContextI _ftx,
electric.xml.Element _confroot) |
| Modifier and Type | Method and Description |
|---|---|
void |
_offEDTbuildGUI() |
boolean |
action_clearValues_enabled() |
void |
action_clearValues() |
boolean |
action_copyRecord_available() |
boolean |
action_copyRecord_enabled() |
BO |
action_copyRecord()
Creates a copy of the selected BO (the one in the Popup's detailview) and
sets this copy as the relation value of the parent BO and the detailview.
|
boolean |
action_editRecord_available() |
boolean |
action_editRecord_enabled() |
BO |
action_editRecord() |
BO |
action_editRecord(boolean _showConfirmDialog) |
boolean |
action_newElement_available() |
boolean |
action_newElement_enabled() |
void |
action_newElement()
Creates a new BO and sets this as the relation value of the parent BO and
the detailview.
|
void |
action_newElement(java.awt.event.ActionEvent a) |
boolean |
action_openRelatedBO_enabled() |
void |
action_openRelatedBO() |
boolean |
action_togglePopup_available() |
void |
action_togglePopup_contd2() |
boolean |
action_togglePopup_enabled() |
void |
action_togglePopup()
Deprecated.
This no-args version is only needed for old BeanShell forms.
|
void |
action_togglePopup(java.awt.event.ActionEvent event)
Opens or closes the actual table/list view popup and lets the user select
existing objects.
|
void |
build() |
void |
buildDetailView() |
void |
buildGUI() |
java.lang.Object |
calculateDisplayValue(AsyncRefreshRequestI r)
Calculates a display value for an asynchronous refresh request.
|
void |
checkBuildDetailView() |
void |
close() |
void |
createIconPanel() |
static java.lang.String |
createManyRelationDisplayString(java.util.Map _bos,
BO _parentBO,
SchemaI _schema,
java.lang.String _displaySort,
java.lang.String _dispFormPrefix,
java.lang.String _dispFormPostfix,
java.lang.String _dispFormDivider,
java.lang.String _dispForm,
java.lang.String _dispProp,
java.util.HashMap binding,
FormContextI ftx)
Creates the string to display in the "textfield" of the
FPopup. |
void |
createTextField() |
void |
focusGained(java.awt.event.FocusEvent f)
implementation for FocusListener
|
void |
focusLost(java.awt.event.FocusEvent f)
implementation for FocusListener
|
java.util.LinkedHashMap |
getActionsOfKind(int kind) |
java.util.HashMap<java.lang.String,MethodLocalizationWrapper> |
getAttributeMap()
Returns the map of attributes supported by this component.
|
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this component.
|
FDetailView |
getDetailView()
Retrieves the specific detail view instance managed by this owner.
|
java.lang.String |
getDisplayProperty() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this component.
|
javax.swing.JComponent |
getInitialFocus() |
javax.swing.JComponent |
getJComponent()
Returns the "JComponent" associated with this form element.
|
java.util.Set<BO> |
getKnownBOs()
Returns the set of all Business Objects (BOs) currently loaded or managed by this component.
|
java.lang.String |
getNullChoiceTitle() |
java.lang.String |
getOpenFormTid() |
BO |
getRelatedBO() |
void |
handleAlignA(java.lang.String value) |
void |
handleAutoEditA(java.lang.String value) |
void |
handleColumnsA(java.lang.String value) |
void |
handleDescriptionPropertyA(java.lang.String value) |
void |
handleDetailViewE(electric.xml.Element e) |
void |
handleDisplayFormatA(java.lang.String value) |
void |
handleDisplayFormatDividerA(java.lang.String value) |
void |
handleDisplayFormatPostfixA(java.lang.String value) |
void |
handleDisplayFormatPrefixA(java.lang.String value) |
void |
handleDisplayPropertyA(java.lang.String value) |
void |
handleDisplaySortA(java.lang.String value) |
void |
handleFallbackPropertyA(java.lang.String value) |
void |
handleFontA(java.lang.String value) |
void |
handleFontsizeA(java.lang.String value) |
void |
handleFontSizeA(java.lang.String value) |
void |
handleFontstyleA(java.lang.String value) |
void |
handleFontStyleA(java.lang.String value) |
void |
handleForegroundA(java.lang.String value) |
void |
handleFormatA(java.lang.String value) |
void |
handleLazyA(java.lang.String value) |
void |
handleLookupCaseSensitiveA(java.lang.String value) |
void |
handleLookupPropertyA(java.lang.String value) |
void |
handleLookupStartingWithA(java.lang.String value) |
void |
handleLookupSubstringA(java.lang.String value) |
void |
handleMouse(java.awt.event.MouseEvent m) |
void |
handleNullChoiceTitleA(java.lang.String value) |
void |
handleOfferCopyBeforeEditA(java.lang.String value) |
void |
handleOnBeforePopupE(electric.xml.Element e) |
void |
handleOpenFormTidA(java.lang.String value) |
void |
handleOpenPropertyA(java.lang.String value) |
void |
handlePopupAlignA(java.lang.String value) |
void |
handlePopupHeightA(java.lang.String value) |
void |
handlePopupSizeA(java.lang.String value) |
void |
handlePopupWidthA(java.lang.String value) |
void |
handlePropertyA(java.lang.String value) |
void |
handleShowEntityNameA(java.lang.String value) |
void |
handleShowNewActionA(java.lang.String value) |
void |
handleShowSelectActionA(java.lang.String value) |
void |
handleSubentitiesToExcludeA(java.lang.String value) |
void |
handleTableE(electric.xml.Element e) |
void |
handleTemplateSourceA(java.lang.String value) |
void |
handleTreeE(electric.xml.Element e) |
void |
handleUsePolymorphySelectionTreeA(java.lang.String value) |
void |
hidePopup() |
boolean |
isDvLocked() |
boolean |
isEditable()
Checks whether this form element is currently editable.
|
boolean |
isLinkonly() |
boolean |
isPopupVisible() |
boolean |
isShowNewAction() |
boolean |
isShowSelectAction() |
boolean |
isViewonly() |
void |
keyPressed(java.awt.event.KeyEvent k)
Handles key press events, routing control keys (Ctrl+V, Backspace, Enter)
to specific handler methods for custom behavior, related to our lookup
functionality.
|
void |
keyReleased(java.awt.event.KeyEvent k) |
void |
keyTyped(java.awt.event.KeyEvent k) |
void |
lockDisplayValue()
Locks the UI component that displays the value to prevent concurrent inputs during
async refresh operations.
|
void |
mouseClicked(java.awt.event.MouseEvent m) |
void |
mouseEntered(java.awt.event.MouseEvent m) |
void |
mouseExited(java.awt.event.MouseEvent m) |
void |
mousePressed(java.awt.event.MouseEvent m) |
void |
mouseReleased(java.awt.event.MouseEvent m) |
void |
persistStatus() |
void |
popupAboutToHide(de.ipcon.swing.IResizablePopupWindow _popup) |
void |
popupElementValueAdded(java.lang.Object o) |
void |
popupElementValueRemoved(java.lang.Object o) |
void |
popupElementValueSet(java.lang.Object o,
java.lang.Object n) |
void |
popupHidden(de.ipcon.swing.IResizablePopupWindow _popup) |
void |
postRefresh() |
void |
postRefresh(int from) |
void |
refresh(int from) |
void |
registerActionImpl(FormAction a) |
void |
renderDisplayValue(AsyncRefreshRequestI r,
java.lang.Object displayValue)
Renders the calculated value on the UI.
|
void |
replaceDetailViewBO(BO bo)
Replaces the Business Object displayed in the popup's detail view.
|
void |
restoreLockstateOfDisplayValue()
Unlocks the UI component that displays the value again.
|
void |
retrieveStatus() |
void |
selectBO(BO toSelect)
Instructs the owner to select or highlight a specific Business Object.
|
void |
setDvLocked(boolean b) |
boolean |
setEditable() |
boolean |
setEditable(boolean b)
Sets the editable status of this form element.
|
void |
setLinkonly(boolean $21) |
void |
setNullChoiceTitle(java.lang.String $23) |
void |
setOpenFormTid(java.lang.String $26) |
void |
setShowNewAction(boolean $24) |
void |
setShowSelectAction(boolean $25) |
void |
setViewonly(boolean $22) |
void |
setVisible(boolean _v) |
void |
showPopup()
Opens the resizable popup window containing the table with objects to select from.
|
void |
showPopup(java.awt.event.MouseEvent m)
Unlike the no-args showPopup(), which opens the popup with the object selection table,
this showPopup(MouseEvent) opens the context menu.
|
void |
syncImpl() |
boolean |
triggerLookup(java.lang.String s)
Called whenever ENTER is pressed in the Popup and some String was entered.
|
void |
unlazy() |
boolean |
willCareForChildActions() |
boolean |
willCareForChildRefresh() |
calculateMandatory, getAlsoMandatoryIf, getBaseline, handleAlsoMandatoryIfE_refreshActions, action_editForm_available, action_editForm_enabled, action_editForm, action_refreshView_available, action_refreshView, action_reopenView_available, action_reopenView_enabled, action_reopenView, addFormElementListener, afterSave, afterSetValue, assureTransferHandler, beforeSave, beforeSetValue, calculationMightBeExpensive, callLog, cancelPendingRefreshRequests, checkEditable, checkVisible, evalScript, evalScript, evalScript, evalScript, evalScript, fhide, focusNextComponent, focusPreviousComponent, fshow, getActions, getActionsOfKind, getBO, getConfRoot, getCtx, getDebugName, getDefinitionErrorHandler, getFormActions, getFtx, getInstrumentedSchema, getLastRefreshRequest, getMaximumSize, getMinimumSize, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleDropAllowedIfE, handleEditableA, handleEditableIfE, handleImpliedA, handleMaximumSizeA, handleMaxSizeA, handleMinimumSizeA, handleMinSizeA, handleMissingPropertiesPolicyA, handleNameA, handleOnAfterSaveE, handleOnAfterSetValueE, handleOnBeforeSaveE, handleOnBeforeSetValueE, handleOnConstructionE, handleOnDropE, handleOnFocusGainedE, handleOnFocusLostE, handleOnMDIActivateE, handleOnMDICloseE, handleOnMDIDeactivateE, handleOnMDIOpenE, handleOnRefreshE, handleOnSyncE, handlePreferredSizeA, handlePrefSizeA, handleScriptE, handleVirtualPropertyE, handleVisibleIfE, hasPreferredSizeOverride, invokeAction, invokeAction, isClosed, isDebug, isDefinedEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refreshActions, registerDefinitionErrorHandler, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, waitForAsyncRefreshesgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, init, paintComponent, setScrollingMode, setTexturegetAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInvolvedBOsForMandatoryCheckaddBeanA, addBeanA, addFormElementListener, addHandleA, addHandleA, addHandleE, addHandleE, afterSave, afterSetValue, applyL10n, beforeSave, beforeSetValue, getActions, getConfRoot, getCtx, getDebugName, getDefinitionErrorHandler, getElementConsideringIgnored, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleElements, handleElements, handleElements, handleError, handleNewElement, handleNewElement, handleNewElement, isClosed, isDebug, isGUIBuilt, isIgnored, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, performAdditionalFormElementDefinitionChecks, postInit, refresh, removeFormElementListener, requestFocus, showError, showError, sync, toDebugNamepublic FPopup(FormContextI _ftx, electric.xml.Element _confroot)
public java.lang.String getDisplayProperty()
getDisplayProperty in interface FormElementWithDisplayPropertyIpublic void close()
close in interface FormElementIclose in class FPanelpublic void registerActionImpl(FormAction a)
registerActionImpl in class FPanelpublic void buildGUI()
public void _offEDTbuildGUI()
public void createTextField()
public void createIconPanel()
public void handleDetailViewE(electric.xml.Element e)
public void checkBuildDetailView()
public void buildDetailView()
public void handlePropertyA(java.lang.String value)
public void handleLookupPropertyA(java.lang.String value)
public void handleLookupSubstringA(java.lang.String value)
public void handleLookupStartingWithA(java.lang.String value)
public void handleLookupCaseSensitiveA(java.lang.String value)
public void handleDisplayPropertyA(java.lang.String value)
public void handleDisplaySortA(java.lang.String value)
public void handleFormatA(java.lang.String value)
public void handleDisplayFormatA(java.lang.String value)
public void handleDescriptionPropertyA(java.lang.String value)
public void handleDisplayFormatPrefixA(java.lang.String value)
public void handleDisplayFormatDividerA(java.lang.String value)
public void handleDisplayFormatPostfixA(java.lang.String value)
public void handleFallbackPropertyA(java.lang.String value)
public void handleOpenPropertyA(java.lang.String value)
public void handleOpenFormTidA(java.lang.String value)
public void handlePopupHeightA(java.lang.String value)
public void handlePopupWidthA(java.lang.String value)
public void handlePopupSizeA(java.lang.String value)
public void handleTableE(electric.xml.Element e)
public void handleTreeE(electric.xml.Element e)
public void handleOnBeforePopupE(electric.xml.Element e)
public void unlazy()
public void handleColumnsA(java.lang.String value)
public void handleFontStyleA(java.lang.String value)
public void handleFontSizeA(java.lang.String value)
public void handleFontstyleA(java.lang.String value)
public void handleFontsizeA(java.lang.String value)
public void handleFontA(java.lang.String value)
public void handleForegroundA(java.lang.String value)
public void handleAlignA(java.lang.String value)
public void handlePopupAlignA(java.lang.String value)
public void handleLazyA(java.lang.String value)
public void handleSubentitiesToExcludeA(java.lang.String value)
public void handleUsePolymorphySelectionTreeA(java.lang.String value)
public void handleShowEntityNameA(java.lang.String value)
public void handleTemplateSourceA(java.lang.String value)
public void handleOfferCopyBeforeEditA(java.lang.String value)
public void handleAutoEditA(java.lang.String value)
public void handleNullChoiceTitleA(java.lang.String value)
public void handleShowNewActionA(java.lang.String value)
public void handleShowSelectActionA(java.lang.String value)
public java.util.HashMap<java.lang.String,MethodLocalizationWrapper> getAttributeMap()
FInputPanelgetAttributeMap in interface FormElementIgetAttributeMap in class FInputPanelpublic java.util.HashMap getElementMap()
FInputPanelgetElementMap in interface FormElementIgetElementMap in class FInputPanelpublic java.util.LinkedHashMap getDefaultActionMap()
FInputPanelgetDefaultActionMap in class FInputPanel@Deprecated public void action_togglePopup()
public void action_togglePopup(java.awt.event.ActionEvent event)
public void action_togglePopup_contd2()
public boolean action_togglePopup_enabled()
public boolean action_togglePopup_available()
public void action_newElement()
public void action_newElement(java.awt.event.ActionEvent a)
public boolean action_newElement_available()
public boolean action_newElement_enabled()
public BO action_editRecord()
public BO action_editRecord(boolean _showConfirmDialog)
public boolean action_editRecord_available()
public boolean action_editRecord_enabled()
public BO action_copyRecord()
public boolean action_copyRecord_available()
public boolean action_copyRecord_enabled()
public void action_openRelatedBO()
public boolean action_openRelatedBO_enabled()
public void action_clearValues()
public boolean action_clearValues_enabled()
public void setDvLocked(boolean b)
public boolean isDvLocked()
public boolean setEditable()
public boolean setEditable(boolean b)
FormElementIThe return value is critical for the recursive application of the editable status within the form context (ftx). It ensures efficient iteration without redundancy by serving as the value passed down to child elements.
setEditable in interface FormElementIsetEditable in class FPanelb - true to make the element editable; false otherwise.public boolean isEditable()
FormElementIisEditable in interface FormElementIisEditable in class FPaneltrue if the element is editable; false otherwise.public void persistStatus()
public void retrieveStatus()
public boolean willCareForChildRefresh()
willCareForChildRefresh in interface FormElementIwillCareForChildRefresh in class FPanelpublic boolean willCareForChildActions()
willCareForChildActions in interface FormElementIwillCareForChildActions in class FPanelpublic java.util.LinkedHashMap getActionsOfKind(int kind)
getActionsOfKind in interface FormElementIgetActionsOfKind in class FPanelpublic void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic void postRefresh()
postRefresh in class FPanelpublic void postRefresh(int from)
postRefresh in interface FormElementIpostRefresh in class FPanelpublic FDetailView getDetailView()
DetailViewOwnerIgetDetailView in interface DetailViewOwnerIFDetailView, or null if not initialized.public BO getRelatedBO()
public boolean isPopupVisible()
isPopupVisible in interface FormPopupControllerIpublic void setVisible(boolean _v)
setVisible in class javax.swing.JComponentpublic void popupHidden(de.ipcon.swing.IResizablePopupWindow _popup)
popupHidden in interface de.ipcon.swing.PopupListenerIpublic void popupAboutToHide(de.ipcon.swing.IResizablePopupWindow _popup)
popupAboutToHide in interface de.ipcon.swing.PopupListenerIpublic void showPopup()
This orchestrates the popup lifecycle: preparation, lazy initialization, location calculation, and final display.
Note: Not to be confused with showPopup(MouseEvent), which opens
the context menu.
showPopup in interface FormPopupControllerIpublic void hidePopup()
hidePopup in interface FormPopupControllerIpublic void popupElementValueSet(java.lang.Object o,
java.lang.Object n)
popupElementValueSet in interface PopupElementListenerIpublic void popupElementValueAdded(java.lang.Object o)
popupElementValueAdded in interface PopupElementListenerIpublic void popupElementValueRemoved(java.lang.Object o)
popupElementValueRemoved in interface PopupElementListenerIpublic void mouseEntered(java.awt.event.MouseEvent m)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent m)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent m)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent m)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent m)
mouseReleased in interface java.awt.event.MouseListenerpublic void handleMouse(java.awt.event.MouseEvent m)
public void keyReleased(java.awt.event.KeyEvent k)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent k)
keyTyped in interface java.awt.event.KeyListenerpublic void keyPressed(java.awt.event.KeyEvent k)
keyPressed in interface java.awt.event.KeyListenerk - The KeyEvent object representing the key press.public boolean triggerLookup(java.lang.String s)
public void focusGained(java.awt.event.FocusEvent f)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent f)
focusLost in interface java.awt.event.FocusListenerpublic void showPopup(java.awt.event.MouseEvent m)
m - the mouse event needed to determine the position of the popup menupublic void build()
public javax.swing.JComponent getInitialFocus()
getInitialFocus in interface InitialFocusCandidateIpublic javax.swing.JComponent getJComponent()
FInputPanelgetJComponent in class FInputPanelpublic java.lang.Object calculateDisplayValue(AsyncRefreshRequestI r)
AsyncRefreshExecutorIcalculateDisplayValue in interface AsyncRefreshExecutorIr - The refresh request containing all necessary
context and data for the calculation.public static java.lang.String createManyRelationDisplayString(java.util.Map _bos,
BO _parentBO,
SchemaI _schema,
java.lang.String _displaySort,
java.lang.String _dispFormPrefix,
java.lang.String _dispFormPostfix,
java.lang.String _dispFormDivider,
java.lang.String _dispForm,
java.lang.String _dispProp,
java.util.HashMap binding,
FormContextI ftx)
FPopup._bos - a Map with the BOs that should be
displayed_parentBO - the BO which holds the relation from
which the other BOs come_schema - SchemaI_displaySort - a string giving the name of the attribute by whose
string value sorting should be done; may be null, in that
case the objects will be sorted by their describeNE()
values_dispFormPrefix - a string that is fed to
_parentBO.describeNE(...) and prepended to the generated
string_dispFormPostfix - a string that is fed to
_parentBO.describeNE(...) and appended to the generated
string_dispFormDivider - a string that is used as a separator between
the entries; may be null in which case it will default to ", "_dispForm - a string that will be used as the format for the
describeNE() call when no _displaySort is
givenbinding - a HashMap used as the binding for all
describeNE() callsFPopuppublic void renderDisplayValue(AsyncRefreshRequestI r, java.lang.Object displayValue)
AsyncRefreshExecutorIrenderDisplayValue in interface AsyncRefreshExecutorIr - The original refresh request.displayValue - The raw Object value returned by the calculateDisplayValue method,
or a caught Exception.public void lockDisplayValue()
AsyncRefreshExecutorIlockDisplayValue in interface AsyncRefreshExecutorIpublic void restoreLockstateOfDisplayValue()
AsyncRefreshExecutorIrestoreLockstateOfDisplayValue in interface AsyncRefreshExecutorIpublic java.util.Set<BO> getKnownBOs()
DetailViewOwnerIThis usually includes BOs that have been loaded into the model, regardless of whether they have been modified or are currently visible.
getKnownBOs in interface DetailViewOwnerInull (return an empty set instead).public void selectBO(BO toSelect)
DetailViewOwnerIIf the BO is part of the current model, it should be highlighted. Implementations should define behavior for BOs not currently loaded (e.g. ignoring the request or triggering a lazy load).
selectBO in interface DetailViewOwnerItoSelect - the Business Object to select.public void replaceDetailViewBO(BO bo)
This implementation orchestrates the update by:
replaceDetailViewBO in interface DetailViewOwnerIbo - The new Business Object to display.public boolean isLinkonly()
public void setLinkonly(boolean $21)
public boolean isViewonly()
public void setViewonly(boolean $22)
public java.lang.String getNullChoiceTitle()
public void setNullChoiceTitle(java.lang.String $23)
public boolean isShowNewAction()
public void setShowNewAction(boolean $24)
public boolean isShowSelectAction()
public void setShowSelectAction(boolean $25)
public java.lang.String getOpenFormTid()
public void setOpenFormTid(java.lang.String $26)
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.