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.Icon
Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState
IVSComponentState.State
Field 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_PRIVATE
Fields inherited from interface com.iizigo.link.ILinkCapable
STATUS_LINK_NOT_SUPPORTED
Fields inherited from interface com.iizix.gyro.IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
Fields inherited from interface com.iizix.prop.ui.IUIComp
ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNING
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the predefined containers for identifications, fields and actions.default boolean
canContainComponent
(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 GRect
Gets 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.void
Adds the predefined containers for identifications, fields and actions.default IStatus
isLinkCapable
(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, setVisible
Methods inherited from interface com.iizix.prop.ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsent
Methods inherited from interface com.iizigo.panel.prop.IEImagePreview
getImagePreview
Methods inherited from interface com.iizigo.panel.prop.IEUICompBase
getCNDescriptionType, getCNImage, getPossibleContainerParents, isValidContainer
Methods inherited from interface com.iizigo.panel.prop.IEUICompCommon
canMark, getBounds, getEditorPropCnr, getParentClientBounds, useCNPropID
Methods inherited from interface com.iizigo.prop.editor.IExtendsSelection
getSelectPropDialogTitle, getSelectPropViewerFilter
Methods 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, warning
Methods inherited from interface com.iizigo.link.java.IJavaMethodLinkEnabler
addMethodLinkOperations, getMethodReferenceAnnotationTypes, isMethodLinkCapable
Methods inherited from interface com.iizigo.link.ILinkCapable
getDragDropHTML
Methods inherited from interface com.iizix.gyro.IMessageBox
messageBox, messageBox, messageBox
Methods 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, validateClassInstances
Methods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter
Methods inherited from interface com.iizigo.prop.IPropRenameable
canRenameProperty
Methods inherited from interface com.iizigo.java.IShowJavaSource
showJava, showJava
Methods inherited from interface com.iizigo.style.prop.IStylesFilter
getStylesName, getSupportedStyles
Methods inherited from interface com.iizigo.prop.ITransferContainerProps
canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerProps
Methods inherited from interface com.iizigo.link.ui.IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getUIPanel, isUIBuilderFromVSLinkCapable
Methods 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, setVSFieldToComponent
Methods inherited from interface com.iizigo.link.ui.IUIComponentLinkEnabler
getJavaClassLinkEnabler, getRelativeMethodAnnotationReference, getUIComponentLinkOperations, getUIPanel, isUIComponentLinkCapable
Methods inherited from interface com.iizix.prop.ui.IUIContainer
getComponentCount, getComponents, getCompsCnr, getRadioSelectionComponents, getSelectedRadioComponent, setRadioSelectionComponent
Methods inherited from interface com.iizix.prop.vs.IVSComponentListener
onParentStateChanged
Methods 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:
getDesigner
in 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:
isLinkCapable
in interfaceIJavaMethodLinkEnabler
- Specified by:
isLinkCapable
in interfaceILinkCapable
- Specified by:
isLinkCapable
in 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:
getLinkOperations
in interfaceIJavaMethodLinkEnabler
- Specified by:
getLinkOperations
in interfaceILinkCapable
- Specified by:
getLinkOperations
in interfaceIUIBuilderFromVSLinkEnabler
- Parameters:
data
- The link data.- Returns:
- The list of operations required.