Package com.iizigo.panel.prop
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,EMUISimpleDialog,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 com.iizix.gyro.IMessageBox
IMessageBox.IconNested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState
IVSComponentState.StateField Summary
Fields inherited from interface com.iizix.prop.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 com.iizigo.link.ILinkCapable
STATUS_LINK_NOT_SUPPORTEDFields inherited from interface com.iizix.gyro.IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGFields inherited from interface com.iizix.prop.ui.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 com.iizix.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 com.iizix.prop.ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsentMethods inherited from interface com.iizigo.panel.prop.IEImagePreview
getImagePreviewMethods inherited from interface com.iizigo.panel.prop.IEUICompBase
getCNDescriptionType, getCNImage, getPossibleContainerParents, isValidContainerMethods inherited from interface com.iizigo.panel.prop.IEUICompCommon
canMark, getBounds, getEditorPropCnr, getParentClientBounds, useCNPropIDMethods inherited from interface com.iizigo.prop.editor.IExtendsSelection
getSelectPropDialogTitle, getSelectPropViewerFilterMethods inherited from interface com.iizix.prop.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 com.iizigo.link.java.IJavaMethodLinkEnabler
addMethodLinkOperations, getMethodReferenceAnnotationTypes, isMethodLinkCapableMethods inherited from interface com.iizigo.link.ILinkCapable
getDragDropHTMLMethods inherited from interface com.iizix.gyro.IMessageBox
messageBox, messageBox, messageBoxMethods inherited from interface com.iizix.prop.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 com.iizigo.prop.IPropDesigner
findIResource, getAdapterMethods inherited from interface com.iizigo.prop.IPropRenameable
canRenamePropertyMethods inherited from interface com.iizigo.java.IShowJavaSource
showJava, showJavaMethods inherited from interface com.iizigo.style.prop.IStylesFilter
getStylesName, getSupportedStylesMethods inherited from interface com.iizigo.prop.ITransferContainerProps
canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerPropsMethods inherited from interface com.iizigo.link.ui.IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getUIPanel, isUIBuilderFromVSLinkCapableMethods inherited from interface com.iizix.prop.ui.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 com.iizigo.link.ui.IUIComponentLinkEnabler
getJavaClassLinkEnabler, getRelativeMethodAnnotationReference, getUIComponentLinkOperations, getUIPanel, isUIComponentLinkCapableMethods inherited from interface com.iizix.prop.ui.IUIContainer
getComponentCount, getComponents, getCompsCnr, getRadioSelectionComponents, getSelectedRadioComponent, setRadioSelectionComponentMethods inherited from interface com.iizix.prop.vs.IVSComponentListener
onParentStateChangedMethods inherited from interface com.iizix.prop.vs.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
Checks if the UIComponent class in question can be added in this container.- Parameters:
componentClass- The component class.- Returns:
- true If the component is allowed, false otherwise.
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.