public class GradientStopCollection extends Animatable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.GradientStopCollection
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=9.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.GradientStopCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
GradientStopCollection()
Initializes a new instance by invoking the .NET constructor.
|
GradientStopCollection(IEnumerable_1 collection)
Initializes a new instance by invoking the .NET constructor.
|
GradientStopCollection(int capacity)
Initializes a new instance by invoking the .NET constructor.
|
GradientStopCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(GradientStop value)
Invokes the .NET member Add.
|
static GradientStopCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into GradientStopCollection, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
GradientStopCollection |
CloneCurrentValueNewGradientStopCollection()
Invokes the .NET member CloneCurrentValueNewGradientStopCollection.
|
GradientStopCollection |
CloneNewGradientStopCollection()
Invokes the .NET member CloneNewGradientStopCollection.
|
boolean |
Contains(GradientStop value)
Invokes the .NET member Contains.
|
void |
CopyTo(GradientStop[] array,
int index)
Invokes the .NET member CopyTo.
|
int |
getCount()
Gets the value of the .NET property Count.
|
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. |
int |
IndexOf(GradientStop value)
Invokes the .NET member IndexOf.
|
void |
Insert(int index,
GradientStop value)
Invokes the .NET member Insert.
|
static GradientStopCollection |
Parse(java.lang.String source)
Invokes the .NET member Parse.
|
boolean |
Remove(GradientStop value)
Invokes the .NET member Remove.
|
void |
RemoveAt(int index)
Invokes the .NET member RemoveAt.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
java.lang.String |
ToString(IFormatProvider provider)
Invokes the .NET member ToString.
|
ApplyAnimationClock, ApplyAnimationClock, BeginAnimation, BeginAnimation, CloneNewAnimatable, GetAnimationBaseValue, getHasAnimatedProperties, ShouldSerializeStoredWeakReferenceaddChanged, Clone, CloneCurrentValue, Freeze, GetAsFrozen, getCanFreeze, GetCurrentValueAsFrozen, getIsFrozen, removeChangedClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValueCheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public GradientStopCollection()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
ArgumentNullException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic GradientStopCollection(IEnumerable_1 collection) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException
collection - the argument of type IEnumerable_1java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic GradientStopCollection(int capacity)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
ArgumentNullException
capacity - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic GradientStopCollection(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 void Add(GradientStop value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException
value - the argument of type GradientStopjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static GradientStopCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into GradientStopCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedGradientStopCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
OutOfMemoryException
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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic GradientStopCollection CloneCurrentValueNewGradientStopCollection() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, FormatException, ArgumentOutOfRangeException, NotSupportedException
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 itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic GradientStopCollection CloneNewGradientStopCollection() throws java.lang.Throwable, InvalidOperationException, SecurityException, IOException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean Contains(GradientStop value) throws java.lang.Throwable, ArgumentException, InvalidOperationException
value - the argument of type GradientStopjava.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 CopyTo(GradientStop[] array, int index) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException
array - the argument of type GradientStop[]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 itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - 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 java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Animatablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Animatablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Animatablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Animatablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Animatablepublic int IndexOf(GradientStop value) throws java.lang.Throwable, ArgumentException, InvalidOperationException
value - the argument of type GradientStopjava.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,
GradientStop value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
index - the argument of type intvalue - the argument of type GradientStopjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - 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 static GradientStopCollection Parse(java.lang.String source) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, Win32Exception, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, UriFormatException, OutOfMemoryException, FileFormatException, WebException, FileNotFoundException, AccessViolationException
source - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUriFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFileFormatException - if the .NET member raises itWebException - if the .NET member raises itFileNotFoundException - if the .NET member raises itAccessViolationException - if the .NET member raises itpublic boolean Remove(GradientStop value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException
value - the argument of type GradientStopjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException
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 itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Animatableinstance - the new underlying objectpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
provider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it