public class FTree extends FPanel implements java.awt.event.ActionListener, MDISizeI, FTreeConfigurationI, FormElementListenerI, PopupableFormElementI, FormElementWithDisplayPropertyI, QueryGUIListenerI
| Modifier and Type | Field and Description |
|---|---|
static java.util.LinkedHashMap |
myActions |
static java.util.HashMap |
myAttributes |
static java.util.HashMap |
myElements |
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 |
|---|
FTree(FormContextI _ftx,
electric.xml.Element _confroot) |
| Modifier and Type | Method and Description |
|---|---|
void |
action_close() |
void |
action_focusSearchPanel() |
boolean |
action_newElement_enabled() |
BO |
action_newElement() |
BO |
action_newElement(java.awt.event.ActionEvent a) |
boolean |
action_refresh_available() |
boolean |
action_refresh_enabled() |
void |
action_refresh() |
void |
action_showPopupMenu() |
void |
action_showPopupMenu(java.awt.event.ActionEvent a) |
void |
action_stopLoading() |
void |
action_toggleSelected() |
void |
action_toggleSelected(java.awt.event.ActionEvent a) |
void |
actionPerformed(java.awt.event.ActionEvent a) |
void |
addPopupElementListener(PopupElementListenerI l) |
void |
afterSavePerformed(FormElementI fe) |
void |
afterSetValuePerformed(FormElementI fe,
java.lang.Object old,
java.lang.Object $new) |
void |
applyFilters() |
void |
beforeSavePerformed(FormElementI fe) |
void |
beforeSetValuePerformed(FormElementI fe,
java.lang.Object old,
java.lang.Object $new) |
void |
build() |
void |
buildGUI() |
void |
close() |
void |
createTree() |
BO |
delegatedNewElement(java.awt.event.ActionEvent a) |
void |
expandToRelatedBO() |
void |
fastRefresh() |
java.util.LinkedHashMap |
getActions()
Retrieves a list of all actions associated with this MDI root element.
|
java.awt.Component |
getAsComponent() |
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
java.lang.String |
getChildrenProperty() |
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this FPanel.
|
java.lang.Class |
getDisplayClass() |
java.lang.String |
getDisplayFormat() |
java.lang.String |
getDisplayProperty() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this FPanel.
|
java.lang.String |
getFilter() |
FormPopupControllerI |
getFormPopupController() |
java.lang.Integer |
getMDIHeight() |
java.lang.Integer |
getMDIWidth() |
FTreeModel |
getModel() |
java.lang.String |
getParentProperty() |
QueryBuilder |
getQuery() |
java.lang.String |
getRestrictToEntity() |
BO[] |
getSelectedObjects() |
void |
handleDisplayClassA(electric.xml.Attribute a) |
void |
handleEntityA(electric.xml.Attribute a) |
void |
handleFormatA(electric.xml.Attribute a) |
void |
handleHeightA(electric.xml.Attribute a) |
void |
handlePropertyA(electric.xml.Attribute a) |
void |
handleQueryE(electric.xml.Element e) |
void |
handleQueryGUIEvent(QueryGUIEvent ev) |
void |
handleRestrictToEntityA(electric.xml.Attribute a) |
void |
handleToggle(FTreeNode n) |
void |
handleToggleOnBO(BO bo) |
void |
handleUsePolymorphySelectionTreeA(electric.xml.Attribute a) |
void |
handleWidthA(electric.xml.Attribute a) |
boolean |
hasQuery() |
void |
hideIfPopupped() |
boolean |
isExplicitStart() |
boolean |
isFreeSearch() |
boolean |
isLoadImmediate() |
boolean |
isUsePolymorphySelectionTree() |
boolean |
needsToDelegateNewElement() |
void |
postRefresh(int from) |
void |
prepareForShowPopup() |
void |
refresh(int from) |
void |
refreshPerformed(FormElementI fe) |
void |
removePopupElementListener(PopupElementListenerI l) |
void |
setChildrenProperty(java.lang.String $7) |
void |
setDisplayClass(java.lang.Class $9) |
void |
setDisplayFormat(java.lang.String $10) |
void |
setDisplayProperty(java.lang.String $6) |
void |
setEditingStatus(boolean b) |
void |
setExplicitStart(boolean $16) |
void |
setFilter(java.lang.String $18) |
void |
setFormPopupController(FormPopupControllerI $15) |
void |
setFreeSearch(boolean $17) |
void |
setMDIHeight(java.lang.Integer $13) |
void |
setMDIWidth(java.lang.Integer $12) |
void |
setParentProperty(java.lang.String $8) |
void |
setQueryString(java.lang.String _s) |
void |
setRestrictToEntity(java.lang.String $14) |
void |
setUsePolymorphySelectionTree(boolean $11) |
void |
showPopup(java.awt.event.MouseEvent m) |
de.ipcon.db.core.QueryResultsI |
startQuery() |
void |
syncPerformed(FormElementI fe) |
void |
triggerQuery(java.lang.String _s) |
_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, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, 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, 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, waitgetBO, refresh, refreshActionsrefreshActionsaddFormElementListener, afterSave, afterSetValue, beforeSave, beforeSetValue, getActions, getActionsOfKind, getConfRoot, getCtx, getDebugName, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleNewElement, isClosed, isDebug, isEditable, isGUIBuilt, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postInit, removeFormElementListener, requestFocus, setEditable, sync, toDebugName, willCareForChildActions, willCareForChildRefreshpublic static java.util.HashMap myAttributes
public static java.util.HashMap myElements
public static java.util.LinkedHashMap myActions
public FTree(FormContextI _ftx, electric.xml.Element _confroot)
public void buildGUI()
public void createTree()
public void build()
public FTreeModel getModel()
getModel in interface FTreeConfigurationIpublic void handlePropertyA(electric.xml.Attribute a)
public void handleEntityA(electric.xml.Attribute a)
public void handleFormatA(electric.xml.Attribute a)
public void handleDisplayClassA(electric.xml.Attribute a)
public void handleWidthA(electric.xml.Attribute a)
public void handleHeightA(electric.xml.Attribute a)
public void handleUsePolymorphySelectionTreeA(electric.xml.Attribute a)
public void handleRestrictToEntityA(electric.xml.Attribute a)
public void handleQueryE(electric.xml.Element e)
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 BO[] getSelectedObjects()
public void showPopup(java.awt.event.MouseEvent m)
public void handleToggle(FTreeNode n)
public void handleToggleOnBO(BO bo)
public void action_toggleSelected()
public void action_toggleSelected(java.awt.event.ActionEvent a)
public void action_close()
public void action_showPopupMenu()
public void action_showPopupMenu(java.awt.event.ActionEvent a)
public boolean action_newElement_enabled()
public boolean needsToDelegateNewElement()
needsToDelegateNewElement in interface PopupableFormElementIpublic BO delegatedNewElement(java.awt.event.ActionEvent a)
delegatedNewElement in interface PopupableFormElementIpublic BO action_newElement()
action_newElement in interface PopupableFormElementIpublic BO action_newElement(java.awt.event.ActionEvent a)
action_newElement in interface PopupableFormElementIpublic void action_focusSearchPanel()
action_focusSearchPanel in interface PopupableFormElementIpublic void action_refresh()
action_refresh in interface PopupableFormElementIpublic boolean action_refresh_available()
public boolean action_refresh_enabled()
public void prepareForShowPopup()
prepareForShowPopup in interface PopupableFormElementIpublic void fastRefresh()
public void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic void close()
close in interface FormElementIclose in class FPanelpublic void postRefresh(int from)
postRefresh in interface FormElementIpostRefresh in class FPanelpublic void syncPerformed(FormElementI fe)
syncPerformed in interface FormElementListenerIpublic void beforeSavePerformed(FormElementI fe)
beforeSavePerformed in interface FormElementListenerIpublic void afterSavePerformed(FormElementI fe)
afterSavePerformed in interface FormElementListenerIpublic void refreshPerformed(FormElementI fe)
refreshPerformed in interface FormElementListenerIpublic void beforeSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
beforeSetValuePerformed in interface FormElementListenerIpublic void afterSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
afterSetValuePerformed in interface FormElementListenerIpublic void hideIfPopupped()
hideIfPopupped in interface PopupableFormElementIpublic java.awt.Component getAsComponent()
getAsComponent in interface PopupableFormElementIpublic void setEditingStatus(boolean b)
setEditingStatus in interface PopupableFormElementIpublic void applyFilters()
applyFilters in interface PopupableFormElementIpublic boolean hasQuery()
hasQuery in interface FTreeConfigurationIpublic de.ipcon.db.core.QueryResultsI startQuery()
startQuery in interface FTreeConfigurationIpublic void triggerQuery(java.lang.String _s)
triggerQuery in interface PopupableFormElementIpublic void setQueryString(java.lang.String _s)
setQueryString in interface PopupableFormElementIpublic QueryBuilder getQuery()
getQuery in interface PopupableFormElementIpublic boolean isLoadImmediate()
isLoadImmediate in interface PopupableFormElementIpublic void action_stopLoading()
action_stopLoading in interface PopupableFormElementIpublic void addPopupElementListener(PopupElementListenerI l)
addPopupElementListener in interface PopupableFormElementIpublic void removePopupElementListener(PopupElementListenerI l)
removePopupElementListener in interface PopupableFormElementIpublic void actionPerformed(java.awt.event.ActionEvent a)
actionPerformed in interface java.awt.event.ActionListenerpublic void handleQueryGUIEvent(QueryGUIEvent ev)
handleQueryGUIEvent in interface QueryGUIListenerIpublic void expandToRelatedBO()
expandToRelatedBO in interface FTreeConfigurationIpublic java.lang.String getDisplayProperty()
getDisplayProperty in interface FormElementWithDisplayPropertyIgetDisplayProperty in interface FTreeConfigurationIpublic void setDisplayProperty(java.lang.String $6)
public java.lang.String getChildrenProperty()
getChildrenProperty in interface FTreeConfigurationIpublic void setChildrenProperty(java.lang.String $7)
public java.lang.String getParentProperty()
getParentProperty in interface FTreeConfigurationIpublic void setParentProperty(java.lang.String $8)
public java.lang.Class getDisplayClass()
getDisplayClass in interface FTreeConfigurationIpublic void setDisplayClass(java.lang.Class $9)
public java.lang.String getDisplayFormat()
getDisplayFormat in interface FTreeConfigurationIpublic void setDisplayFormat(java.lang.String $10)
public boolean isUsePolymorphySelectionTree()
public void setUsePolymorphySelectionTree(boolean $11)
public java.lang.Integer getMDIWidth()
getMDIWidth in interface MDISizeIpublic void setMDIWidth(java.lang.Integer $12)
public java.lang.Integer getMDIHeight()
getMDIHeight in interface MDISizeIpublic void setMDIHeight(java.lang.Integer $13)
public java.lang.String getRestrictToEntity()
public void setRestrictToEntity(java.lang.String $14)
public FormPopupControllerI getFormPopupController()
public void setFormPopupController(FormPopupControllerI $15)
setFormPopupController in interface PopupableFormElementIpublic boolean isExplicitStart()
public void setExplicitStart(boolean $16)
public boolean isFreeSearch()
public void setFreeSearch(boolean $17)
public java.lang.String getFilter()
public void setFilter(java.lang.String $18)
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.