Interface IEUIContainer
- All Superinterfaces:
IAdaptable, IComponent, ICustomDataProvider, IEImagePreview, IEUICompBase, IEUICompCommon, IExtendsSelection, IGProp<GProp<?>[]>, IJavaMethodLinkEnabler, ILinkCapable, IMessageBox, IPropCnr, IPropDesigner, IPropRenameable, IShowJavaSource, IStylesFilter, ITransferContainerProps, IUIBuilderFromVSLinkEnabler, IUIComp, IUIComponentLinkEnabler, IUIContainer, IVSComponentListener, IVSComponentState, IVSFieldListener
- All Known Subinterfaces:
IEUIPanel
- All Known Implementing Classes:
EMapMarkers, EMLGroup, EMList, EMUIHeading, EMUITabBar, EUIAccordion, EUICalendarList, EUIContainer, EUIContextMenu, EUIDialog, EUIMap, EUIMenu, EUIMenuBar, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUISwapContainer, EUITabContainer, EUITable, EUITitlePane
public interface IEUIContainer extends IUIContainer, IEUICompCommon, IUIComponentLinkEnabler, IUIBuilderFromVSLinkEnabler
Interface implemented by all Editor UIContainer and their extended classes.
This interface extends IPropRenamable that will enable the Rename dialog to be shown.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface IMessageBox
IMessageBox.IconNested classes/interfaces inherited from interface IVSComponentState
IVSComponentState.StateField Summary
Fields inherited from interface IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_INCLUDE_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATEFields inherited from interface ILinkCapable
STATUS_LINK_NOT_SUPPORTEDFields inherited from interface IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGFields inherited from interface IUIComp
ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNINGMethod Summary
Modifier and TypeMethodDescriptionvoidAdds the predefined containers for identifications, fields and actions.default booleancanContainComponent(Class<? extends UIComp> componentClass) Checks if the UIComponent class in question can be added in this container.Creates the components for the Editor.Creates the Styles container (can be overridden by Designer to create EditorStyles).Class<?>[]Gets the possible Layout Manager classes for this component.default GRectGets the current bounds of the client area inside the container where children are placed.Gets the Designer Extension for Properties.default Collection<ILinkOperation> getLinkOperations(LinkData data) Called when the drag-drop is to be performed (link or paste-link menu item).Class<?>[]Gets the acceptable component children property classes that can be used in conjunction with e.g.voidAdds the predefined containers for identifications, fields and actions.default IStatusisLinkCapable(LinkData data) Returns if this property container could potentially be link capable.Methods inherited from interface IComponent
clearErrorMessage, getBadge, getKStringText, getLayoutMgr, getMessage, getMessageText, getStyles, getText, getTooltip, getTooltipText, getUIPanel, getUIParent, isEnabled, isReadOnly, isVisible, messageBox, requestFocus, requestFocus, requestFocusEx, requestFocusEx, setBadge, setBadge, setEnabled, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setText, setText, setTooltip, setTooltip, setVisibleMethods inherited from interface ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsentMethods inherited from interface IEImagePreview
getImagePreviewMethods inherited from interface IEUICompBase
getCNDescriptionType, getCNImage, getPossibleContainerParents, isValidContainerMethods inherited from interface IEUICompCommon
canMark, getBounds, getEditorPropCnr, getParentClientBounds, useCNPropIDMethods inherited from interface IExtendsSelection
getSelectPropDialogTitle, getSelectPropViewerFilterMethods inherited from interface IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, isSibling, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, warning, warning, warningMethods inherited from interface IJavaMethodLinkEnabler
addMethodLinkOperations, getMethodReferenceAnnotationTypes, isMethodLinkCapableMethods inherited from interface ILinkCapable
getDragDropHTMLMethods inherited from interface IMessageBox
messageBox, messageBox, messageBoxMethods inherited from interface IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstancesMethods inherited from interface IPropDesigner
findIResource, getAdapterMethods inherited from interface IPropRenameable
canRenamePropertyMethods inherited from interface IShowJavaSource
showJava, showJavaMethods inherited from interface IStylesFilter
getStylesName, getSupportedStylesMethods inherited from interface ITransferContainerProps
canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerPropsMethods inherited from interface IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getUIPanel, isUIBuilderFromVSLinkCapableMethods inherited from interface IUIComp
canAcceptUIContainerFocus, disconnectVSField, getComponentID, getComponentMappings, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getCSSClassNames, getDeviceType, getErrorMessage, getErrorMessage, getFirstUIComponent, getFirstUIComponentNull, getFixHeight, getFixWidth, getLayout, getLayoutMgr, getPanelUIComponent, getPanelUIComponentNull, getUIRef, getValue, getValue, getVirtualSpace, getVSField, isMobile, isRTL, isVSFieldDisconnected, reconnectVSField, setComponentToVSField, setCSSClassNames, setCSSClassNames2, setErrorMessage, setErrorMessage, setUIContainerFocus, setVSFieldMessageToComponent, setVSFieldToComponentMethods inherited from interface IUIComponentLinkEnabler
getJavaClassLinkEnabler, getRelativeMethodAnnotationReference, getUIComponentLinkOperations, getUIPanel, isUIComponentLinkCapableMethods inherited from interface IUIContainer
getComponentCount, getComponents, getCompsCnr, getRadioSelectionComponents, getSelectedRadioComponent, setRadioSelectionComponentMethods inherited from interface IVSComponentListener
onParentStateChangedMethods inherited from interface IVSFieldListener
getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
Method Details
createStyles
Styles createStyles()Creates the Styles container (can be overridden by Designer to create EditorStyles).addPredefinedPropsImpl
Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.- Throws:
PropException
getPredefinedProps
void getPredefinedProps()Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.createCompsCnr
EUIComps createCompsCnr()Creates the components for the Editor.getDesigner
UIContainerDesignerProp getDesigner()Gets the Designer Extension for Properties.- Specified by:
getDesignerin interfaceIPropDesigner- Returns:
- The container instance of the Designer Extension.
getAcceptedLayoutMgrs
Class<?>[] getAcceptedLayoutMgrs()Gets the possible Layout Manager classes for this component.- Returns:
- null To accept all.
getPossibleCompChildren
Class<?>[] getPossibleCompChildren()Gets the acceptable component children property classes that can be used in conjunction with e.g. a Paste operation.- Returns:
- An array containing the classes of possible children, or null for no support.
getClientBounds
Gets the current bounds of the client area inside the container where children are placed. The position is relative the page or document bounds, including the scrollbars and their current scroll.- Returns:
- The rectangle, or null if not yet defined.
canContainComponent
isLinkCapable
Returns if this property container could potentially be link capable.This call is done many times during drag-drop and must be very fast and not cause too much garbage collection.
- Specified by:
isLinkCapablein interfaceIJavaMethodLinkEnabler- Specified by:
isLinkCapablein interfaceILinkCapable- Specified by:
isLinkCapablein interfaceIUIBuilderFromVSLinkEnabler- Parameters:
data- The link data.- Returns:
- The status of capability of the operation.
getLinkOperations
Called when the drag-drop is to be performed (link or paste-link menu item). The link-capable instance fills in only what it handles.- Specified by:
getLinkOperationsin interfaceIJavaMethodLinkEnabler- Specified by:
getLinkOperationsin interfaceILinkCapable- Specified by:
getLinkOperationsin interfaceIUIBuilderFromVSLinkEnabler- Parameters:
data- The link data.- Returns:
- The list of operations required.