Package system.componentmodel
Class DependencyPropertyDescriptor
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.MemberDescriptor
-
- system.componentmodel.PropertyDescriptor
-
- system.componentmodel.DependencyPropertyDescriptor
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DependencyPropertyDescriptor extends PropertyDescriptor
The base .NET class managing System.ComponentModel.DependencyPropertyDescriptor, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.DependencyPropertyDescriptor
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: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: WindowsBasestatic java.lang.String
className
Qualified class name: System.ComponentModel.DependencyPropertyDescriptorstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DependencyPropertyDescriptor()
DependencyPropertyDescriptor(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AddValueChanged(NetObject component, EventHandler handler)
boolean
CanResetValue(NetObject component)
static DependencyPropertyDescriptor
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDependencyPropertyDescriptor
, a cast assert is made to check if types are compatible.static DependencyPropertyDescriptor
FromName(java.lang.String name, NetType ownerType, NetType targetType)
static DependencyPropertyDescriptor
FromName(java.lang.String name, NetType ownerType, NetType targetType, boolean ignorePropertyType)
static DependencyPropertyDescriptor
FromProperty(PropertyDescriptor property)
static DependencyPropertyDescriptor
FromProperty(DependencyProperty dependencyProperty, NetType targetType)
PropertyDescriptorCollection
GetChildProperties(NetObject instance, Attribute[] filter)
DependencyProperty
getDependencyProperty()
CoerceValueCallback
getDesignerCoerceValueCallback()
NetObject
GetEditor(NetType editorBaseType)
boolean
getIsAttached()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypePropertyMetadata
getMetadata()
NetObject
GetValue(NetObject component)
void
RemoveValueChanged(NetObject component, EventHandler handler)
void
ResetValue(NetObject component)
void
setDesignerCoerceValueCallback(CoerceValueCallback DesignerCoerceValueCallback)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
SetValue(NetObject component, NetObject value)
boolean
ShouldSerializeValue(NetObject component)
-
Methods inherited from class system.componentmodel.PropertyDescriptor
GetChildProperties, GetChildProperties, GetChildProperties, getComponentType, getConverter, getIsLocalizable, getIsReadOnly, getPropertyType, getSerializationVisibility, getSupportsChangeEvents
-
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: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: WindowsBase- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.DependencyPropertyDescriptor- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
DependencyPropertyDescriptor
public DependencyPropertyDescriptor(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
DependencyPropertyDescriptor
public DependencyPropertyDescriptor() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
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 classPropertyDescriptor
- 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 classPropertyDescriptor
- 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 classPropertyDescriptor
- 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 classPropertyDescriptor
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classPropertyDescriptor
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classPropertyDescriptor
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DependencyPropertyDescriptor cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDependencyPropertyDescriptor
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DependencyPropertyDescriptor
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CanResetValue
public boolean CanResetValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
CanResetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
ShouldSerializeValue
public boolean ShouldSerializeValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
ShouldSerializeValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
FromName
public static DependencyPropertyDescriptor FromName(java.lang.String name, NetType ownerType, NetType targetType) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, SecurityException, IndexOutOfRangeException
-
FromName
public static DependencyPropertyDescriptor FromName(java.lang.String name, NetType ownerType, NetType targetType, boolean ignorePropertyType) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, ArgumentException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
FromProperty
public static DependencyPropertyDescriptor FromProperty(PropertyDescriptor property) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, SecurityException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException
-
FromProperty
public static DependencyPropertyDescriptor FromProperty(DependencyProperty dependencyProperty, NetType targetType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, FormatException, SecurityException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(NetObject instance, Attribute[] filter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
GetChildProperties
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
GetEditor
public NetObject GetEditor(NetType editorBaseType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException, NotImplementedException
- Overrides:
GetEditor
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
NotImplementedException
-
GetValue
public NetObject GetValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
GetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
AddValueChanged
public void AddValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException, MulticastNotSupportedException
- Overrides:
AddValueChanged
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
MulticastNotSupportedException
-
RemoveValueChanged
public void RemoveValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
RemoveValueChanged
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
ResetValue
public void ResetValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
ResetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
SetValue
public void SetValue(NetObject component, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, SecurityException, MissingMethodException, TargetInvocationException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NullReferenceException, MissingManifestResourceException
- Overrides:
SetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
SecurityException
MissingMethodException
TargetInvocationException
ObjectDisposedException
AbandonedMutexException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NullReferenceException
MissingManifestResourceException
-
getIsAttached
public boolean getIsAttached() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDesignerCoerceValueCallback
public CoerceValueCallback getDesignerCoerceValueCallback() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDesignerCoerceValueCallback
public void setDesignerCoerceValueCallback(CoerceValueCallback DesignerCoerceValueCallback) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
getDependencyProperty
public DependencyProperty getDependencyProperty() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMetadata
public PropertyMetadata getMetadata() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-