public class MenuItemAutomationPeer extends FrameworkElementAutomationPeer
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Automation.Peers.MenuItemAutomationPeer
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: PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Automation.Peers.MenuItemAutomationPeer
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MenuItemAutomationPeer() |
MenuItemAutomationPeer(MenuItem owner) |
MenuItemAutomationPeer(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MenuItemAutomationPeer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into MenuItemAutomationPeer, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
NetObject |
GetPattern(PatternInterface patternInterface) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
CreatePeerForElement, FromElement, getOwnerGetAcceleratorKey, GetAccessKey, GetAutomationControlType, GetAutomationId, GetBoundingRectangle, GetChildren, GetClassName, GetClickablePoint, GetControlledPeers, getEventsSource, GetHeadingLevel, GetHelpText, GetItemStatus, GetItemType, GetLabeledBy, GetLiveSetting, GetLocalizedControlType, GetName, GetOrientation, GetParent, GetPeerFromPoint, GetPositionInSet, GetSizeOfSet, HasKeyboardFocus, InvalidatePeer, IsContentElement, IsControlElement, IsDialog, IsEnabled, IsKeyboardFocusable, IsOffscreen, IsPassword, IsRequiredForForm, ListenerExists, RaiseAsyncContentLoadedEvent, RaiseAutomationEvent, RaiseNotificationEvent, RaisePropertyChangedEvent, ResetChildrenCache, setEventsSource, SetFocusCheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic MenuItemAutomationPeer()
throws java.lang.Throwable
java.lang.Throwablepublic MenuItemAutomationPeer(MenuItem owner) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException
public MenuItemAutomationPeer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static MenuItemAutomationPeer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MenuItemAutomationPeer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMenuItemAutomationPeer instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class FrameworkElementAutomationPeerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class FrameworkElementAutomationPeerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class FrameworkElementAutomationPeerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class FrameworkElementAutomationPeerString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class FrameworkElementAutomationPeerJCType representing the CLR Type of the instantiated Classpublic NetObject GetPattern(PatternInterface patternInterface) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, FormatException
GetPattern in class UIElementAutomationPeerjava.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class FrameworkElementAutomationPeer