Package system.componentmodel
Class IComNativeDescriptorHandlerImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.IComNativeDescriptorHandlerImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected,IComNativeDescriptorHandler
public class IComNativeDescriptorHandlerImplementation extends NetObject implements IComNativeDescriptorHandler
The base .NET class managing System.ComponentModel.IComNativeDescriptorHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.IComNativeDescriptorHandler
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.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.ComponentModel.IComNativeDescriptorHandlerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IComNativeDescriptorHandlerImplementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeCollectionGetAttributes(NetObject component)java.lang.StringGetClassName(NetObject component)TypeConverterGetConverter(NetObject component)EventDescriptorGetDefaultEvent(NetObject component)PropertyDescriptorGetDefaultProperty(NetObject component)NetObjectGetEditor(NetObject component, NetType baseEditorType)EventDescriptorCollectionGetEvents(NetObject component)EventDescriptorCollectionGetEvents(NetObject component, Attribute[] attributes)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringGetName(NetObject component)PropertyDescriptorCollectionGetProperties(NetObject component, Attribute[] attributes)NetObjectGetPropertyValue(NetObject component, int dispid, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> success)NetObjectGetPropertyValue(NetObject component, java.lang.String propertyName, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> success)static IComNativeDescriptorHandlerToIComNativeDescriptorHandler(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIComNativeDescriptorHandler, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.IComNativeDescriptorHandler- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIComNativeDescriptorHandler- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIComNativeDescriptorHandler- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIComNativeDescriptorHandler- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIComNativeDescriptorHandler- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIComNativeDescriptorHandler- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIComNativeDescriptorHandler
public static IComNativeDescriptorHandler ToIComNativeDescriptorHandler(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIComNativeDescriptorHandler, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IComNativeDescriptorHandlerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetAttributes
public AttributeCollection GetAttributes(NetObject component) throws java.lang.Throwable
- Specified by:
GetAttributesin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetDefaultEvent
public EventDescriptor GetDefaultEvent(NetObject component) throws java.lang.Throwable
- Specified by:
GetDefaultEventin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetEvents
public EventDescriptorCollection GetEvents(NetObject component) throws java.lang.Throwable
- Specified by:
GetEventsin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetEvents
public EventDescriptorCollection GetEvents(NetObject component, Attribute[] attributes) throws java.lang.Throwable
- Specified by:
GetEventsin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetDefaultProperty
public PropertyDescriptor GetDefaultProperty(NetObject component) throws java.lang.Throwable
- Specified by:
GetDefaultPropertyin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetProperties
public PropertyDescriptorCollection GetProperties(NetObject component, Attribute[] attributes) throws java.lang.Throwable
- Specified by:
GetPropertiesin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetConverter
public TypeConverter GetConverter(NetObject component) throws java.lang.Throwable
- Specified by:
GetConverterin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetEditor
public NetObject GetEditor(NetObject component, NetType baseEditorType) throws java.lang.Throwable
- Specified by:
GetEditorin interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetPropertyValue
public NetObject GetPropertyValue(NetObject component, int dispid, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> success) throws java.lang.Throwable
- Specified by:
GetPropertyValuein interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetPropertyValue
public NetObject GetPropertyValue(NetObject component, java.lang.String propertyName, JCORefOut<java.util.concurrent.atomic.AtomicBoolean> success) throws java.lang.Throwable
- Specified by:
GetPropertyValuein interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetClassName
public java.lang.String GetClassName(NetObject component) throws java.lang.Throwable
- Specified by:
GetClassNamein interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
GetName
public java.lang.String GetName(NetObject component) throws java.lang.Throwable
- Specified by:
GetNamein interfaceIComNativeDescriptorHandler- Throws:
java.lang.Throwable
-
-