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<java.lang.String,MethodLocalizationWrapper> |
myAttributes |
static java.util.HashMap<java.lang.String,java.lang.reflect.Method> |
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_SHOW_POPUP, 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()
Executes the actual logic to update the state of all 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 |
addFormElementListener(FormElementListenerI l) |
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<java.lang.String,MethodLocalizationWrapper> |
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.
|
DefinitionErrorHandlerI |
getDefinitionErrorHandler() |
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 |
handleDropAllowedIfE(electric.xml.Element e) |
void |
handleEditableA(java.lang.String value) |
void |
handleEditableIfE(electric.xml.Element e) |
void |
handleImpliedA(java.lang.String value) |
void |
handleMaximumSizeA(java.lang.String value) |
void |
handleMaxSizeA(java.lang.String value) |
void |
handleMinimumSizeA(java.lang.String value) |
void |
handleMinSizeA(java.lang.String value) |
void |
handleMissingPropertiesPolicyA(java.lang.String value) |
void |
handleNameA(java.lang.String value) |
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(java.lang.String value) |
void |
handlePrefSizeA(java.lang.String value) |
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()
Checks whether this form element is currently editable.
|
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()
Requests an asynchronous refresh of the form actions associated with this panel.
|
void |
registerActionImpl(FormAction a) |
static void |
registerDefinitionErrorHandler(DefinitionErrorHandlerI errorHandler) |
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)
Sets the editable status of this form element.
|
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, waitaddBeanA, addBeanA, addHandleA, addHandleA, addHandleE, addHandleE, applyL10n, getElementConsideringIgnored, getName, handleAttributes, handleElement, handleElements, handleElements, handleElements, handleElements, handleError, handleNewElement, handleNewElement, handleNewElement, isIgnored, performAdditionalFormElementDefinitionChecks, showError, showError, toDebugNamepublic static java.util.HashMap<java.lang.String,MethodLocalizationWrapper> myAttributes
public static java.util.HashMap<java.lang.String,java.lang.reflect.Method> myElements
public static java.util.LinkedHashMap myActions
public static java.lang.String XMLConfigureInfo
public FPanel(FormContextI _ftx, electric.xml.Element _confRoot)
public static void registerDefinitionErrorHandler(DefinitionErrorHandlerI errorHandler)
public DefinitionErrorHandlerI getDefinitionErrorHandler()
getDefinitionErrorHandler in interface FormElementIpublic 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 java.util.HashMap<java.lang.String,MethodLocalizationWrapper> 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(java.lang.String value)
public void handleEditableA(java.lang.String value)
public void handleImpliedA(java.lang.String value)
public void handleMinimumSizeA(java.lang.String value)
public void handleMinSizeA(java.lang.String value)
public void handlePreferredSizeA(java.lang.String value)
public void handlePrefSizeA(java.lang.String value)
public void handleMaximumSizeA(java.lang.String value)
public void handleMaxSizeA(java.lang.String value)
public void handleMissingPropertiesPolicyA(java.lang.String value)
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 implements a request coalescing pattern:
_refreshActions() is executed at most once, even if
this method is called multiple times in rapid succession.
AtomicBoolean latch (scheduledUpdate) to filter out redundant requests.
public void _refreshActions()
This method is intended to run on the EDT. It iterates over all registered
FormActions and triggers a re-evaluation of their enabled state via
FormAction.checkIfEnabled().
Key Behaviors:
RuntimeException),
it is logged, and the loop continues to process the remaining actions.
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)
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 FormElementIisEditable - true to make the element editable; false otherwise.public boolean isEditable()
FormElementIisEditable in interface FormElementItrue if the element is editable; false otherwise.public 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-2026 OAshi S.à r.l. All Rights Reserved.