public class FElement extends FHideablePanel
myActionsXMLConfigureInfoinhibitFocusChange, 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 |
|---|
FElement(FormContextI _ftx,
electric.xml.Element _el) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToFView(FView _fview) |
void |
buildGUI() |
boolean |
checkVisible(FormElementI c,
java.lang.String debugHint,
boolean noBoOrAttrVisible) |
void |
close() |
void |
dumpMessage(java.lang.String msg) |
void |
fhide()
Executes custom actions when the component becomes hidden.
|
void |
fshow()
Executes custom actions when the component becomes visible.
|
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
java.lang.Boolean |
getAutoHide() |
java.lang.String |
getDebugName() |
java.lang.String |
getDisplayProperty() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this FPanel.
|
java.lang.String |
getFontSize() |
java.lang.String |
getFontStyle() |
java.lang.Boolean |
getHideForNullBO() |
double |
getHSpaceDist() |
java.awt.Component |
getJcomp() |
java.awt.Component |
getJlabel() |
java.lang.String |
getLabel() |
java.awt.Color |
getLabelBackground() |
java.awt.Color |
getLabelForeground() |
int |
getLhalign() |
int |
getLvalign() |
int |
getMode() |
FView |
getMyFView() |
java.awt.Component |
getNonLabelComponent() |
FormContextI |
getRealFtx() |
double |
getRightFill() |
int |
getRows() |
java.lang.String |
getType() |
VisibilityI |
getVisibility() |
int |
getX() |
int |
getY() |
void |
handleAutoCreateA(electric.xml.Attribute a) |
void |
handleDisplayPropertyA(electric.xml.Attribute a) |
void |
handleFontSizeA(electric.xml.Attribute a) |
void |
handleFontStyleA(electric.xml.Attribute a) |
void |
handleHSpaceDistA(electric.xml.Attribute a) |
void |
handleLabel_halignA(electric.xml.Attribute a) |
void |
handleLabel_valignA(electric.xml.Attribute a) |
void |
handleLabelBackgroundA(electric.xml.Attribute a) |
void |
handleLabelForegroundA(electric.xml.Attribute a) |
void |
handleLazyA(electric.xml.Attribute a) |
void |
handleModeA(electric.xml.Attribute a) |
FormElementI |
handleNewElement(electric.xml.Element el) |
FormElementI |
handleNewElement(electric.xml.Element el,
java.lang.String aka) |
void |
handleNo_labelA(electric.xml.Attribute a) |
void |
handlePropertyA(electric.xml.Attribute a) |
void |
handleRightFillA(electric.xml.Attribute a) |
void |
handleRowsA(electric.xml.Attribute a) |
void |
handleTransactionControlA(electric.xml.Attribute a) |
void |
handleXA(electric.xml.Attribute a) |
void |
handleYA(electric.xml.Attribute a) |
boolean |
isAutoCreate() |
boolean |
isAutoHideNN() |
boolean |
isFViewWithDelegationToParent() |
boolean |
isHideForNullBONN() |
boolean |
isNoLabel() |
boolean |
isTransactionControl() |
void |
refresh(int from) |
void |
refreshBO() |
void |
removeFromFView(FView _fview) |
void |
revalidate() |
void |
setAutoCreate(boolean $19) |
void |
setAutoHide(java.lang.Boolean $20) |
void |
setDisplayProperty(java.lang.String $18) |
void |
setFontSize(java.lang.String $27) |
void |
setFontStyle(java.lang.String $26) |
void |
setHideForNullBO(java.lang.Boolean $21) |
void |
setHSpaceDist(double $17) |
void |
setJcomp(java.awt.Component $13) |
void |
setJlabel(java.awt.Component $12) |
void |
setLabel(java.lang.String $8) |
void |
setLabelBackground(java.awt.Color $25) |
void |
setLabelForeground(java.awt.Color $24) |
void |
setLhalign(int $10) |
void |
setLvalign(int $11) |
void |
setMode(int $14) |
void |
setMyFView(FView _fview) |
void |
setNoLabel(boolean $9) |
void |
setRealFtx(FormContextI $23) |
void |
setRightFill(double $16) |
void |
setRows(int $15) |
void |
setTransactionControl(boolean $22) |
void |
setType(java.lang.String $7) |
void |
setX(int _x) |
void |
setY(int _y) |
electric.xml.Element |
unwrapSingleFormElementWrapper(electric.xml.Element el) |
checkVisible, getDefaultActionMap, handleVisibleIfE, shouldBuildGUINow_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, focusNextComponent, focusPreviousComponent, 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, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, postRefresh, postRefresh, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, 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, 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, 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 FElement(FormContextI _ftx, electric.xml.Element _el) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void close()
close in interface FormElementIclose in class FPanelpublic void buildGUI()
public void refreshBO()
public void handleNo_labelA(electric.xml.Attribute a)
public void handleLazyA(electric.xml.Attribute a)
public void handleXA(electric.xml.Attribute a)
public void handleYA(electric.xml.Attribute a)
public void handleRowsA(electric.xml.Attribute a)
public void handleModeA(electric.xml.Attribute a)
public void handleLabel_valignA(electric.xml.Attribute a)
public void handleLabel_halignA(electric.xml.Attribute a)
public void handleDisplayPropertyA(electric.xml.Attribute a)
public void handlePropertyA(electric.xml.Attribute a)
public void handleAutoCreateA(electric.xml.Attribute a)
public void handleLabelForegroundA(electric.xml.Attribute a)
public void handleLabelBackgroundA(electric.xml.Attribute a)
public void handleTransactionControlA(electric.xml.Attribute a)
public void handleFontStyleA(electric.xml.Attribute a)
public void handleFontSizeA(electric.xml.Attribute a)
public void handleRightFillA(electric.xml.Attribute a)
public void handleHSpaceDistA(electric.xml.Attribute a)
public FormElementI handleNewElement(electric.xml.Element el)
handleNewElement in interface FormElementIhandleNewElement in class FPanelpublic FormElementI handleNewElement(electric.xml.Element el, 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.awt.Component getNonLabelComponent()
public void dumpMessage(java.lang.String msg)
public void setMyFView(FView _fview)
public boolean isFViewWithDelegationToParent()
public void addToFView(FView _fview)
public void removeFromFView(FView _fview)
public void fshow()
FPanelThis method prevents redundant GUI building if the component was already visible.
It first calls FPanel.buildGUI() to construct the graphical user interface, and then
FPanel.postBuildGUI() to perform any post-construction setup. Finally, it marks
the component as visible.
public void fhide()
FPanelThis 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 revalidate()
revalidate in class javax.swing.JComponentpublic void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic java.lang.String getDebugName()
getDebugName in interface FormElementIgetDebugName in class FPanelpublic boolean isAutoHideNN()
public boolean isHideForNullBONN()
public VisibilityI getVisibility()
getVisibility in class FHideablePanelpublic electric.xml.Element unwrapSingleFormElementWrapper(electric.xml.Element el)
public boolean checkVisible(FormElementI c, java.lang.String debugHint, boolean noBoOrAttrVisible)
public void setX(int _x)
public void setY(int _y)
public java.lang.String getType()
public void setType(java.lang.String $7)
public int getX()
getX in class javax.swing.JComponentpublic int getY()
getY in class javax.swing.JComponentpublic java.lang.String getLabel()
public void setLabel(java.lang.String $8)
public boolean isNoLabel()
public void setNoLabel(boolean $9)
public int getLhalign()
public void setLhalign(int $10)
public int getLvalign()
public void setLvalign(int $11)
public java.awt.Component getJlabel()
public void setJlabel(java.awt.Component $12)
public java.awt.Component getJcomp()
public void setJcomp(java.awt.Component $13)
public int getMode()
public void setMode(int $14)
public int getRows()
public void setRows(int $15)
public double getRightFill()
public void setRightFill(double $16)
public double getHSpaceDist()
public void setHSpaceDist(double $17)
public FView getMyFView()
public java.lang.String getDisplayProperty()
public void setDisplayProperty(java.lang.String $18)
public boolean isAutoCreate()
public void setAutoCreate(boolean $19)
public java.lang.Boolean getAutoHide()
public void setAutoHide(java.lang.Boolean $20)
public java.lang.Boolean getHideForNullBO()
public void setHideForNullBO(java.lang.Boolean $21)
public boolean isTransactionControl()
public void setTransactionControl(boolean $22)
public FormContextI getRealFtx()
public void setRealFtx(FormContextI $23)
public java.awt.Color getLabelForeground()
public void setLabelForeground(java.awt.Color $24)
public java.awt.Color getLabelBackground()
public void setLabelBackground(java.awt.Color $25)
public java.lang.String getFontStyle()
public void setFontStyle(java.lang.String $26)
public java.lang.String getFontSize()
public void setFontSize(java.lang.String $27)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.