Package system.windows.data
Class RelativeSource
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.markup.MarkupExtension
-
- system.windows.data.RelativeSource
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISupportInitialize
public class RelativeSource extends MarkupExtension implements ISupportInitialize
The base .NET class managing System.Windows.Data.RelativeSource, PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Data.RelativeSource
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static String
assemblyShortName
Assembly name: PresentationFrameworkstatic String
className
Qualified class name: System.Windows.Data.RelativeSourcestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RelativeSource()
RelativeSource(Object instance)
Internal constructor.RelativeSource(RelativeSourceMode mode)
RelativeSource(RelativeSourceMode mode, NetType ancestorType, int ancestorLevel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
BeginInit()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.static RelativeSource
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRelativeSource
, a cast assert is made to check if types are compatible.void
EndInit()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.int
getAncestorLevel()
NetType
getAncestorType()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeRelativeSourceMode
getMode()
static RelativeSource
getPreviousData()
static RelativeSource
getSelf()
static RelativeSource
getTemplatedParent()
NetObject
ProvideValue(IServiceProvider serviceProvider)
void
setAncestorLevel(int AncestorLevel)
void
setAncestorType(NetType AncestorType)
void
setJCOInstance(JCObject instance)
void
setMode(RelativeSourceMode Mode)
boolean
ShouldSerializeAncestorLevel()
boolean
ShouldSerializeAncestorType()
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.Data.RelativeSource- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelativeSource
public RelativeSource(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
RelativeSource
public RelativeSource(RelativeSourceMode mode, NetType ancestorType, int ancestorLevel) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException
-
RelativeSource
public RelativeSource(RelativeSourceMode mode) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISupportInitialize
- Overrides:
getJCOAssemblyName
in classMarkupExtension
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISupportInitialize
- Overrides:
getJCOClassName
in classMarkupExtension
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISupportInitialize
- Overrides:
getJCOObjectName
in classMarkupExtension
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISupportInitialize
- Overrides:
getJCOInstance
in classMarkupExtension
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarkupExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISupportInitialize
- Overrides:
getJCOType
in classMarkupExtension
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static RelativeSource cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoRelativeSource
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
RelativeSource
instance- Throws:
Throwable
- in case of error during cast operation
-
ShouldSerializeAncestorLevel
public boolean ShouldSerializeAncestorLevel() throws Throwable
- Throws:
Throwable
-
ShouldSerializeAncestorType
public boolean ShouldSerializeAncestorType() throws Throwable
- Throws:
Throwable
-
ProvideValue
public NetObject ProvideValue(IServiceProvider serviceProvider) throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, CultureNotFoundException, PlatformNotSupportedException
-
BeginInit
@Deprecated public void BeginInit() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToISupportInitialize method available in ISupportInitialize to obtain an object with an invocable method- Specified by:
BeginInit
in interfaceISupportInitialize
- Throws:
Throwable
-
EndInit
@Deprecated public void EndInit() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToISupportInitialize method available in ISupportInitialize to obtain an object with an invocable method- Specified by:
EndInit
in interfaceISupportInitialize
- Throws:
Throwable
-
setAncestorLevel
public void setAncestorLevel(int AncestorLevel) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, InvalidOperationException
-
setAncestorType
public void setAncestorType(NetType AncestorType) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException, ArgumentOutOfRangeException
-
getPreviousData
public static RelativeSource getPreviousData() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException
-
getSelf
public static RelativeSource getSelf() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException
-
getTemplatedParent
public static RelativeSource getTemplatedParent() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException
-
getMode
public RelativeSourceMode getMode() throws Throwable
- Throws:
Throwable
-
setMode
public void setMode(RelativeSourceMode Mode) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ExternalException
-
-