public class ResourceDictionary extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.ResourceDictionary
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: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.ResourceDictionary
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ResourceDictionary()
Initializes a new instance by invoking the .NET constructor.
|
ResourceDictionary(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(NetObject key,
NetObject value)
Invokes the .NET member Add.
|
void |
BeginInit()
Invokes the .NET member BeginInit.
|
static ResourceDictionary |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ResourceDictionary, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(NetObject key)
Invokes the .NET member Contains.
|
void |
CopyTo(DictionaryEntry[] array,
int arrayIndex)
Invokes the .NET member CopyTo.
|
void |
EndInit()
Invokes the .NET member EndInit.
|
NetObject |
FindName(java.lang.String name)
Invokes the .NET member FindName.
|
int |
getCount()
Gets the value of the .NET property Count.
|
DeferrableContent |
getDeferrableContent()
Gets the value of the .NET property DeferrableContent.
|
boolean |
getInvalidatesImplicitDataTemplateResources()
Gets the value of the .NET property InvalidatesImplicitDataTemplateResources.
|
boolean |
getIsFixedSize()
Gets the value of the .NET property IsFixedSize.
|
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. |
ICollection |
getKeys()
Gets the value of the .NET property Keys.
|
Collection_1 |
getMergedDictionaries()
Gets the value of the .NET property MergedDictionaries.
|
Uri |
getSource()
Gets the value of the .NET property Source.
|
ICollection |
getValues()
Gets the value of the .NET property Values.
|
void |
RegisterName(java.lang.String name,
NetObject scopedElement)
Invokes the .NET member RegisterName.
|
void |
Remove(NetObject key)
Invokes the .NET member Remove.
|
void |
setDeferrableContent(DeferrableContent DeferrableContent)
Sets the value of the .NET property DeferrableContent.
|
void |
setInvalidatesImplicitDataTemplateResources(boolean InvalidatesImplicitDataTemplateResources)
Sets the value of the .NET property InvalidatesImplicitDataTemplateResources.
|
void |
setIsReadOnly(boolean IsReadOnly)
Sets the value of the .NET property IsReadOnly.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setSource(Uri Source)
Sets the value of the .NET property Source.
|
void |
UnregisterName(java.lang.String name)
Invokes the .NET member UnregisterName.
|
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ResourceDictionary()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
FormatException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic ResourceDictionary(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 Add(NetObject key, NetObject value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, RankException, FormatException, InvalidCastException, InvalidEnumArgumentException
key - the argument of type NetObjectvalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void BeginInit()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static ResourceDictionary cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ResourceDictionary, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedResourceDictionary instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
InvalidCastException,
InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic boolean Contains(NetObject key) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException
key - the argument of type NetObjectjava.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 itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void CopyTo(DictionaryEntry[] array, int arrayIndex) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, XamlParseException, XamlException, NotImplementedException, KeyNotFoundException, IOException, XamlParseException
array - the argument of type DictionaryEntry[]arrayIndex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXamlParseException - if the .NET member raises itXamlException - if the .NET member raises itNotImplementedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itIOException - if the .NET member raises itXamlParseException - if the .NET member raises itpublic void EndInit()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
MulticastNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic NetObject FindName(java.lang.String name) throws java.lang.Throwable
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DeferrableContent getDeferrableContent() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getInvalidatesImplicitDataTemplateResources()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsFixedSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic ICollection getKeys() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Collection_1 getMergedDictionaries() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, IndexOutOfRangeException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, SecurityException, InvalidOperationException, ArrayTypeMismatchException, IOException, UnauthorizedAccessException, RankException, MulticastNotSupportedException, InvalidCastException, InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSecurityException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itRankException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic Uri getSource() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICollection getValues() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RegisterName(java.lang.String name,
NetObject scopedElement)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException
name - the argument of type java.lang.StringscopedElement - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void Remove(NetObject key) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidCastException, InvalidEnumArgumentException
key - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setDeferrableContent(DeferrableContent DeferrableContent) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, ArrayTypeMismatchException, IOException, NotImplementedException, FormatException, KeyNotFoundException, XamlException, XamlParseException, XamlSchemaException, CultureNotFoundException, OutOfMemoryException, NotSupportedException, Win32Exception
DeferrableContent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itNotImplementedException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXamlException - if the .NET member raises itXamlParseException - if the .NET member raises itXamlSchemaException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void setInvalidatesImplicitDataTemplateResources(boolean InvalidatesImplicitDataTemplateResources)
throws java.lang.Throwable
InvalidatesImplicitDataTemplateResources - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIsReadOnly(boolean IsReadOnly)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException
IsReadOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic void setSource(Uri Source) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, UriFormatException, OutOfMemoryException, FileFormatException, NotSupportedException, WebException, Win32Exception, CookieException, FormatException, SocketException, IOException
Source - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itWebException - if the .NET member raises itWin32Exception - if the .NET member raises itCookieException - if the .NET member raises itFormatException - if the .NET member raises itSocketException - if the .NET member raises itIOException - if the .NET member raises itpublic void UnregisterName(java.lang.String name)
throws java.lang.Throwable
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLR