Modifier and Type | Interface and Description |
---|---|
static class |
IValueProvider.ValueProviderContext
context object for IValueProvider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get_IsReadOnly()
Indicates whether the value of a control is read-only.
|
java.lang.String |
get_Value()
The value of the control.
|
void |
SetValue(java.lang.String value)
Sets the value of control.
|
initialize
boolean get_IsReadOnly()
A control should have its IsEnabled property (UIA_IsEnabledPropertyId) set to TRUE and its IValueProvider::IsReadOnly property set to FALSE before allowing a call to IValueProvider::SetValue.
java.lang.String get_Value()
Single-line edit controls support programmatic access to their contents by implementing IValueProvider (in addition to ITextProvider). However, multi-line edit controls do not implement IValueProvider. To retrieve the textual contents of multi-line edit controls, the controls must implement ITextProvider. However, ITextProvider does not support setting the value of a control. IValueProvider does not support the retrieval of formatting information or substring values. Implement ITextProvider in these scenarios.
void SetValue(java.lang.String value)
Single-line edit controls support programmatic access to their contents by implementing IValueProvider. However, multi-line edit controls do not implement IValueProvider; instead they provide access to their content by implementing ITextProvider. Controls such as ListItem and TreeItem must implement IValueProvider if the value of any of the items is editable, regardless of the current edit mode of the control. The parent control must also implement IValueProvider if the child items are editable.
value
- the value