public class PropertyDescriptor extends MemberDescriptor
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.PropertyDescriptor
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: System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.TypeConverter
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.PropertyDescriptor
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PropertyDescriptor() |
PropertyDescriptor(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddValueChanged(NetObject component,
EventHandler handler)
Invokes the .NET member AddValueChanged.
|
boolean |
CanResetValue(NetObject component)
Invokes the .NET member CanResetValue.
|
static PropertyDescriptor |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PropertyDescriptor, a cast assert is made to check if types are compatible. |
PropertyDescriptorCollection |
GetChildProperties()
Invokes the .NET member GetChildProperties.
|
PropertyDescriptorCollection |
GetChildProperties(Attribute[] filter)
Invokes the .NET member GetChildProperties.
|
PropertyDescriptorCollection |
GetChildProperties(NetObject instance)
Invokes the .NET member GetChildProperties.
|
PropertyDescriptorCollection |
GetChildProperties(NetObject instance,
Attribute[] filter)
Invokes the .NET member GetChildProperties.
|
NetType |
getComponentType()
Gets the value of the .NET property ComponentType.
|
TypeConverter |
getConverter()
Gets the value of the .NET property Converter.
|
NetObject |
GetEditor(NetType editorBaseType)
Invokes the .NET member GetEditor.
|
boolean |
getIsLocalizable()
Gets the value of the .NET property IsLocalizable.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
NetType |
getPropertyType()
Gets the value of the .NET property PropertyType.
|
DesignerSerializationVisibility |
getSerializationVisibility()
Gets the value of the .NET property SerializationVisibility.
|
boolean |
getSupportsChangeEvents()
Gets the value of the .NET property SupportsChangeEvents.
|
NetObject |
GetValue(NetObject component)
Invokes the .NET member GetValue.
|
void |
RemoveValueChanged(NetObject component,
EventHandler handler)
Invokes the .NET member RemoveValueChanged.
|
void |
ResetValue(NetObject component)
Invokes the .NET member ResetValue.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetValue(NetObject component,
NetObject value)
Invokes the .NET member SetValue.
|
boolean |
ShouldSerializeValue(NetObject component)
Invokes the .NET member ShouldSerializeValue.
|
getAttributes, getCategory, getDescription, getDesignTimeOnly, getDisplayName, getIsBrowsable, getNamepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PropertyDescriptor()
throws java.lang.Throwable
java.lang.Throwablepublic PropertyDescriptor(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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
component - the argument of type NetObjecthandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itMissingMemberException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic boolean CanResetValue(NetObject component) throws java.lang.Throwable
component - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PropertyDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PropertyDescriptor, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPropertyDescriptor instancejava.lang.Throwable - in case of error during cast operationpublic PropertyDescriptorCollection GetChildProperties() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic PropertyDescriptorCollection GetChildProperties(Attribute[] filter) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException
filter - the argument of type Attribute[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic PropertyDescriptorCollection GetChildProperties(NetObject instance) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException
instance - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic PropertyDescriptorCollection GetChildProperties(NetObject instance, Attribute[] filter) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException
instance - the argument of type NetObjectfilter - the argument of type Attribute[]java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic NetType getComponentType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TypeConverter getConverter() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic NetObject GetEditor(NetType editorBaseType) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, TypeLoadException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ArgumentNullException
editorBaseType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itTypeLoadException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean getIsLocalizable()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MemberDescriptorpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MemberDescriptorpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MemberDescriptornull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MemberDescriptorpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class MemberDescriptorpublic NetType getPropertyType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DesignerSerializationVisibility getSerializationVisibility() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic boolean getSupportsChangeEvents()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetValue(NetObject component) throws java.lang.Throwable
component - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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
component - the argument of type NetObjecthandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itMissingMemberException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void ResetValue(NetObject component) throws java.lang.Throwable
component - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class MemberDescriptorinstance - the new underlying objectpublic void SetValue(NetObject component, NetObject value) throws java.lang.Throwable
component - the argument of type NetObjectvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean ShouldSerializeValue(NetObject component) throws java.lang.Throwable
component - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLR