public abstract class FPanel extends de.ipcon.swing.IPanel implements de.ipcon.swing.FocusVetoHandlerI, FormElementI
| Modifier and Type | Field and Description | 
|---|---|
| static java.util.LinkedHashMap | myActions | 
| static java.util.HashMap | myAttributes | 
| static java.util.HashMap | myElements | 
| static java.lang.String | XMLConfigureInfo | 
inhibitFocusChange, 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 | 
|---|
| FPanel(FormContextI _ftx,
      electric.xml.Element _confRoot) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | _refreshActions()Performs the actual refresh of the form actions. | 
| boolean | action_editForm_available() | 
| boolean | action_editForm_enabled() | 
| void | action_editForm() | 
| boolean | action_refreshView_available() | 
| void | action_refreshView() | 
| boolean | action_reopenView_available() | 
| boolean | action_reopenView_enabled() | 
| void | action_reopenView() | 
| void | addBeanA(java.util.Map m,
        java.lang.String attributeName) | 
| void | addFormElementListener(FormElementListenerI l) | 
| void | addHandleA(java.util.Map m,
          java.lang.String attributeName) | 
| void | addHandleE(java.util.Map m,
          java.lang.String el) | 
| void | afterSave() | 
| void | afterSetValue(java.lang.Object old,
             java.lang.Object $new) | 
| void | assureTransferHandler() | 
| void | beforeSave() | 
| void | beforeSetValue(java.lang.Object old,
              java.lang.Object $new) | 
| boolean | calculationMightBeExpensive() | 
| void | callLog(java.lang.String s) | 
| void | cancelPendingRefreshRequests() | 
| boolean | checkEditable() | 
| boolean | checkVisible() | 
| void | close() | 
| java.lang.Object | evalScript(java.lang.String name) | 
| java.lang.Object | evalScript(java.lang.String name,
          boolean showException) | 
| java.lang.Object | evalScript(java.lang.String name,
          java.lang.String[] argNames,
          java.lang.Class[] argTypes,
          java.lang.Object[] argValues) | 
| java.lang.Object | evalScript(java.lang.String name,
          java.lang.String[] argNames,
          java.lang.Class[] argTypes,
          java.lang.Object[] argValues,
          boolean showException) | 
| java.lang.Object | evalScript(java.lang.String name,
          java.lang.String[] argNames,
          java.lang.Class[] argTypes,
          java.lang.Object[] argValues,
          boolean showException,
          boolean allowDeclare) | 
| void | fhide()Executes custom actions when the component becomes hidden. | 
| void | focusNextComponent(java.awt.KeyboardFocusManager kfm) | 
| void | focusPreviousComponent(java.awt.KeyboardFocusManager kfm) | 
| void | fshow()Executes custom actions when the component becomes visible. | 
| java.util.LinkedHashMap | getActions() | 
| java.util.LinkedHashMap | getActionsOfKind(int kind) | 
| static java.util.LinkedHashMap | getActionsOfKind(java.util.Map _actions,
                int kind) | 
| java.util.HashMap | getAttributeMap()Returns the map of attributes supported by this FPanel. | 
| BO | getBO() | 
| electric.xml.Element | getConfRoot() | 
| ClientContextI | getCtx() | 
| java.lang.String | getDebugName() | 
| java.util.LinkedHashMap | getDefaultActionMap()Returns the default action map for this FPanel. | 
| java.util.HashMap | getElementMap()Returns the map of elements supported by this FPanel. | 
| java.util.LinkedHashMap | getFormActions() | 
| FormContextI | getFtx() | 
| InstrumentingSchemaI | getInstrumentedSchema() | 
| java.util.concurrent.atomic.AtomicLong | getLastRefreshRequest() | 
| java.awt.Dimension | getMaximumSize() | 
| java.awt.Dimension | getMinimumSize() | 
| java.lang.String | getMissingPropertiesPolicy() | 
| java.awt.Dimension | getPreferredSize() | 
| java.util.concurrent.atomic.AtomicInteger | getRefreshRequestsPending() | 
| SchemaI | getSchema() | 
| void | handleActionE(electric.xml.Element e) | 
| void | handleAttributes(java.util.HashMap attributeHashMap) | 
| void | handleDropAllowedIfE(electric.xml.Element e) | 
| void | handleEditableA(electric.xml.Attribute _attr) | 
| void | handleEditableIfE(electric.xml.Element e) | 
| boolean | handleElement(java.util.HashMap elementHashMap,
             electric.xml.Element el) | 
| void | handleElements(java.util.HashMap elementHashMap,
              boolean subsPossible) | 
| void | handleElements(java.util.HashMap elementHashMap,
              boolean subsPossible,
              java.lang.String implyElement) | 
| void | handleElements(java.util.HashMap elementHashMap,
              boolean subsPossible,
              java.lang.String implyElement,
              java.lang.String implyPrefix) | 
| void | handleImpliedA(electric.xml.Attribute _attr) | 
| void | handleMaximumSizeA(electric.xml.Attribute a) | 
| void | handleMaxSizeA(electric.xml.Attribute a) | 
| void | handleMinimumSizeA(electric.xml.Attribute a) | 
| void | handleMinSizeA(electric.xml.Attribute a) | 
| void | handleMissingPropertiesPolicyA(electric.xml.Attribute a) | 
| void | handleNameA(electric.xml.Attribute a) | 
| FormElementI | handleNewElement(electric.xml.Element el) | 
| FormElementI | handleNewElement(electric.xml.Element el,
                java.lang.String aka) | 
| FormElementI | handleNewElement(electric.xml.Element el,
                java.lang.String aka,
                FormContextI preparedFtx) | 
| void | handleOnAfterSaveE(electric.xml.Element e) | 
| void | handleOnAfterSetValueE(electric.xml.Element e) | 
| void | handleOnBeforeSaveE(electric.xml.Element e) | 
| void | handleOnBeforeSetValueE(electric.xml.Element e) | 
| void | handleOnConstructionE(electric.xml.Element e) | 
| void | handleOnDropE(electric.xml.Element e) | 
| void | handleOnFocusGainedE(electric.xml.Element e) | 
| void | handleOnFocusLostE(electric.xml.Element e) | 
| void | handleOnMDIActivateE(electric.xml.Element e) | 
| void | handleOnMDICloseE(electric.xml.Element e) | 
| void | handleOnMDIDeactivateE(electric.xml.Element e) | 
| void | handleOnMDIOpenE(electric.xml.Element e) | 
| void | handleOnRefreshE(electric.xml.Element e) | 
| void | handleOnSyncE(electric.xml.Element e) | 
| void | handlePreferredSizeA(electric.xml.Attribute a) | 
| void | handlePrefSizeA(electric.xml.Attribute a) | 
| void | handleScriptE(electric.xml.Element e) | 
| void | handleVirtualPropertyE(electric.xml.Element e) | 
| void | handleVisibleIfE(electric.xml.Element e) | 
| boolean | hasPreferredSizeOverride() | 
| void | invokeAction(java.lang.String action) | 
| void | invokeAction(java.lang.String action,
            java.lang.Object parms) | 
| boolean | isClosed() | 
| boolean | isDebug() | 
| boolean | isDefinedEditable() | 
| boolean | isEditable() | 
| boolean | isExplicitEditable() | 
| boolean | isGUIBuilt() | 
| boolean | isImpliedElement() | 
| 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 | postConstructor() | 
| void | postInit()Diese Routine wird NACH der Instantiierung des Objektes und seiner UnterObjekte (formulartechnisch gesehen!) | 
| void | postRefresh() | 
| void | postRefresh(int from) | 
| void | postRefresh(int from,
           boolean suppressRefreshActions) | 
| void | processFocusVeto(java.awt.event.FocusEvent fe) | 
| void | processFocusVeto(java.awt.event.KeyEvent ke) | 
| void | queueDelayedRefresh(AsyncRefreshExecutorI are) | 
| void | queueDelayedRefresh(AsyncRefreshExecutorI are,
                   boolean immediate) | 
| void | reallyHandleVirtualPropertyE(electric.xml.Element e) | 
| void | refresh() | 
| void | refresh(int from) | 
| void | refreshActions()Schedules or immediately executes a refresh of the form actions associated with this panel. | 
| void | refreshActions(boolean sync) | 
| void | registerActionImpl(FormAction a) | 
| void | registerFormAction(FormAction a) | 
| void | removeFormElementListener(FormElementListenerI l) | 
| void | requestFocus()Requests that this component gets the keyboard focus. | 
| boolean | requestFocusInWindow()Requests that this component gets the keyboard focus, specifically within its own window. | 
| boolean | requestFocusInWindow(boolean temporary)Requests that this component gets the keyboard focus within its own window, with optional temporary status. | 
| java.lang.Object | runAndDeclare(java.lang.String name) | 
| java.lang.Object | runAndDeclare(java.lang.String name,
             boolean showException) | 
| void | setConfRoot(electric.xml.Element $52) | 
| void | setDebug(boolean $54) | 
| boolean | setEditable(boolean isEditable) | 
| void | setFtx(FormContextI $51) | 
| void | setGUIBuilt(boolean $55) | 
| void | setMissingPropertiesPolicy(java.lang.String $56) | 
| void | setShown(boolean $53) | 
| boolean | shouldShow() | 
| void | sync() | 
| void | syncImpl() | 
| void | waitForAsyncRefreshes() | 
| boolean | willCareForChildActions() | 
| boolean | willCareForChildRefresh() | 
getPreferredScrollableViewportSize, 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, getBaseline, 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, setVisible, 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, waitgetName, toDebugNamepublic static java.util.HashMap myAttributes
public static java.util.HashMap myElements
public static java.util.LinkedHashMap myActions
public static java.lang.String XMLConfigureInfo
public FPanel(FormContextI _ftx, electric.xml.Element _confRoot)
public java.lang.String getMissingPropertiesPolicy()
public void queueDelayedRefresh(AsyncRefreshExecutorI are)
public void queueDelayedRefresh(AsyncRefreshExecutorI are, boolean immediate)
public java.util.concurrent.atomic.AtomicLong getLastRefreshRequest()
public java.util.concurrent.atomic.AtomicInteger getRefreshRequestsPending()
public boolean hasPreferredSizeOverride()
public void cancelPendingRefreshRequests()
public void waitForAsyncRefreshes()
public boolean calculationMightBeExpensive()
public boolean isClosed()
isClosed in interface FormElementIpublic void close()
close in interface FormElementIpublic java.lang.Object evalScript(java.lang.String name)
public java.lang.Object evalScript(java.lang.String name,
                                   boolean showException)
public java.lang.Object evalScript(java.lang.String name,
                                   java.lang.String[] argNames,
                                   java.lang.Class[] argTypes,
                                   java.lang.Object[] argValues)
public java.lang.Object evalScript(java.lang.String name,
                                   java.lang.String[] argNames,
                                   java.lang.Class[] argTypes,
                                   java.lang.Object[] argValues,
                                   boolean showException)
public java.lang.Object evalScript(java.lang.String name,
                                   java.lang.String[] argNames,
                                   java.lang.Class[] argTypes,
                                   java.lang.Object[] argValues,
                                   boolean showException,
                                   boolean allowDeclare)
public java.lang.Object runAndDeclare(java.lang.String name)
public java.lang.Object runAndDeclare(java.lang.String name,
                                      boolean showException)
public void postConstructor()
public void postInit()
postInit in interface FormElementIpublic java.lang.String getDebugName()
getDebugName in interface FormElementIpublic void callLog(java.lang.String s)
public void mdiOpen(MDIElementI me)
mdiOpen in interface FormElementIpublic void mdiClose(MDIElementI me)
mdiClose in interface FormElementIpublic void mdiActivate(MDIElementI me)
FormElementIThis 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.
mdiActivate in interface FormElementIme - The MDIElementI that is being activated.public void mdiDeactivate(MDIElementI me)
FormElementIThis 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.
mdiDeactivate in interface FormElementIme - The MDIElementI that is being deactivated.public void registerActionImpl(FormAction a)
public java.util.LinkedHashMap getActions()
getActions in interface FormElementIpublic java.util.LinkedHashMap getActionsOfKind(int kind)
getActionsOfKind in interface FormElementIpublic static java.util.LinkedHashMap getActionsOfKind(java.util.Map _actions,
                                                       int kind)
public boolean action_editForm_available()
public boolean action_editForm_enabled()
public void action_editForm()
public boolean action_reopenView_available()
public boolean action_reopenView_enabled()
public void action_reopenView()
public boolean action_refreshView_available()
public void action_refreshView()
public void addBeanA(java.util.Map m,
                     java.lang.String attributeName)
public void addHandleA(java.util.Map m,
                       java.lang.String attributeName)
public void addHandleE(java.util.Map m,
                       java.lang.String el)
public void handleAttributes(java.util.HashMap attributeHashMap)
handleAttributes in interface FormElementIpublic boolean handleElement(java.util.HashMap elementHashMap,
                             electric.xml.Element el)
handleElement in interface FormElementIpublic void handleElements(java.util.HashMap elementHashMap,
                           boolean subsPossible)
handleElements in interface FormElementIpublic void handleElements(java.util.HashMap elementHashMap,
                           boolean subsPossible,
                           java.lang.String implyElement)
public void handleElements(java.util.HashMap elementHashMap,
                           boolean subsPossible,
                           java.lang.String implyElement,
                           java.lang.String implyPrefix)
public FormElementI handleNewElement(electric.xml.Element el)
handleNewElement in interface FormElementIpublic FormElementI handleNewElement(electric.xml.Element el, java.lang.String aka)
public FormElementI handleNewElement(electric.xml.Element el, java.lang.String aka, FormContextI preparedFtx)
public java.util.HashMap getAttributeMap()
Subclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIpublic java.util.HashMap getElementMap()
Subclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIpublic java.util.LinkedHashMap getDefaultActionMap()
Subclasses can and should override this method to provide their own default action map.
public void handleNameA(electric.xml.Attribute a)
public void handleEditableA(electric.xml.Attribute _attr)
public void handleImpliedA(electric.xml.Attribute _attr)
public void handleMinimumSizeA(electric.xml.Attribute a)
public void handleMinSizeA(electric.xml.Attribute a)
public void handlePreferredSizeA(electric.xml.Attribute a)
public void handlePrefSizeA(electric.xml.Attribute a)
public void handleMaximumSizeA(electric.xml.Attribute a)
public void handleMaxSizeA(electric.xml.Attribute a)
public void handleMissingPropertiesPolicyA(electric.xml.Attribute a)
public void handleScriptE(electric.xml.Element e)
public void handleOnConstructionE(electric.xml.Element e)
public void handleOnFocusGainedE(electric.xml.Element e)
public void handleOnFocusLostE(electric.xml.Element e)
public void handleOnSyncE(electric.xml.Element e)
public void handleOnRefreshE(electric.xml.Element e)
public void handleOnBeforeSaveE(electric.xml.Element e)
public void handleOnAfterSaveE(electric.xml.Element e)
public void handleOnBeforeSetValueE(electric.xml.Element e)
public void handleOnAfterSetValueE(electric.xml.Element e)
public void handleOnMDIOpenE(electric.xml.Element e)
public void handleOnMDICloseE(electric.xml.Element e)
public void handleOnMDIActivateE(electric.xml.Element e)
public void handleOnMDIDeactivateE(electric.xml.Element e)
public void handleEditableIfE(electric.xml.Element e)
public void handleDropAllowedIfE(electric.xml.Element e)
public void handleOnDropE(electric.xml.Element e)
public void assureTransferHandler()
public void handleActionE(electric.xml.Element e)
public void handleVirtualPropertyE(electric.xml.Element e)
public void handleVisibleIfE(electric.xml.Element e)
public InstrumentingSchemaI getInstrumentedSchema()
public void reallyHandleVirtualPropertyE(electric.xml.Element e)
public void invokeAction(java.lang.String action)
public void invokeAction(java.lang.String action,
                         java.lang.Object parms)
public ClientContextI getCtx()
getCtx in interface FormElementIpublic SchemaI getSchema()
getSchema in interface FormElementIpublic BO getBO()
public final void sync()
sync in interface FormElementIpublic void syncImpl()
public java.util.LinkedHashMap getFormActions()
public void registerFormAction(FormAction a)
public void addFormElementListener(FormElementListenerI l)
addFormElementListener in interface FormElementIpublic void removeFormElementListener(FormElementListenerI l)
removeFormElementListener in interface FormElementIpublic void beforeSave()
beforeSave in interface FormElementIpublic void afterSave()
afterSave in interface FormElementIpublic boolean shouldShow()
public boolean willCareForChildRefresh()
willCareForChildRefresh in interface FormElementIpublic boolean willCareForChildActions()
willCareForChildActions in interface FormElementIpublic void refresh()
refresh in interface FormElementIpublic void refresh(int from)
refresh in interface FormElementIpublic void postRefresh()
public void postRefresh(int from)
postRefresh in interface FormElementIpublic void postRefresh(int from,
                        boolean suppressRefreshActions)
public void refreshActions()
This method ensures that the "_refreshActions()" logic is executed only once per refresh request. It uses an AtomicBoolean ("scheduledUpdate") to prevent multiple simultaneous or redundant refresh operations from being scheduled.
The refresh can be performed either synchronously (blocking the calling thread until completion) or asynchronously (executing on the Event Dispatch Thread without blocking), depending on the "sync" parameter.
sync - If true, the action refresh is performed synchronously, blocking the calling thread.
             If false (default), it is scheduled asynchronously on the EDT.public void refreshActions(boolean sync)
public void _refreshActions()
This private method iterates through all FormActions associated with this panel
 and invokes their "checkIfEnabled()" method. This typically re-evaluates the enabled/disabled
 state of the actions based on the current form data or business logic.
 It also resets the "scheduledUpdate" flag to allow future refresh requests.
Actions marked as prototypes (isPrototype()) are skipped, as they are not
 meant to be directly enabled/disabled. Any runtime exceptions encountered during
 the "checkIfEnabled()" call for an action are caught and logged to prevent
 the entire refresh process from failing.
public void beforeSetValue(java.lang.Object old,
                           java.lang.Object $new)
beforeSetValue in interface FormElementIpublic void afterSetValue(java.lang.Object old,
                          java.lang.Object $new)
afterSetValue in interface FormElementIpublic void processFocusVeto(java.awt.event.KeyEvent ke)
processFocusVeto in interface de.ipcon.swing.FocusVetoHandlerIpublic void processFocusVeto(java.awt.event.FocusEvent fe)
processFocusVeto in interface de.ipcon.swing.FocusVetoHandlerIpublic void focusNextComponent(java.awt.KeyboardFocusManager kfm)
public void focusPreviousComponent(java.awt.KeyboardFocusManager kfm)
public boolean setEditable(boolean isEditable)
setEditable in interface FormElementIpublic boolean isEditable()
isEditable in interface FormElementIpublic boolean isDefinedEditable()
public boolean isExplicitEditable()
public boolean isInputPossible()
isInputPossible in interface FormElementIpublic boolean isImpliedElement()
public boolean checkVisible()
public boolean checkEditable()
public void fshow()
This method prevents redundant GUI building if the component was already visible.
 It first calls buildGUI() to construct the graphical user interface, and then
 postBuildGUI() to perform any post-construction setup. Finally, it marks
 the component as visible.
public void fhide()
This method is a placeholder for any cleanup or state changes that need to occur when the component is no longer visible. The current implementation does nothing. Subclasses may override this.
public void requestFocus()
This method overrides JComponent.requestFocus() to ensure that
 focus changes remain strictly within the current window. It delegates
 directly to requestFocusInWindow() to prevent components from
 indiscriminately grabbing focus from other windows.
requestFocus in interface FormElementIrequestFocus in class de.ipcon.swing.IPanelpublic boolean requestFocusInWindow()
This method overrides JComponent.requestFocusInWindow() and delegates
 to the more specific requestFocusInWindow(boolean) with "temporary" set to false.
requestFocusInWindow in class javax.swing.JComponenttrue if the focus request is likely to be granted, false otherwise.public boolean requestFocusInWindow(boolean temporary)
This method overrides JComponent.requestFocusInWindow(boolean). It contains
 custom logic to manage the initial focus. If the component itself is an
 InitialFocusCandidateI, it attempts to set focus to its designated initial component.
 Otherwise, it attempts to set focus to itself.
If the focus request fails (either for the designated component or itself), it registers this component as an explicit initial focus candidate with the root form element, ensuring focus is eventually set.
requestFocusInWindow in class javax.swing.JComponenttemporary - If true, the focus transfer is temporary and may be reverted.true if the focus request is likely to be granted, false otherwise.public java.awt.Dimension getMinimumSize()
getMinimumSize in class javax.swing.JComponentpublic java.awt.Dimension getPreferredSize()
getPreferredSize in class javax.swing.JComponentpublic java.awt.Dimension getMaximumSize()
getMaximumSize in class javax.swing.JComponentpublic FormContextI getFtx()
getFtx in interface FormElementIpublic void setFtx(FormContextI $51)
public electric.xml.Element getConfRoot()
getConfRoot in interface FormElementIpublic void setConfRoot(electric.xml.Element $52)
public boolean isShown()
isShown in interface FormElementIpublic void setShown(boolean $53)
public boolean isDebug()
isDebug in interface FormElementIpublic void setDebug(boolean $54)
public boolean isGUIBuilt()
isGUIBuilt in interface FormElementIpublic void setGUIBuilt(boolean $55)
public void setMissingPropertiesPolicy(java.lang.String $56)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.