public interface IMultipleViewProvider extends IInitable
Implemented on a Microsoft UI Automation provider that must support the MultipleView control pattern.
Modifier and Type | Interface and Description |
---|---|
static class |
IMultipleViewProvider.MultipleViewProviderContext
context object for IMultipleViewProvider.
|
Modifier and Type | Method and Description |
---|---|
int |
get_CurrentView()
Identifies the current view that the control is using to display information or child controls.
|
int[] |
GetSupportedViews()
Retrieves a collection of control-specific view identifiers.
|
java.lang.String |
GetViewName(int viewId)
Retrieves the name of a control-specific view.
|
void |
SetCurrentView(int viewId)
Sets the current control-specific view.
|
initialize
int get_CurrentView()
The collection of view identifiers must be identical for all instances of a control.
int[] GetSupportedViews()
An empty array is returned by UIAutoCore.dll if the provider does not supply any view identifiers. The collection of view identifiers must be identical for all instances of a control. View identifier values can be passed to IMultipleViewProvider::GetViewName.
java.lang.String GetViewName(int viewId)
View identifiers can be retrieved by using IMultipleViewProvider::GetSupportedViews. The collection of view identifiers must be identical for all instances of a control. View names must be suitable for use in text-to-speech, Braille, and other accessible applications.
viewId
- A view identifier.void SetCurrentView(int viewId)
View identifiers can be retrieved by using IMultipleViewProvider::GetSupportedViews. The collection of view identifiers must be identical for all instances of a control.
viewId
- A view identifier.