Package com.iizix.prop.ui
Interface IUIContextMenuOwner
- All Known Implementing Classes:
AbstractContentUIContainer,EMapMarkers,EMLGroup,EMList,EMLItemProp,EMUIHeading,EMUISimpleDialog,EMUITabBar,EUIAccordion,EUIButton,EUICalendar,EUICalendarList,EUIChart,EUICheckBox,EUIComboBox,EUIContainer,EUIContextMenu,EUIDialog,EUIGauge,EUIImage,EUIImage2,EUILabel,EUIMap,EUIMedia,EUIMenu,EUIMenuBar,EUIOutput,EUIPanel,EUIPanelPart,EUIPanelPartCnr,EUIProgress,EUIRadioButton,EUISlider,EUISpinner,EUISwapContainer,EUITabContainer,EUITable,EUIText,EUITextArea,EUITitlePane,MapMarkers,MLGroup,MList,MLItemProp,MUIHeading,MUISimpleDialog,MUITabBar,UIAbstractListChoice,UIAccordion,UIButton,UICalendar,UICalendarList,UIChart,UICheckBox,UIComboBox,UIContainer,UIContextMenu,UIDialog,UIGauge,UIImage,UIImage2,UILabel,UIMap,UIMedia,UIMenu,UIMenuBar,UIOutput,UIPanel,UIPanelBase,UIPanelPart,UIPanelPartCnr,UIProgress,UIRadioButton,UISlider,UISpinner,UISwapContainer,UITabContainer,UITable,UIText,UITextArea,UITitlePane
public interface IUIContextMenuOwner extends IPropCnr
Interface that can be implemented by an owner of a context menu in order to be notified upon reference resolving.- Author:
- Christopher Mindus
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_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UIContextMenugetContainedContextMenu()Gets the component-contained context menu instance of this component.default UIContextMenugetContextMenu()Gets the context menu of this component.default UIContextMenugetReferencedContextMenu()Gets the referenced context menu instance of this component.default booleanisContextMenuSupported()Returns if the context menu is supported for this component or not.booleanisMobileContextMenuSupported()Returns if the component can show the context menu in mobile mode.default voidonBroken(UIContextMenu contextMenu)Context menu reference has been broken.default voidonResolved(UIContextMenu contextMenu)Context menu reference has been resolved.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, getReferences, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, 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, 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, verifyHasPropertyItem, warning, warning, warning
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, isSibling, 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
Method Detail
onResolved
default void onResolved(UIContextMenu contextMenu)
Context menu reference has been resolved.- Parameters:
contextMenu- The context menu instance.
onBroken
default void onBroken(UIContextMenu contextMenu)
Context menu reference has been broken.- Parameters:
contextMenu- The context menu instance.
getContextMenu
default UIContextMenu getContextMenu()
Gets the context menu of this component. It can be a shared instance through a reference or a component-contained instance.- Returns:
- The context menu instance, or null for none.
getContainedContextMenu
default UIContextMenu getContainedContextMenu()
Gets the component-contained context menu instance of this component.- Returns:
- The context menu instance, or null for none.
getReferencedContextMenu
default UIContextMenu getReferencedContextMenu()
Gets the referenced context menu instance of this component.- Returns:
- The context menu instance, or null for none.
isContextMenuSupported
default boolean isContextMenuSupported()
Returns if the context menu is supported for this component or not.- Returns:
- true for support (default), or false if not supported.
isMobileContextMenuSupported
boolean isMobileContextMenuSupported()
Returns if the component can show the context menu in mobile mode.- Returns:
- true for mobile support, false for desktop only.