public class FTabbedView extends FRootPane implements de.ipcon.swing.IViewChangeListenerI
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 |
|---|
FTabbedView(FormContextI _ftx,
electric.xml.Element _confroot) |
| Modifier and Type | Method and Description |
|---|---|
void |
action_nextTab() |
void |
action_prevTab() |
void |
action_showTab(java.lang.String tabName) |
void |
afterViewChanged(de.ipcon.swing.IViewChangeEvent vce) |
void |
afterViewChanged(de.ipcon.swing.IViewChangeEvent vce,
boolean initial) |
void |
beforeViewChange(de.ipcon.swing.IViewChangeEvent vce) |
void |
buildGUI() |
void |
close() |
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.
|
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.
|
FTabbedView |
getParentTabbedView(FormContextI ftx) |
de.ipcon.swing.ITabbedPane |
getTabbedPane() |
int |
getTabLayoutPolicy() |
int |
getTabPlacement() |
java.util.ArrayList |
getTabs() |
void |
grabFocus() |
void |
handleFurtherElements()
auto generates and adds additional tabs for hidden properties, BO properties and the BO history, if needed.
|
void |
handleFurtherElements(boolean showHidden) |
void |
handleFurtherElements(boolean showHidden,
boolean showBOProps) |
void |
handleFurtherElements(boolean showHidden,
boolean showBOProps,
boolean showHistory) |
void |
handleTabE(electric.xml.Element e) |
void |
handleTabLayoutPolicyA(electric.xml.Attribute a) |
void |
handleTabPlacementA(electric.xml.Attribute a) |
boolean |
hasTabsAlready() |
boolean |
isAntiAlias() |
boolean |
isComponentAtIndex(java.awt.Component comp,
int idx) |
boolean |
isRotateLabels() |
void |
reAddTab(FTab tab) |
void |
refresh(int from) |
void |
requestFocus()
Requests that this component gets the keyboard focus.
|
boolean |
requestFocus(boolean temporary) |
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.
|
void |
setAntiAlias(boolean $15) |
void |
setBackground(FTab tab,
java.lang.String background)
Sets the background of the passed tab to the passed Color if the passed FTab is part of this FTabbedView.
|
void |
setBackground(java.lang.String tabName,
java.lang.String background)
Sets the background of the tab with the passed name to the color represented by the passed String if a tab with that name exists.
|
void |
setForeground(FTab tab,
java.lang.String foreground)
Sets the foreground of the passed tab to the passed Color if the passed FTab is part of this FTabbedView.
|
void |
setForeground(java.lang.String tabName,
java.lang.String foreground)
Sets the foreground of the tab with the passed name to the color represented by the passed String if a tab with that name exists.
|
void |
setRotateLabels(boolean $16) |
void |
setTabbedPane(de.ipcon.swing.ITabbedPane $12) |
void |
setTabLayoutPolicy(int $13) |
void |
setTabPlacement(int $14) |
void |
setTabs(java.util.ArrayList $11) |
void |
showTab(FTab t) |
action_allowPrebuiltModification_available, action_allowPrebuiltModification, action_close, action_copyId_available, action_copyId_enabled, action_copyId, action_copyXmlExport_available, action_copyXmlExport, action_delete_enabled, action_delete, action_enter_available, action_enter, action_ok_enabled, action_ok, action_print_available, action_print, action_save_enabled, action_save, checkPoint, closeSelfAndView, confirmDelete, confirmDelete, confirmSave, getCurrentlyFocusedFormElement, getCurrentlyFocusedFormElementIfChildOf, getDefaultButton, getExplicitIFC, getL10nBundle, getMDIHeight, getMDIWidth, handleCloseVetoE, handleConflictPolicyA, handleHeightA, handleIgnoreOtherLocalTransactionSavesA, handleL10nBundleA, handleOnBeforeMandatoryCheckE, handleOnCloseE, handleUseMaximumHeightA, handleUseMaximumWidthA, handleWidthA, hasDefaultButton, hasUnfullfilledMandatories, isIgnoreOtherLocalTransactionSaves, isInitialCdeFocus, isPrintingPossible, isUseMaximumHeight, isUseMaximumWidth, mdiActivate, newProcs, postInit, processFocusVeto, putIntoClipboard, save, save, save, setExplicitIFC, setIgnoreOtherLocalTransactionSaves, setInitialCdeFocus, setL10nBundle, setMDIHeight, setMDIWidth, setUseMaximumHeight, setUseMaximumWidth, 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, refreshActions, refreshActions, registerActionImpl, registerFormAction, removeFormElementListener, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setEditable, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, syncImpl, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefreshgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, 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, 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 FTabbedView(FormContextI _ftx, electric.xml.Element _confroot)
public void close()
close in interface FormElementIclose in class FRootPanepublic void buildGUI()
public boolean hasTabsAlready()
public void handleTabLayoutPolicyA(electric.xml.Attribute a)
public void handleTabPlacementA(electric.xml.Attribute a)
public void handleTabE(electric.xml.Element e)
public void handleFurtherElements()
public void handleFurtherElements(boolean showHidden)
public void handleFurtherElements(boolean showHidden,
boolean showBOProps)
public void handleFurtherElements(boolean showHidden,
boolean showBOProps,
boolean showHistory)
public java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FRootPanepublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FRootPanepublic java.util.LinkedHashMap getDefaultActionMap()
FPanelSubclasses can and should override this method to provide their own default action map.
getDefaultActionMap in class FRootPanepublic void beforeViewChange(de.ipcon.swing.IViewChangeEvent vce)
beforeViewChange in interface de.ipcon.swing.IViewChangeListenerIpublic void afterViewChanged(de.ipcon.swing.IViewChangeEvent vce)
afterViewChanged in interface de.ipcon.swing.IViewChangeListenerIpublic void afterViewChanged(de.ipcon.swing.IViewChangeEvent vce,
boolean initial)
public void action_showTab(java.lang.String tabName)
public void action_nextTab()
public FTabbedView getParentTabbedView(FormContextI ftx)
public void action_prevTab()
public boolean isComponentAtIndex(java.awt.Component comp,
int idx)
public void setBackground(java.lang.String tabName,
java.lang.String background)
public void setForeground(java.lang.String tabName,
java.lang.String foreground)
public void setBackground(FTab tab, java.lang.String background)
public void setForeground(FTab tab, java.lang.String foreground)
public void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic void reAddTab(FTab tab)
public void showTab(FTab t)
public void grabFocus()
grabFocus in class de.ipcon.swing.IPanelpublic void requestFocus()
FPanelThis method overrides JComponent.requestFocus() to ensure that
focus changes remain strictly within the current window. It delegates
directly to FPanel.requestFocusInWindow() to prevent components from
indiscriminately grabbing focus from other windows.
requestFocus in interface FormElementIrequestFocus in class FPanelpublic boolean requestFocus(boolean temporary)
requestFocus in class javax.swing.JComponentpublic boolean requestFocusInWindow()
FPanelThis method overrides JComponent.requestFocusInWindow() and delegates
to the more specific FPanel.requestFocusInWindow(boolean) with "temporary" set to false.
requestFocusInWindow in class FPaneltrue if the focus request is likely to be granted, false otherwise.public boolean requestFocusInWindow(boolean temporary)
FPanelThis 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 FPaneltemporary - 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.util.ArrayList getTabs()
public void setTabs(java.util.ArrayList $11)
public de.ipcon.swing.ITabbedPane getTabbedPane()
public void setTabbedPane(de.ipcon.swing.ITabbedPane $12)
public int getTabLayoutPolicy()
public void setTabLayoutPolicy(int $13)
public int getTabPlacement()
public void setTabPlacement(int $14)
public boolean isAntiAlias()
public void setAntiAlias(boolean $15)
public boolean isRotateLabels()
public void setRotateLabels(boolean $16)
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.