public class UIElementCollection extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Controls.UIElementCollection
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=9.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.Controls.UIElementCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
UIElementCollection() |
UIElementCollection(java.lang.Object instance)
Internal constructor.
|
UIElementCollection(UIElement visualParent,
FrameworkElement logicalParent)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(UIElement element)
Invokes the .NET member Add.
|
static UIElementCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into UIElementCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
Contains(UIElement element)
Invokes the .NET member Contains.
|
void |
CopyTo(Array array,
int index)
Invokes the .NET member CopyTo.
|
void |
CopyTo(UIElement[] 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 |
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(UIElement element)
Invokes the .NET member IndexOf.
|
void |
Insert(int index,
UIElement element)
Invokes the .NET member Insert.
|
void |
Remove(UIElement element)
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 UIElementCollection()
throws java.lang.Throwable
java.lang.Throwablepublic UIElementCollection(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 UIElementCollection(UIElement visualParent, FrameworkElement logicalParent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
visualParent - the argument of type UIElementlogicalParent - the argument of type FrameworkElementjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int Add(UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, Win32Exception
element - the argument of type UIElementjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic static UIElementCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into UIElementCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedUIElementCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
CultureNotFoundException,
Win32Exception,
MulticastNotSupportedException,
InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic boolean Contains(UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentException
element - the argument of type UIElementjava.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, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidCastException
array - the argument of type Arrayindex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void CopyTo(UIElement[] array, int index) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException
array - the argument of type UIElement[]index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic int getCapacity()
throws java.lang.Throwable,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itpublic int getCount()
throws java.lang.Throwable,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itpublic boolean getIsSynchronized()
throws java.lang.Throwable,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - 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, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itpublic int IndexOf(UIElement element) throws java.lang.Throwable, InvalidOperationException
element - the argument of type UIElementjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itpublic void Insert(int index,
UIElement element)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
CultureNotFoundException,
InvalidEnumArgumentException,
Win32Exception
index - the argument of type intelement - the argument of type UIElementjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void Remove(UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, Win32Exception
element - the argument of type UIElementjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void RemoveAt(int index)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
CultureNotFoundException,
Win32Exception,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException,
InvalidEnumArgumentException,
RankException,
ArrayTypeMismatchException
index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - 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 itArrayTypeMismatchException - if the .NET member raises itpublic void RemoveRange(int index,
int count)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
CultureNotFoundException,
Win32Exception,
MulticastNotSupportedException,
InvalidEnumArgumentException
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 itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setCapacity(int Capacity)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
PlatformNotSupportedException,
CultureNotFoundException,
Win32Exception,
ObjectDisposedException,
OutOfMemoryException,
MulticastNotSupportedException,
InvalidCastException,
InvalidEnumArgumentException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
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 itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - 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 setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying object