public class CharacterMetricsDictionary extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.CharacterMetricsDictionary
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: PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.CharacterMetricsDictionary
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
CharacterMetricsDictionary() |
CharacterMetricsDictionary(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(int key,
CharacterMetrics value)
Invokes the .NET member Add.
|
void |
Add(KeyValuePair_2 item)
Invokes the .NET member Add.
|
static CharacterMetricsDictionary |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CharacterMetricsDictionary, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(KeyValuePair_2 item)
Invokes the .NET member Contains.
|
boolean |
ContainsKey(int key)
Invokes the .NET member ContainsKey.
|
void |
CopyTo(KeyValuePair_2[] array,
int index)
Invokes the .NET member CopyTo.
|
int |
getCount()
Gets the value of the .NET property Count.
|
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_1 |
getKeys()
Gets the value of the .NET property Keys.
|
ICollection_1 |
getValues()
Gets the value of the .NET property Values.
|
boolean |
Remove(int key)
Invokes the .NET member Remove.
|
boolean |
Remove(KeyValuePair_2 item)
Invokes the .NET member Remove.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
boolean |
TryGetValue(int key,
JCORefOut<CharacterMetrics> value)
Invokes the .NET member TryGetValue.
|
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 CharacterMetricsDictionary()
throws java.lang.Throwable
java.lang.Throwablepublic CharacterMetricsDictionary(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(int key,
CharacterMetrics value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
key - the argument of type intvalue - the argument of type CharacterMetricsjava.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 void Add(KeyValuePair_2 item) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
item - the argument of type KeyValuePair_2java.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 CharacterMetricsDictionary cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CharacterMetricsDictionary, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCharacterMetricsDictionary instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Contains(KeyValuePair_2 item) throws java.lang.Throwable
item - the argument of type KeyValuePair_2java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean ContainsKey(int key)
throws java.lang.Throwable
key - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void CopyTo(KeyValuePair_2[] array, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
array - the argument of type KeyValuePair_2[]index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - 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 itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int getCount()
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_1 getKeys() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICollection_1 getValues() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Remove(int key)
throws java.lang.Throwable
key - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Remove(KeyValuePair_2 item) throws java.lang.Throwable
item - the argument of type KeyValuePair_2java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic boolean TryGetValue(int key,
JCORefOut<CharacterMetrics> value)
throws java.lang.Throwable
key - the argument of type intvalue - the argument of type JCORefOut<CharacterMetrics>java.lang.Throwable - if the call fails in the bridge or in the CLR