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.String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationFrameworkstatic java.lang.String
className
Qualified class name: System.Windows.Controls.ItemContainerGeneratorstatic JCType
classType
The 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 void
addItemsChanged(ItemsChangedEventHandler handler)
void
addStatusChanged(EventHandler handler)
static ItemContainerGenerator
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoItemContainerGenerator
, a cast assert is made to check if types are compatible.DependencyObject
ContainerFromIndex(int index)
DependencyObject
ContainerFromItem(NetObject item)
IDisposable
GenerateBatches()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeGeneratorStatus
getStatus()
int
IndexFromContainer(DependencyObject container)
int
IndexFromContainer(DependencyObject container, boolean returnLocalIndex)
NetObject
ItemFromContainer(DependencyObject container)
void
removeItemsChanged(ItemsChangedEventHandler handler)
void
removeStatusChanged(EventHandler handler)
void
setJCOInstance(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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIItemContainerGenerator
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIWeakEventListener
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIItemContainerGenerator
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIWeakEventListener
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIItemContainerGenerator
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIWeakEventListener
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIItemContainerGenerator
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIWeakEventListener
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIItemContainerGenerator
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIWeakEventListener
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ItemContainerGenerator cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoItemContainerGenerator
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ItemContainerGenerator
instance- 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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
-
GenerateBatches
public IDisposable GenerateBatches() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidCastException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
InvalidCastException
IndexOutOfRangeException
FormatException
ArrayTypeMismatchException
-
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.Throwable
ArgumentNullException
-
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
-
-