Interface IUIFocusComp
- All Superinterfaces:
IFocusComp, IGProp<GProp<?>[]>, IPropCnr
- All Known Implementing Classes:
AbstractContentUIContainer, EMapMarkers, EMLGroup, EMList, EMLItemProp, EMUIHeading, EMUISwitch, EMUITabBar, EUIAccordion, EUIButton, EUICalendar, EUICalendarList, EUICheckBox, EUIComboBox, EUIContainer, EUIContextMenu, EUIDateTime, EUIDialog, EUIFileUpload, EUIFloat, EUIGauge, EUIImage, EUIImage2, EUIMap, EUIMenu, EUIMenuBar, EUIOutput, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUIRadioButton, EUISlider, EUISpinner, EUISwapContainer, EUITabContainer, EUITable, EUIText, EUITextArea, EUIThemeChooser, EUITitlePane, MapMarkers, MLGroup, MList, MLItemProp, MUIHeading, MUISwitch, MUITabBar, UIAbstractListChoice, UIAccordion, UIButton, UICalendar, UICalendarList, UICheckBox, UIComboBox, UIContainer, UIContextMenu, UIDateTime, UIDialog, UIFileUpload, UIFloat, UIGauge, UIImage, UIImage2, UIMap, UIMenu, UIMenuBar, UIOutput, UIPanel, UIPanelBase, UIPanelPart, UIPanelPartCnr, UIRadioButton, UISlider, UISpinner, UISwapContainer, UITabContainer, UITable, UIText, UITextArea, UIThemeChooser, UITitlePane
- Author:
- Christopher Mindus
Field 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, EQC_SAVE_RELEVANT_ONLY, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATEMethod Summary
Modifier and TypeMethodDescriptiondefault voidonFocusGained(IFocusComp opposite, IGProp<?> trigger, boolean isRemoteInduced) Called to the component when it receives focus.default voidonFocusLost(IFocusComp focusComp, IGProp<?> trigger, boolean isRemoteInduced) Called to the focused component when it loses focus.Methods inherited from interface IFocusComp
requestFocus, requestFocus, requestFocusEx, requestFocusExMethods 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 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
Method Details
onFocusLost
Called to the focused component when it loses focus.Focus components override this method if they need to process focus lost.
This method invokes the method
by default so overriding the method must callUIPanelBase.invokeOnUIFocusMethod(boolean, UIComp, UIComp, IGProp)super.onFocusLost(IFocusComp, IGProp, boolean). The method receives the opposite as anUIComp, ornullwhen the focus goes to nothing or to a focus component of another kind: the method is always invoked.- Specified by:
onFocusLostin interfaceIFocusComp- Parameters:
focusComp- Component receiving focus, null for none.trigger- The component triggering the focus, null for none.isRemoteInduced- Flag indicating this event is due to a remote event.
onFocusGained
Called to the component when it receives focus.Focus components override this method if they need to process focus gained.
This method invokes the method
by default so overriding the method must callUIPanelBase.invokeOnUIFocusMethod(boolean, UIComp, UIComp, IGProp)super.onFocusGained(IFocusComp, IGProp, boolean). The method receives the opposite as anUIComp, ornullwhen the focus comes from nothing or from a focus component of another kind: the method is always invoked.Note: every focus component of this package extends
UIComp, whose own publicUIComp.onFocusGained(IFocusComp, IGProp, boolean)hides this default (a class method wins over an interface default); it does the same as this default.- Specified by:
onFocusGainedin interfaceIFocusComp- Parameters:
opposite- Component losing focus, null for none.trigger- The component triggering the focus, null for none.isRemoteInduced- Flag indicating this event is due to a remote event.