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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.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.PropertyDescriptorstatic JCTypeclassTypeThe 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, 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.PropertyDescriptor- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classMemberDescriptor- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classMemberDescriptor- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classMemberDescriptor- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classMemberDescriptor- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classMemberDescriptor
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classMemberDescriptor- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PropertyDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPropertyDescriptor, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PropertyDescriptorinstance- 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, ArgumentException, InvalidOperationException, SecurityException, ObjectDisposedException, ArgumentOutOfRangeException, NotSupportedException, MissingManifestResourceException, IndexOutOfRangeException, FormatException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(Attribute[] filter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SecurityException, ObjectDisposedException, ArgumentOutOfRangeException, NotSupportedException, MissingManifestResourceException, IndexOutOfRangeException, FormatException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(NetObject instance) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SecurityException, ObjectDisposedException, ArgumentOutOfRangeException, NotSupportedException, MissingManifestResourceException, IndexOutOfRangeException, FormatException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(NetObject instance, Attribute[] filter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, NotSupportedException, MissingManifestResourceException, NotImplementedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionNotSupportedExceptionMissingManifestResourceExceptionNotImplementedExceptionIndexOutOfRangeException
-
GetEditor
public NetObject GetEditor(NetType editorBaseType) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, TypeLoadException, NotImplementedException, NullReferenceException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SecurityException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionTypeLoadExceptionNotImplementedExceptionNullReferenceExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionSecurityException
-
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, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException, ObjectDisposedException, AbandonedMutexException, MulticastNotSupportedException
-
RemoveValueChanged
public void RemoveValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, MissingMethodException, TargetInvocationException, FormatException
-
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, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, SecurityException
-
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, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, SecurityException
-
getConverter
public TypeConverter getConverter() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, SecurityException, NotImplementedException, NullReferenceException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionSecurityExceptionNotImplementedExceptionNullReferenceExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionNotSupportedException
-
getComponentType
public NetType getComponentType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPropertyType
public NetType getPropertyType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-