public class FTab extends FHideablePanel implements ChildFocusSupporterI
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 |
|---|
FTab(FormContextI _ftx,
electric.xml.Element _el) |
| Modifier and Type | Method and Description |
|---|---|
void |
_postShowingTab()
Contains the core logic executed after the tab has been shown.
|
void |
activate() |
void |
addToTabbedPane(javax.swing.JTabbedPane tp) |
void |
addToTabbedPane(javax.swing.JTabbedPane tp,
int position) |
void |
addToTabbedPane(javax.swing.JTabbedPane tp,
int position,
boolean isMain) |
void |
buildGUI() |
void |
close() |
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
java.awt.Color |
getBackground() |
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.awt.Color |
getForeground() |
FormElementI |
getFormElement() |
int |
getScrollingMode() |
java.lang.String |
getTitle() |
java.lang.String |
getToolTipText() |
void |
handleBackgroundA(electric.xml.Attribute a) |
void |
handleForegroundA(electric.xml.Attribute a) |
void |
handleGrabFocusA(electric.xml.Attribute a) |
void |
handleLazyA(electric.xml.Attribute a) |
FormElementI |
handleNewElement(electric.xml.Element e) |
FormElementI |
handleNewElement(electric.xml.Element e,
java.lang.String aka) |
void |
handleOnHidingTabE(electric.xml.Element e) |
void |
handleOnShowingTabE(electric.xml.Element e) |
void |
handleScrollableA(electric.xml.Attribute a) |
void |
helpChildFocusChangeTo(FormElementPath fep) |
void |
hidingTab() |
boolean |
isBuilt() |
boolean |
isGrabFocus() |
boolean |
isHiddenPropsTab() |
boolean |
isLazy() |
boolean |
isMainTab() |
boolean |
isScrollable() |
boolean |
isShown() |
boolean |
isTopTab() |
void |
postShowingTab()
Performs post-display actions for this tab after it has been shown.
|
void |
postShowingTab(boolean initial) |
void |
setBackground(java.awt.Color $5) |
void |
setBuilt(boolean $11) |
void |
setForeground(java.awt.Color $6) |
void |
setFormElement(FormElementI $12) |
void |
setGrabFocus(boolean $10) |
void |
setHiddenPropsTab(boolean $14) |
void |
setLazy(boolean $9) |
void |
setMainTab(boolean $15) |
void |
setScrollable(boolean $7) |
void |
setScrollingMode(int $8) |
void |
setTitle(java.lang.String $3) |
void |
setToolTipText(java.lang.String $4) |
void |
setTopTab(boolean $13) |
boolean |
shouldBuildGUINow() |
boolean |
shouldShow() |
void |
showingTab() |
void |
updateTitle(java.lang.String newTitle) |
checkVisible, getVisibility, handleVisibleIfE_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, evalScript, evalScript, evalScript, evalScript, evalScript, fhide, focusNextComponent, focusPreviousComponent, fshow, getActions, getActionsOfKind, getActionsOfKind, getBO, getConfRoot, getCtx, 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, handleOnAfterSaveE, handleOnAfterSetValueE, handleOnBeforeSaveE, handleOnBeforeSetValueE, handleOnConstructionE, handleOnDropE, handleOnFocusGainedE, handleOnFocusLostE, handleOnMDIActivateE, handleOnMDICloseE, handleOnMDIDeactivateE, handleOnMDIOpenE, handleOnRefreshE, handleOnSyncE, handlePreferredSizeA, handlePrefSizeA, handleScriptE, handleVirtualPropertyE, hasPreferredSizeOverride, invokeAction, invokeAction, isClosed, isDebug, isDefinedEditable, isEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, postRefresh, postRefresh, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refresh, refreshActions, refreshActions, registerActionImpl, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setEditable, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, sync, syncImpl, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefreshgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, grabFocus, init, init, init, paintComponent, 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, 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, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, 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, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, 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 FTab(FormContextI _ftx, electric.xml.Element _el)
public java.lang.String getDebugName()
getDebugName in interface FormElementIgetDebugName in class FPanelpublic void close()
close in interface FormElementIclose in class FPanelpublic boolean shouldBuildGUINow()
shouldBuildGUINow in class FHideablePanelpublic void buildGUI()
public boolean isShown()
isShown in interface FormElementIisShown in class FPanelpublic void handleBackgroundA(electric.xml.Attribute a)
public void handleForegroundA(electric.xml.Attribute a)
public void handleScrollableA(electric.xml.Attribute a)
public void handleLazyA(electric.xml.Attribute a)
public void handleGrabFocusA(electric.xml.Attribute a)
public void handleOnShowingTabE(electric.xml.Element e)
public void handleOnHidingTabE(electric.xml.Element e)
public FormElementI handleNewElement(electric.xml.Element e)
handleNewElement in interface FormElementIhandleNewElement in class FPanelpublic FormElementI handleNewElement(electric.xml.Element e, java.lang.String aka)
handleNewElement in class FPanelpublic java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FHideablePanelpublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FHideablePanelpublic java.util.LinkedHashMap getDefaultActionMap()
FPanelSubclasses can and should override this method to provide their own default action map.
getDefaultActionMap in class FHideablePanelpublic void addToTabbedPane(javax.swing.JTabbedPane tp)
public void addToTabbedPane(javax.swing.JTabbedPane tp,
int position)
public void addToTabbedPane(javax.swing.JTabbedPane tp,
int position,
boolean isMain)
public void showingTab()
public void postShowingTab()
This method executes custom logic once the tab becomes visible. If it's not the initial displaying of the tab, it schedules the actual post-showing logic to run on the Event Dispatch Thread (EDT) and waits for its completion. It also evaluates the script named 'onShowingTab'.
initial - If true, indicates that this is the initial display of the tab,
in which case the post-showing logic is executed directly without waiting on EDT.public void postShowingTab(boolean initial)
public void _postShowingTab()
postShowingTab(boolean).
It refreshes the view of the form context, manages focus, and handles potential timing situations where the tabbed pane might not yet be available.
public void hidingTab()
public boolean shouldShow()
shouldShow in class FPanelpublic void updateTitle(java.lang.String newTitle)
public void helpChildFocusChangeTo(FormElementPath fep)
helpChildFocusChangeTo in interface ChildFocusSupporterIpublic void activate()
public java.lang.String getTitle()
public void setTitle(java.lang.String $3)
public java.lang.String getToolTipText()
getToolTipText in class javax.swing.JComponentpublic void setToolTipText(java.lang.String $4)
setToolTipText in class javax.swing.JComponentpublic java.awt.Color getBackground()
getBackground in class java.awt.Componentpublic void setBackground(java.awt.Color $5)
setBackground in class javax.swing.JComponentpublic java.awt.Color getForeground()
getForeground in class java.awt.Componentpublic void setForeground(java.awt.Color $6)
setForeground in class javax.swing.JComponentpublic boolean isScrollable()
public void setScrollable(boolean $7)
public int getScrollingMode()
getScrollingMode in class de.ipcon.swing.IPanelpublic void setScrollingMode(int $8)
setScrollingMode in class de.ipcon.swing.IPanelpublic boolean isLazy()
public void setLazy(boolean $9)
public boolean isGrabFocus()
public void setGrabFocus(boolean $10)
public boolean isBuilt()
public void setBuilt(boolean $11)
public FormElementI getFormElement()
public void setFormElement(FormElementI $12)
public boolean isTopTab()
public void setTopTab(boolean $13)
public boolean isHiddenPropsTab()
public void setHiddenPropsTab(boolean $14)
public boolean isMainTab()
public void setMainTab(boolean $15)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.