Package system.windows.automation.peers
Class AutomationPeer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.automation.peers.AutomationPeer
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
ContentElementAutomationPeer
,DataGridCellItemAutomationPeer
,DateTimeAutomationPeer
,ItemAutomationPeer
,UIElement3DAutomationPeer
,UIElementAutomationPeer
public class AutomationPeer extends DispatcherObject
The base .NET class managing System.Windows.Automation.Peers.AutomationPeer, PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Automation.Peers.AutomationPeer
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationCorestatic java.lang.String
className
Qualified class name: System.Windows.Automation.Peers.AutomationPeerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AutomationPeer()
AutomationPeer(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Automation.Peers.AutomationPeer- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDispatcherObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDispatcherObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDispatcherObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDispatcherObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDispatcherObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDispatcherObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static AutomationPeer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoAutomationPeer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
AutomationPeer
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
HasKeyboardFocus
public boolean HasKeyboardFocus() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsContentElement
public boolean IsContentElement() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsControlElement
public boolean IsControlElement() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsDialog
public boolean IsDialog() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsEnabled
public boolean IsEnabled() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsKeyboardFocusable
public boolean IsKeyboardFocusable() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsOffscreen
public boolean IsOffscreen() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsPassword
public boolean IsPassword() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
IsRequiredForForm
public boolean IsRequiredForForm() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
ListenerExists
public static boolean ListenerExists(AutomationEvents eventId) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
GetPositionInSet
public int GetPositionInSet() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetSizeOfSet
public int GetSizeOfSet() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetPattern
public NetObject GetPattern(PatternInterface patternInterface) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetAcceleratorKey
public java.lang.String GetAcceleratorKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetAccessKey
public java.lang.String GetAccessKey() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetAutomationId
public java.lang.String GetAutomationId() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetClassName
public java.lang.String GetClassName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetHelpText
public java.lang.String GetHelpText() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetItemStatus
public java.lang.String GetItemStatus() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetItemType
public java.lang.String GetItemType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetLocalizedControlType
public java.lang.String GetLocalizedControlType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException
-
GetName
public java.lang.String GetName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetHeadingLevel
public AutomationHeadingLevel GetHeadingLevel() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetLiveSetting
public AutomationLiveSetting GetLiveSetting() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetAutomationControlType
public AutomationControlType GetAutomationControlType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetOrientation
public AutomationOrientation GetOrientation() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetLabeledBy
public AutomationPeer GetLabeledBy() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetParent
public AutomationPeer GetParent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPeerFromPoint
public AutomationPeer GetPeerFromPoint(Point point) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
GetClickablePoint
public Point GetClickablePoint() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
GetBoundingRectangle
public Rect GetBoundingRectangle() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
InvalidatePeer
public void InvalidatePeer() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, InvalidOperationException, RankException, ArrayTypeMismatchException, Win32Exception, InvalidCastException, NullReferenceException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
ArgumentNullException
InvalidOperationException
RankException
ArrayTypeMismatchException
Win32Exception
InvalidCastException
NullReferenceException
NotSupportedException
MulticastNotSupportedException
-
RaiseAsyncContentLoadedEvent
public void RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs args) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
IOException
UnauthorizedAccessException
-
RaiseAutomationEvent
public void RaiseAutomationEvent(AutomationEvents eventId) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
MulticastNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
IOException
UnauthorizedAccessException
-
RaiseNotificationEvent
public void RaiseNotificationEvent(AutomationNotificationKind notificationKind, AutomationNotificationProcessing notificationProcessing, java.lang.String displayString, java.lang.String activityId) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
MulticastNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
IOException
UnauthorizedAccessException
-
RaisePropertyChangedEvent
public void RaisePropertyChangedEvent(AutomationProperty property, NetObject oldValue, NetObject newValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
MulticastNotSupportedException
OutOfMemoryException
IndexOutOfRangeException
ObjectDisposedException
SecurityException
IOException
UnauthorizedAccessException
-
ResetChildrenCache
public void ResetChildrenCache() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OutOfMemoryException
-
SetFocus
public void SetFocus() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getEventsSource
public AutomationPeer getEventsSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEventsSource
public void setEventsSource(AutomationPeer EventsSource) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-