Package system.componentmodel
Class PropertyDescriptor
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.MemberDescriptor
-
- system.componentmodel.PropertyDescriptor
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
DependencyPropertyDescriptor
public class PropertyDescriptor extends MemberDescriptor
The base .NET class managing System.ComponentModel.PropertyDescriptor, System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.PropertyDescriptor
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: System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.ComponentModel.TypeConverterstatic java.lang.String
className
Qualified class name: System.ComponentModel.PropertyDescriptorstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description PropertyDescriptor()
PropertyDescriptor(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.componentmodel.MemberDescriptor
getAttributes, getCategory, getDescription, getDesignTimeOnly, getDisplayName, getIsBrowsable, getName
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ComponentModel.TypeConverter- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.PropertyDescriptor- 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 classMemberDescriptor
- 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 classMemberDescriptor
- 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 classMemberDescriptor
- 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 classMemberDescriptor
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMemberDescriptor
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classMemberDescriptor
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PropertyDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPropertyDescriptor
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PropertyDescriptor
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CanResetValue
public boolean CanResetValue(NetObject component) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ShouldSerializeValue
public boolean ShouldSerializeValue(NetObject component) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(Attribute[] filter) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(NetObject instance, Attribute[] filter) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(NetObject instance) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException
-
GetEditor
public NetObject GetEditor(NetType editorBaseType) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
TypeLoadException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ArgumentNullException
-
GetValue
public NetObject GetValue(NetObject component) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AddValueChanged
public void AddValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, MissingMemberException, IndexOutOfRangeException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
MissingMemberException
IndexOutOfRangeException
MulticastNotSupportedException
-
RemoveValueChanged
public void RemoveValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, MissingMemberException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
MissingMemberException
IndexOutOfRangeException
-
ResetValue
public void ResetValue(NetObject component) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SetValue
public void SetValue(NetObject component, NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsLocalizable
public boolean getIsLocalizable() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsChangeEvents
public boolean getSupportsChangeEvents() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSerializationVisibility
public DesignerSerializationVisibility getSerializationVisibility() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
getConverter
public TypeConverter getConverter() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
KeyNotFoundException
-
getComponentType
public NetType getComponentType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPropertyType
public NetType getPropertyType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-