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=9.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=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: WindowsBasestatic java.lang.String
className
Qualified class name: System.ComponentModel.DependencyPropertyDescriptorstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DependencyPropertyDescriptor()
DependencyPropertyDescriptor(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.componentmodel.PropertyDescriptor
GetChildProperties, GetChildProperties, GetChildProperties, getComponentType, getConverter, getConverterFromRegisteredType, 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=9.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
-
-
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(JCObject instance)
- Overrides:
setJCOInstance
in classPropertyDescriptor
-
getJCOType
public 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, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Overrides:
CanResetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
ShouldSerializeValue
public boolean ShouldSerializeValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Overrides:
ShouldSerializeValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
FromName
public static DependencyPropertyDescriptor FromName(java.lang.String name, NetType ownerType, NetType targetType, boolean ignorePropertyType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException
-
FromName
public static DependencyPropertyDescriptor FromName(java.lang.String name, NetType ownerType, NetType targetType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException
-
FromProperty
public static DependencyPropertyDescriptor FromProperty(PropertyDescriptor property) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
FromProperty
public static DependencyPropertyDescriptor FromProperty(DependencyProperty dependencyProperty, NetType targetType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException
-
GetChildProperties
public PropertyDescriptorCollection GetChildProperties(NetObject instance, Attribute[] filter) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Overrides:
GetChildProperties
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
GetEditor
public NetObject GetEditor(NetType editorBaseType) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException
- Overrides:
GetEditor
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
MissingMethodException
TargetInvocationException
-
GetValue
public NetObject GetValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Overrides:
GetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
AddValueChanged
public void AddValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, MissingMemberException, MulticastNotSupportedException
- Overrides:
AddValueChanged
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
MissingMethodException
TargetInvocationException
MissingMemberException
MulticastNotSupportedException
-
RemoveValueChanged
public void RemoveValueChanged(NetObject component, EventHandler handler) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, MissingMethodException, TargetInvocationException, MissingMemberException
- Overrides:
RemoveValueChanged
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
MissingMethodException
TargetInvocationException
MissingMemberException
-
ResetValue
public void ResetValue(NetObject component) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Overrides:
ResetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
SetValue
public void SetValue(NetObject component, NetObject value) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException, NotSupportedException, ArgumentException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Overrides:
SetValue
in classPropertyDescriptor
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
KeyNotFoundException
NotSupportedException
ArgumentException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
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, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getDependencyProperty
public DependencyProperty getDependencyProperty() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMetadata
public PropertyMetadata getMetadata() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-