public class ITextRangeProviderImplementation extends NetObject implements ITextRangeProvider
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Automation.Provider.ITextRangeProvider
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: UIAutomationTypes, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: UIAutomationTypes
|
static java.lang.String |
className
Qualified class name: System.Windows.Automation.Provider.ITextRangeProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ITextRangeProviderImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddToSelection()
Invokes the .NET member AddToSelection.
|
ITextRangeProvider |
Clone()
Invokes the .NET member Clone.
|
boolean |
Compare(ITextRangeProvider range)
Invokes the .NET member Compare.
|
int |
CompareEndpoints(TextPatternRangeEndpoint endpoint,
ITextRangeProvider targetRange,
TextPatternRangeEndpoint targetEndpoint)
Invokes the .NET member CompareEndpoints.
|
void |
ExpandToEnclosingUnit(TextUnit unit)
Invokes the .NET member ExpandToEnclosingUnit.
|
ITextRangeProvider |
FindAttribute(int attribute,
NetObject value,
boolean backward)
Invokes the .NET member FindAttribute.
|
ITextRangeProvider |
FindText(java.lang.String text,
boolean backward,
boolean ignoreCase)
Invokes the .NET member FindText.
|
NetObject |
GetAttributeValue(int attribute)
Invokes the .NET member GetAttributeValue.
|
double[] |
GetBoundingRectangles()
Invokes the .NET member GetBoundingRectangles.
|
IRawElementProviderSimple[] |
GetChildren()
Invokes the .NET member GetChildren.
|
IRawElementProviderSimple |
GetEnclosingElement()
Invokes the .NET member GetEnclosingElement.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
GetText(int maxLength)
Invokes the .NET member GetText.
|
int |
Move(TextUnit unit,
int count)
Invokes the .NET member Move.
|
void |
MoveEndpointByRange(TextPatternRangeEndpoint endpoint,
ITextRangeProvider targetRange,
TextPatternRangeEndpoint targetEndpoint)
Invokes the .NET member MoveEndpointByRange.
|
int |
MoveEndpointByUnit(TextPatternRangeEndpoint endpoint,
TextUnit unit,
int count)
Invokes the .NET member MoveEndpointByUnit.
|
void |
RemoveFromSelection()
Invokes the .NET member RemoveFromSelection.
|
void |
ScrollIntoView(boolean alignToTop)
Invokes the .NET member ScrollIntoView.
|
void |
Select()
Invokes the .NET member Select.
|
static ITextRangeProvider |
ToITextRangeProvider(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ITextRangeProvider, a cast assert is made to check if types are compatible. |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ITextRangeProviderImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void AddToSelection()
throws java.lang.Throwable
AddToSelection in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ITextRangeProvider Clone() throws java.lang.Throwable
Clone in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Compare(ITextRangeProvider range) throws java.lang.Throwable
Compare in interface ITextRangeProviderrange - the argument of type ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int CompareEndpoints(TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint) throws java.lang.Throwable
CompareEndpoints in interface ITextRangeProviderendpoint - the argument of type TextPatternRangeEndpointtargetRange - the argument of type ITextRangeProvidertargetEndpoint - the argument of type TextPatternRangeEndpointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ExpandToEnclosingUnit(TextUnit unit) throws java.lang.Throwable
ExpandToEnclosingUnit in interface ITextRangeProviderunit - the argument of type TextUnitjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ITextRangeProvider FindAttribute(int attribute, NetObject value, boolean backward) throws java.lang.Throwable
FindAttribute in interface ITextRangeProviderattribute - the argument of type intvalue - the argument of type NetObjectbackward - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ITextRangeProvider FindText(java.lang.String text, boolean backward, boolean ignoreCase) throws java.lang.Throwable
FindText in interface ITextRangeProvidertext - the argument of type java.lang.Stringbackward - the argument of type booleanignoreCase - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetAttributeValue(int attribute) throws java.lang.Throwable
GetAttributeValue in interface ITextRangeProviderattribute - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double[] GetBoundingRectangles()
throws java.lang.Throwable
GetBoundingRectangles in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IRawElementProviderSimple[] GetChildren() throws java.lang.Throwable
GetChildren in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IRawElementProviderSimple GetEnclosingElement() throws java.lang.Throwable
GetEnclosingElement in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ITextRangeProvidergetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ITextRangeProvidergetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ITextRangeProvidergetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ITextRangeProvidergetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface ITextRangeProvidergetJCOType in class NetObjectpublic java.lang.String GetText(int maxLength)
throws java.lang.Throwable
GetText in interface ITextRangeProvidermaxLength - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int Move(TextUnit unit, int count) throws java.lang.Throwable
Move in interface ITextRangeProviderunit - the argument of type TextUnitcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint) throws java.lang.Throwable
MoveEndpointByRange in interface ITextRangeProviderendpoint - the argument of type TextPatternRangeEndpointtargetRange - the argument of type ITextRangeProvidertargetEndpoint - the argument of type TextPatternRangeEndpointjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int MoveEndpointByUnit(TextPatternRangeEndpoint endpoint, TextUnit unit, int count) throws java.lang.Throwable
MoveEndpointByUnit in interface ITextRangeProviderendpoint - the argument of type TextPatternRangeEndpointunit - the argument of type TextUnitcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveFromSelection()
throws java.lang.Throwable
RemoveFromSelection in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ScrollIntoView(boolean alignToTop)
throws java.lang.Throwable
ScrollIntoView in interface ITextRangeProvideralignToTop - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Select()
throws java.lang.Throwable
Select in interface ITextRangeProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ITextRangeProvider ToITextRangeProvider(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ITextRangeProvider, a cast assert is made to check if types are compatible.ToITextRangeProvider in interface ITextRangeProviderfrom - IJCOBridgeReflected instance to be castedITextRangeProvider instancejava.lang.Throwable - in case of error during cast operation