public class FPopup extends FInputPanel implements PopupElementListenerI, FormPopupControllerI, java.awt.event.MouseListener, java.awt.event.KeyListener, java.awt.event.FocusListener, InitialFocusCandidateI, FormElementWithDisplayPropertyI, AsyncRefreshExecutorI, de.ipcon.swing.PopupListenerI
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_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() |
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 |
afterSavePerformed(FormElementI fe) |
void |
afterSetValuePerformed(FormElementI fe,
java.lang.Object old,
java.lang.Object $new) |
void |
beforeSavePerformed(FormElementI fe) |
void |
beforeSetValuePerformed(FormElementI fe,
java.lang.Object old,
java.lang.Object $new) |
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 |
getAttributeMap()
Returns the map of attributes supported by this component.
|
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this component.
|
FDetailView |
getDetailView() |
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.lang.String |
getNullChoiceTitle() |
java.lang.String |
getOpenFormTid() |
BO |
getRelatedBO() |
void |
handleAlignA(electric.xml.Attribute a) |
void |
handleAutoEditA(electric.xml.Attribute a) |
void |
handleColumnsA(electric.xml.Attribute a) |
void |
handleDescriptionPropertyA(electric.xml.Attribute a) |
void |
handleDetailViewE(electric.xml.Element e) |
void |
handleDisplayFormatA(electric.xml.Attribute a) |
void |
handleDisplayFormatDividerA(electric.xml.Attribute a) |
void |
handleDisplayFormatPostfixA(electric.xml.Attribute a) |
void |
handleDisplayFormatPrefixA(electric.xml.Attribute a) |
void |
handleDisplayPropertyA(electric.xml.Attribute a) |
void |
handleDisplaySortA(electric.xml.Attribute a) |
void |
handleFallbackPropertyA(electric.xml.Attribute a) |
void |
handleFontA(electric.xml.Attribute a) |
void |
handleFontsizeA(electric.xml.Attribute a) |
void |
handleFontSizeA(electric.xml.Attribute a) |
void |
handleFontstyleA(electric.xml.Attribute a) |
void |
handleFontStyleA(electric.xml.Attribute a) |
void |
handleForegroundA(electric.xml.Attribute a) |
void |
handleFormatA(electric.xml.Attribute a) |
void |
handleLazyA(electric.xml.Attribute a) |
void |
handleLookupCaseSensitiveA(electric.xml.Attribute a) |
void |
handleLookupPropertyA(electric.xml.Attribute a) |
void |
handleLookupStartingWithA(electric.xml.Attribute a) |
void |
handleLookupSubstringA(electric.xml.Attribute a) |
void |
handleMouse(java.awt.event.MouseEvent m) |
void |
handleNullChoiceTitleA(electric.xml.Attribute a) |
void |
handleOfferCopyBeforeEditA(electric.xml.Attribute a) |
void |
handleOnBeforePopupE(electric.xml.Element e) |
void |
handleOpenFormTidA(electric.xml.Attribute a) |
void |
handleOpenPropertyA(electric.xml.Attribute a) |
void |
handlePopupAlignA(electric.xml.Attribute a) |
void |
handlePopupHeightA(electric.xml.Attribute a) |
void |
handlePopupSizeA(electric.xml.Attribute a) |
void |
handlePopupWidthA(electric.xml.Attribute a) |
void |
handlePropertyA(electric.xml.Attribute a) |
void |
handleShowEntityNameA(electric.xml.Attribute a) |
void |
handleShowNewActionA(electric.xml.Attribute a) |
void |
handleShowSelectActionA(electric.xml.Attribute a) |
void |
handleSubentitiesToExcludeA(electric.xml.Attribute a) |
void |
handleTableE(electric.xml.Element e) |
void |
handleTemplateSourceA(electric.xml.Attribute a) |
void |
handleTreeE(electric.xml.Element e) |
void |
handleUsePolymorphySelectionTreeA(electric.xml.Attribute a) |
void |
hidePopup() |
boolean |
isDvLocked() |
boolean |
isEditable() |
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 |
refreshPerformed(FormElementI fe) |
void |
registerActionImpl(FormAction a) |
void |
renderDisplayValue(AsyncRefreshRequestI r,
java.lang.Object displayValue)
Renders the calculated value on the UI.
|
void |
restoreLockstateOfDisplayValue()
Unlocks the UI component that displays the value again.
|
void |
retrieveStatus() |
void |
setDvLocked(boolean b) |
boolean |
setEditable() |
boolean |
setEditable(boolean b) |
void |
setLinkonly(boolean $22) |
void |
setNullChoiceTitle(java.lang.String $24) |
void |
setOpenFormTid(java.lang.String $27) |
void |
setShowNewAction(boolean $25) |
void |
setShowSelectAction(boolean $26) |
void |
setViewonly(boolean $23) |
void |
setVisible(boolean _v) |
void |
showPopup()
open 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() |
void |
syncPerformed(FormElementI fe) |
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, addBeanA, addFormElementListener, addHandleA, addHandleE, 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, getFormActions, getFtx, getInstrumentedSchema, getLastRefreshRequest, getMaximumSize, getMinimumSize, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleAttributes, handleDropAllowedIfE, handleEditableA, handleEditableIfE, handleElement, handleElements, handleElements, handleElements, handleImpliedA, handleMaximumSizeA, handleMaxSizeA, handleMinimumSizeA, handleMinSizeA, handleMissingPropertiesPolicyA, handleNameA, handleNewElement, handleNewElement, handleNewElement, 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, refreshActions, 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, waitaddFormElementListener, afterSave, afterSetValue, beforeSave, beforeSetValue, getActions, getConfRoot, getCtx, getDebugName, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleNewElement, isClosed, isDebug, isGUIBuilt, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postInit, refresh, removeFormElementListener, requestFocus, 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(electric.xml.Attribute a)
public void handleLookupPropertyA(electric.xml.Attribute a)
public void handleLookupSubstringA(electric.xml.Attribute a)
public void handleLookupStartingWithA(electric.xml.Attribute a)
public void handleLookupCaseSensitiveA(electric.xml.Attribute a)
public void handleDisplayPropertyA(electric.xml.Attribute a)
public void handleDisplaySortA(electric.xml.Attribute a)
public void handleFormatA(electric.xml.Attribute a)
public void handleDisplayFormatA(electric.xml.Attribute a)
public void handleDescriptionPropertyA(electric.xml.Attribute a)
public void handleDisplayFormatPrefixA(electric.xml.Attribute a)
public void handleDisplayFormatDividerA(electric.xml.Attribute a)
public void handleDisplayFormatPostfixA(electric.xml.Attribute a)
public void handleFallbackPropertyA(electric.xml.Attribute a)
public void handleOpenPropertyA(electric.xml.Attribute a)
public void handleOpenFormTidA(electric.xml.Attribute a)
public void handlePopupHeightA(electric.xml.Attribute a)
public void handlePopupWidthA(electric.xml.Attribute a)
public void handlePopupSizeA(electric.xml.Attribute a)
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(electric.xml.Attribute a)
public void handleFontStyleA(electric.xml.Attribute a)
public void handleFontSizeA(electric.xml.Attribute a)
public void handleFontstyleA(electric.xml.Attribute a)
public void handleFontsizeA(electric.xml.Attribute a)
public void handleFontA(electric.xml.Attribute a)
public void handleForegroundA(electric.xml.Attribute a)
public void handleAlignA(electric.xml.Attribute a)
public void handlePopupAlignA(electric.xml.Attribute a)
public void handleLazyA(electric.xml.Attribute a)
public void handleSubentitiesToExcludeA(electric.xml.Attribute a)
public void handleUsePolymorphySelectionTreeA(electric.xml.Attribute a)
public void handleShowEntityNameA(electric.xml.Attribute a)
public void handleTemplateSourceA(electric.xml.Attribute a)
public void handleOfferCopyBeforeEditA(electric.xml.Attribute a)
public void handleAutoEditA(electric.xml.Attribute a)
public void handleNullChoiceTitleA(electric.xml.Attribute a)
public void handleShowNewActionA(electric.xml.Attribute a)
public void handleShowSelectActionA(electric.xml.Attribute a)
public java.util.HashMap 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 void setDvLocked(boolean b)
public boolean isDvLocked()
public boolean setEditable()
public boolean setEditable(boolean b)
setEditable in interface FormElementIsetEditable in class FPanelpublic boolean isEditable()
isEditable in interface FormElementIisEditable in class FPanelpublic 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()
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()
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 void beforeSavePerformed(FormElementI fe)
public void afterSavePerformed(FormElementI fe)
public void syncPerformed(FormElementI fe)
public void refreshPerformed(FormElementI fe)
public void beforeSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
public void afterSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
public 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 boolean isLinkonly()
public void setLinkonly(boolean $22)
public boolean isViewonly()
public void setViewonly(boolean $23)
public java.lang.String getNullChoiceTitle()
public void setNullChoiceTitle(java.lang.String $24)
public boolean isShowNewAction()
public void setShowNewAction(boolean $25)
public boolean isShowSelectAction()
public void setShowSelectAction(boolean $26)
public java.lang.String getOpenFormTid()
public void setOpenFormTid(java.lang.String $27)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.