Package system.windows.controls
Class ItemContainerGenerator
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.controls.ItemContainerGenerator
-
- All Implemented Interfaces:
IJCOBridgeReflected,IItemContainerGenerator,IWeakEventListener
public class ItemContainerGenerator extends NetObject implements IItemContainerGenerator, IWeakEventListener
The base .NET class managing System.Windows.Controls.ItemContainerGenerator, PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.ItemContainerGenerator
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=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Controls.ItemContainerGeneratorstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ItemContainerGenerator()ItemContainerGenerator(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItemsChanged(ItemsChangedEventHandler handler)voidaddStatusChanged(EventHandler handler)static ItemContainerGeneratorcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoItemContainerGenerator, a cast assert is made to check if types are compatible.DependencyObjectContainerFromIndex(int index)DependencyObjectContainerFromItem(NetObject item)IDisposableGenerateBatches()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 objectJCTypegetJCOType()Returns the instantiated class TypeGeneratorStatusgetStatus()intIndexFromContainer(DependencyObject container)intIndexFromContainer(DependencyObject container, boolean returnLocalIndex)NetObjectItemFromContainer(DependencyObject container)voidremoveItemsChanged(ItemsChangedEventHandler handler)voidremoveStatusChanged(EventHandler handler)voidsetJCOInstance(JCObject instance)-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.controls.primitives.IItemContainerGenerator
GenerateNext, GenerateNext, GeneratorPositionFromIndex, GetItemContainerGeneratorForPanel, IndexFromGeneratorPosition, PrepareItemContainer, Remove, RemoveAll, StartAt, StartAt
-
Methods inherited from interface system.windows.IWeakEventListener
ReceiveWeakEvent
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.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.ItemContainerGenerator- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ItemContainerGenerator
public ItemContainerGenerator(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ItemContainerGenerator
public ItemContainerGenerator() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIItemContainerGenerator- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIWeakEventListener- Overrides:
getJCOAssemblyNamein classNetObject- 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 interfaceIItemContainerGenerator- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceIWeakEventListener- Overrides:
getJCOClassNamein classNetObject- 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 interfaceIItemContainerGenerator- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceIWeakEventListener- Overrides:
getJCOObjectNamein classNetObject- 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 interfaceIItemContainerGenerator- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceIWeakEventListener- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIItemContainerGenerator- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIWeakEventListener- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ItemContainerGenerator cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoItemContainerGenerator, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ItemContainerGeneratorinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IndexFromContainer
public int IndexFromContainer(DependencyObject container, boolean returnLocalIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
IndexFromContainer
public int IndexFromContainer(DependencyObject container) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullException
-
GenerateBatches
public IDisposable GenerateBatches() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidCastException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidCastExceptionIndexOutOfRangeExceptionFormatExceptionArrayTypeMismatchException
-
ItemFromContainer
public NetObject ItemFromContainer(DependencyObject container) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
ContainerFromIndex
public DependencyObject ContainerFromIndex(int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ContainerFromItem
public DependencyObject ContainerFromItem(NetObject item) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
getStatus
public GeneratorStatus getStatus() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addStatusChanged
public void addStatusChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStatusChanged
public void removeStatusChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addItemsChanged
public void addItemsChanged(ItemsChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeItemsChanged
public void removeItemsChanged(ItemsChangedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-