public abstract class FRootPane extends FPanel implements MDISizeI, de.ipcon.swing.FocusVetoHandlerI, TransactionListenerI, RootFormElementI
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 |
|---|
FRootPane(FormContextI _ftx,
electric.xml.Element _confroot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
action_allowPrebuiltModification_available() |
void |
action_allowPrebuiltModification(FormAction action) |
boolean |
action_close() |
boolean |
action_copyId_available() |
boolean |
action_copyId_enabled() |
void |
action_copyId() |
boolean |
action_copyXmlExport_available() |
void |
action_copyXmlExport(FormAction action) |
boolean |
action_delete_enabled() |
void |
action_delete() |
boolean |
action_enter_available() |
void |
action_enter() |
boolean |
action_ok_enabled() |
void |
action_ok() |
boolean |
action_print_available() |
void |
action_print()
Prints the current object using a user-selected report.
|
boolean |
action_save_enabled() |
boolean |
action_save() |
void |
checkPoint()
Callback after a transaction has been arrived at a checkpoint, e.g. after being committed or has no
uncommitted changes anymore.
|
void |
close() |
void |
closeSelfAndView() |
static int |
confirmDelete(Transaction _tx,
Transaction.Savepoint _sp,
ClientContextI _ctx) |
static int |
confirmDelete(Transaction _tx,
Transaction.Savepoint _sp,
ClientContextI _ctx,
boolean _warnSave) |
int |
confirmSave() |
java.util.LinkedHashMap |
getActions()
Retrieves a list of all actions associated with this MDI root element.
|
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
FormElementI |
getCurrentlyFocusedFormElement() |
static FormElementI |
getCurrentlyFocusedFormElementIfChildOf(java.awt.Component c) |
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this FPanel.
|
javax.swing.JButton |
getDefaultButton() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this FPanel.
|
javax.swing.JComponent |
getExplicitIFC() |
java.lang.String |
getL10nBundle() |
java.lang.Integer |
getMDIHeight() |
java.lang.Integer |
getMDIWidth()
FIXME!
|
void |
handleCloseVetoE(electric.xml.Element e) |
void |
handleConflictPolicyA(electric.xml.Attribute a)
Handles an explicitly configured Conflict Policy by setting enableConflictCheckDuringSave for option
|
void |
handleHeightA(electric.xml.Attribute a) |
void |
handleIgnoreOtherLocalTransactionSavesA(electric.xml.Attribute a) |
void |
handleL10nBundleA(electric.xml.Attribute a) |
void |
handleOnBeforeMandatoryCheckE(electric.xml.Element e) |
void |
handleOnCloseE(electric.xml.Element e) |
void |
handleUseMaximumHeightA(electric.xml.Attribute a) |
void |
handleUseMaximumWidthA(electric.xml.Attribute a) |
void |
handleWidthA(electric.xml.Attribute a) |
boolean |
hasDefaultButton() |
boolean |
hasUnfullfilledMandatories() |
boolean |
isIgnoreOtherLocalTransactionSaves() |
boolean |
isInitialCdeFocus() |
boolean |
isPrintingPossible() |
boolean |
isUseMaximumHeight()
Checks if the root form element should attempt to use the maximum available height.
|
boolean |
isUseMaximumWidth()
Checks if the root form element should attempt to use the maximum available width.
|
void |
mdiActivate(MDIElementI me)
Invoked when this component is activated within a Multiple Document Interface (MDI) environment.
|
void |
newProcs(BOProc[] boprocs)
Callback for newly created procs or changes to BOs known in the transaction.
|
void |
postInit()
Diese Routine wird NACH der Instantiierung des Objektes und seiner UnterObjekte (formulartechnisch gesehen!)
|
void |
processFocusVeto(java.awt.event.KeyEvent ke) |
void |
putIntoClipboard(java.lang.String s) |
boolean |
save() |
boolean |
save(boolean isRetryAfterOverride) |
boolean |
save(boolean isRetryAfterOverride,
boolean willCloseRightAfter) |
void |
setExplicitIFC(javax.swing.JComponent $41)
Sets an explicit initial focus component for this root form element.
|
void |
setIgnoreOtherLocalTransactionSaves(boolean $39) |
void |
setInitialCdeFocus(boolean $42) |
void |
setL10nBundle(java.lang.String $40) |
void |
setMDIHeight(java.lang.Integer $36) |
void |
setMDIWidth(java.lang.Integer $35) |
void |
setUseMaximumHeight(boolean $38) |
void |
setUseMaximumWidth(boolean $37) |
void |
syncCurrentlyFocusedFormElement() |
_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, 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, isEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, isShown, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postRefresh, postRefresh, postRefresh, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refresh, refreshActions, refreshActions, registerActionImpl, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setEditable, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, syncImpl, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefreshgetPreferredScrollableViewportSize, 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 FRootPane(FormContextI _ftx, electric.xml.Element _confroot)
public void close()
close in interface FormElementIclose in class FPanelpublic void postInit()
FPanelpostInit in interface FormElementIpostInit in class FPanelpublic void mdiActivate(MDIElementI me)
This method overrides the default "mdiActivate" behavior. It first calls "handleInitialCdeFocus()" to set the initial focus on a component within the form. This is done before the superclass's "mdiActivate" method is called, which allows any scripts or actions triggered by the superclass to potentially override this initial focus setting.
mdiActivate in interface FormElementImdiActivate in class FPanelme - The MDIElementI that is being activated.public void handleWidthA(electric.xml.Attribute a)
public void handleHeightA(electric.xml.Attribute a)
public void handleUseMaximumWidthA(electric.xml.Attribute a)
public void handleUseMaximumHeightA(electric.xml.Attribute a)
public void handleIgnoreOtherLocalTransactionSavesA(electric.xml.Attribute a)
public void handleL10nBundleA(electric.xml.Attribute a)
public void handleCloseVetoE(electric.xml.Element e)
public void handleOnBeforeMandatoryCheckE(electric.xml.Element e)
public void handleOnCloseE(electric.xml.Element e)
public void handleConflictPolicyA(electric.xml.Attribute a)
public java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FPanelpublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FPanelpublic java.util.LinkedHashMap getDefaultActionMap()
FPanelSubclasses can and should override this method to provide their own default action map.
getDefaultActionMap in class FPanelpublic boolean action_ok_enabled()
public void action_ok()
public boolean action_save_enabled()
public boolean action_save()
public boolean save()
public boolean save(boolean isRetryAfterOverride)
public boolean save(boolean isRetryAfterOverride,
boolean willCloseRightAfter)
public void syncCurrentlyFocusedFormElement()
public FormElementI getCurrentlyFocusedFormElement()
public static FormElementI getCurrentlyFocusedFormElementIfChildOf(java.awt.Component c)
public boolean hasUnfullfilledMandatories()
public int confirmSave()
public boolean action_close()
public void closeSelfAndView()
public static int confirmDelete(Transaction _tx, Transaction.Savepoint _sp, ClientContextI _ctx)
public static int confirmDelete(Transaction _tx, Transaction.Savepoint _sp, ClientContextI _ctx, boolean _warnSave)
public boolean action_delete_enabled()
public void action_delete()
public boolean action_print_available()
public void action_print()
This method allows the user to print the object currently displayed in the form using a report of their choice. It first ensures that any unsaved form data is saved. Then, it prompts the user to select a report from a list of available reports for the object. If the user selects a report, the method initiates the printing process.
public void action_copyId()
public void putIntoClipboard(java.lang.String s)
public boolean action_copyId_enabled()
public boolean action_copyId_available()
public boolean action_enter_available()
public void action_enter()
public boolean action_allowPrebuiltModification_available()
public void action_allowPrebuiltModification(FormAction action)
public boolean action_copyXmlExport_available()
public void action_copyXmlExport(FormAction action)
public void processFocusVeto(java.awt.event.KeyEvent ke)
processFocusVeto in interface de.ipcon.swing.FocusVetoHandlerIprocessFocusVeto in class FPanelpublic javax.swing.JButton getDefaultButton()
public boolean hasDefaultButton()
public boolean isPrintingPossible()
public void newProcs(BOProc[] boprocs)
TransactionListenerInewProcs in interface TransactionListenerIpublic void checkPoint()
TransactionListenerIcheckPoint in interface TransactionListenerIpublic java.lang.Integer getMDIWidth()
getMDIWidth in interface MDISizeIpublic void setMDIWidth(java.lang.Integer $35)
public java.lang.Integer getMDIHeight()
getMDIHeight in interface MDISizeIpublic void setMDIHeight(java.lang.Integer $36)
public boolean isUseMaximumWidth()
RootFormElementIThis property influences how the form's layout manager sizes the component, often causing it to expand to fill horizontal space.
isUseMaximumWidth in interface RootFormElementItrue if maximum width should be used, false otherwise.public void setUseMaximumWidth(boolean $37)
public boolean isUseMaximumHeight()
RootFormElementIThis property influences how the form's layout manager sizes the component, often causing it to expand to fill vertical space.
isUseMaximumHeight in interface RootFormElementItrue if maximum height should be used, false otherwise.public void setUseMaximumHeight(boolean $38)
public boolean isIgnoreOtherLocalTransactionSaves()
public void setIgnoreOtherLocalTransactionSaves(boolean $39)
public java.lang.String getL10nBundle()
public void setL10nBundle(java.lang.String $40)
public javax.swing.JComponent getExplicitIFC()
public void setExplicitIFC(javax.swing.JComponent $41)
RootFormElementIWhen the form is displayed, focus will be directed to this specified
JComponent instead of relying on default focus traversal rules.
This provides fine-grained control over user interaction flow.
setExplicitIFC in interface RootFormElementI$41 - The JComponent that should receive initial focus.public boolean isInitialCdeFocus()
public void setInitialCdeFocus(boolean $42)
public java.util.LinkedHashMap getActions()
The returned LinkedHashMap ensures that the order of actions is
maintained, typically reflecting their insertion order. This is important
for consistent display in menus or toolbars.
LinkedHashMap where keys are action identifiers (e.g. String)
and values are the corresponding action objects (e.g. Action,
or a custom action type (e.g. FormAction).
The map should contain all top-level actions of this MDI root element, preferably in a sorted order.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.