Package com.iizix.prop.vs
Interface IVSFieldListener
- All Superinterfaces:
- IVSComponentListener,- IVSComponentState
 - All Known Subinterfaces:
- IContentItem,- IEUIComp,- IEUICompCommon,- IEUIContainer,- IEUIPanel,- IUIAction,- IUIAnimatedSingleIndexedSelectionComp,- IUIBooleanSelectionComp,- IUICellSelectionComp,- IUICheck2Component,- IUICheckComponent,- IUIComp,- IUIContainer,- IUIDateTimeComponent,- IUIDateValueComponent,- IUIDoubleRangeValueComponent,- IUIDoubleValueComponent,- IUIHint,- IUIIndexedSelectionComp,- IUINullableValueComponent,- IUIRadioComponent,- IUISelectionComp,- IUISingleIndexedSelectionComp,- IUITimeValueComponent,- IUITriStateSelectionComp,- IUIValueComponent,- IVSFieldLinkEnabler
 - All Known Implementing Classes:
- AbstractContentUIContainer,- AbstractUIAction,- CalendarEvent,- ECalendarEvent,- EditorInputVariable,- EditorResultProps,- EditorScreenFieldProp,- EMapMarkerProp,- EMapMarkers,- EMLGroup,- EMList,- EMLItemProp,- EMUIHeading,- EMUISimpleDialog,- EMUISwitch,- EMUITabBar,- EUIAccordion,- EUIButton,- EUICalendar,- EUICalendarList,- EUIChart,- EUICheckBox,- EUICheckedMenuItem,- EUIComboBox,- EUIContainer,- EUIContextMenu,- EUIDateTime,- EUIDialog,- EUIEmpty,- EUIGauge,- EUIImage,- EUIImage2,- EUILabel,- EUIMap,- EUIMedia,- EUIMenu,- EUIMenuBar,- EUIMenuItem,- EUIMenuSeparator,- EUIOutput,- EUIPanel,- EUIPanelPart,- EUIPanelPartCnr,- EUIProgress,- EUIRadioButton,- EUIRadioMenuItem,- EUISlider,- EUISpinner,- EUISwapContainer,- EUITabContainer,- EUITable,- EUITableColumn,- EUIText,- EUITextArea,- EUITitlePane,- InputVariable,- MapMarkerProp,- MapMarkers,- MLGroup,- MList,- MLItemProp,- MUIHeading,- MUISimpleDialog,- MUISwitch,- MUITabBar,- ResultProps,- ScreenFieldProp,- UIAbstractListChoice,- UIAccordion,- UIButton,- UICalendar,- UICalendarList,- UIChart,- UICheckBox,- UICheckedMenuItem,- UIComboBox,- UIComp,- UIContainer,- UIContextMenu,- UIDateTime,- UIDialog,- UIEmpty,- UIGauge,- UIImage,- UIImage2,- UILabel,- UIMap,- UIMedia,- UIMenu,- UIMenuBar,- UIMenuItem,- UIMenuSeparator,- UIOutput,- UIPanel,- UIPanelBase,- UIPanelPart,- UIPanelPartCnr,- UIProgress,- UIRadioButton,- UIRadioMenuItem,- UISlider,- UISpinner,- UISwapContainer,- UITabContainer,- UITable,- UITableColumn,- UIText,- UITextArea,- UITitlePane,- ValuePanel,- VSFieldAdapter
 - public interface IVSFieldListener extends IVSComponentListener Interface used to listen to VS field value events.- Author:
- Christopher Mindus
 
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
 
 - Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - Value.Type- getBestVSFieldValueType(VSRelativeReference<?> reference)Requests the value type that would best suit the listener.- void- onBroken(VSRelativeReference<?> reference, VSField field)Called when the property reference has been broken, i.e.- void- onResolved(VSRelativeReference<?> reference, VSField field)Called when the property reference has been resolved.- void- onStateChanged(VSField field, IVSComponentState.State state, boolean on)Called when the field changes state.- void- onValueChanged(VSField field, Value value, GProp<?> trigger, IPostEventProcessing postProcessing)Called when the field value is set.- Methods inherited from interface com.iizix.prop.vs.IVSComponentListener- onParentStateChanged
 
 
- Method Detail- onResolved- void onResolved(VSRelativeReference<?> reference, VSField field) Called when the property reference has been resolved. UI components use this method to set its state according to the field.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- field- The target reference.
 
 - onBroken- void onBroken(VSRelativeReference<?> reference, VSField field) Called when the property reference has been broken, i.e. unresolved.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- field- The target reference.
 
 - onStateChanged- void onStateChanged(VSField field, IVSComponentState.State state, boolean on) Called when the field changes state.- Parameters:
- field- The VS field.
- state- The state change.
- on- New state.
 
 - onValueChanged- void onValueChanged(VSField field, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the field value is set.- Parameters:
- field- The VS field.
- value- The value, never null, but- value.isNull()could be true.
- trigger- The trigger property that may be null.
- postProcessing- Post-processing instance.
 
 - getBestVSFieldValueType- Value.Type getBestVSFieldValueType(VSRelativeReference<?> reference) Requests the value type that would best suit the listener.- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- Returns:
- null if none is available.