public class VisualCollection extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.VisualCollection
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.VisualCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
VisualCollection() |
VisualCollection(java.lang.Object instance)
Internal constructor.
|
VisualCollection(Visual parent)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(Visual visual)
Invokes the .NET member Add.
|
static VisualCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into VisualCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(Visual visual)
Invokes the .NET member Contains.
|
void |
CopyTo(Array array,
int index)
Invokes the .NET member CopyTo.
|
void |
CopyTo(Visual[] array,
int index)
Invokes the .NET member CopyTo.
|
int |
getCapacity()
Gets the value of the .NET property Capacity.
|
int |
getCount()
Gets the value of the .NET property Count.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
boolean |
getIsSynchronized()
Gets the value of the .NET property IsSynchronized.
|
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. |
NetObject |
getSyncRoot()
Gets the value of the .NET property SyncRoot.
|
int |
IndexOf(Visual visual)
Invokes the .NET member IndexOf.
|
void |
Insert(int index,
Visual visual)
Invokes the .NET member Insert.
|
void |
Remove(Visual visual)
Invokes the .NET member Remove.
|
void |
RemoveAt(int index)
Invokes the .NET member RemoveAt.
|
void |
RemoveRange(int index,
int count)
Invokes the .NET member RemoveRange.
|
void |
setCapacity(int Capacity)
Sets the value of the .NET property Capacity.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
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 VisualCollection()
throws java.lang.Throwable
java.lang.Throwablepublic VisualCollection(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 VisualCollection(Visual parent) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
parent - the argument of type Visualjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 Add(Visual visual) throws java.lang.Throwable, InvalidOperationException, ArgumentException, OverflowException, Win32Exception, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, InvalidEnumArgumentException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
visual - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static VisualCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into VisualCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedVisualCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
OverflowException,
Win32Exception,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic boolean Contains(Visual visual) throws java.lang.Throwable, InvalidOperationException, ArgumentException
visual - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itpublic void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException
array - the argument of type Arrayindex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - 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 itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void CopyTo(Visual[] array, int index) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException
array - the argument of type Visual[]index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - 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 itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic int getCapacity()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int getCount()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getIsReadOnly()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getIsSynchronized()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic 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 NetObject getSyncRoot() throws java.lang.Throwable, ArgumentException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int IndexOf(Visual visual) throws java.lang.Throwable, ArgumentException, InvalidOperationException
visual - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void Insert(int index,
Visual visual)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
OverflowException,
Win32Exception,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException,
InvalidEnumArgumentException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
index - the argument of type intvisual - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Remove(Visual visual) throws java.lang.Throwable, InvalidOperationException, ArgumentException, OverflowException, Win32Exception, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, InvalidEnumArgumentException
visual - the argument of type Visualjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void RemoveAt(int index)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
OverflowException,
Win32Exception,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException
index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void RemoveRange(int index,
int count)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
OverflowException,
Win32Exception,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException
index - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void setCapacity(int Capacity)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
OverflowException,
Win32Exception,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException
Capacity - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying object