Package system.windows.controls
Class UIElementCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.windows.controls.UIElementCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class UIElementCollection extends NetObjectEnumerable
The base .NET class managing System.Windows.Controls.UIElementCollection, PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.UIElementCollection
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Controls.UIElementCollectionstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description UIElementCollection()UIElementCollection(java.lang.Object instance)Internal constructor.UIElementCollection(UIElement visualParent, FrameworkElement logicalParent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(UIElement element)static UIElementCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoUIElementCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(UIElement element)voidCopyTo(Array array, int index)voidCopyTo(UIElement[] array, int index)intgetCapacity()intgetCount()booleangetIsSynchronized()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeNetObjectgetSyncRoot()intIndexOf(UIElement element)voidInsert(int index, UIElement element)voidRemove(UIElement element)voidRemoveAt(int index)voidRemoveRange(int index, int count)voidsetCapacity(int Capacity)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Controls.UIElementCollection- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
UIElementCollection
public UIElementCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
UIElementCollection
public UIElementCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
UIElementCollection
public UIElementCollection(UIElement visualParent, FrameworkElement logicalParent) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObjectEnumerable- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObjectEnumerable- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObjectEnumerable- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObjectEnumerable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObjectEnumerable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static UIElementCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoUIElementCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
UIElementCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentException
- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentException
-
Add
public int Add(UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, Win32Exception
-
IndexOf
public int IndexOf(UIElement element) throws java.lang.Throwable, InvalidOperationException
- Throws:
java.lang.ThrowableInvalidOperationException
-
Clear
public void Clear() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, Win32Exception, MulticastNotSupportedException, InvalidEnumArgumentException
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidCastException
-
CopyTo
public void CopyTo(UIElement[] array, int index) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException
-
Insert
public void Insert(int index, UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, InvalidEnumArgumentException, Win32Exception
-
Remove
public void Remove(UIElement element) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, Win32Exception
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, Win32Exception, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastExceptionInvalidEnumArgumentExceptionRankExceptionArrayTypeMismatchException
-
RemoveRange
public void RemoveRange(int index, int count) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, Win32Exception, MulticastNotSupportedException, InvalidEnumArgumentException
-
getIsSynchronized
public boolean getIsSynchronized() throws java.lang.Throwable, InvalidOperationException- Throws:
java.lang.ThrowableInvalidOperationException
-
getCapacity
public int getCapacity() throws java.lang.Throwable, InvalidOperationException- Throws:
java.lang.ThrowableInvalidOperationException
-
setCapacity
public void setCapacity(int Capacity) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, Win32Exception, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, InvalidEnumArgumentException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionNotSupportedExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionWin32ExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastExceptionInvalidEnumArgumentExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchException
-
getCount
public int getCount() throws java.lang.Throwable, InvalidOperationException- Throws:
java.lang.ThrowableInvalidOperationException
-
getSyncRoot
public NetObject getSyncRoot() throws java.lang.Throwable, InvalidOperationException
- Throws:
java.lang.ThrowableInvalidOperationException
-
-