Package system.windows.media.animation
Class Clock
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.media.animation.Clock
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
AnimationClock
,ClockGroup
,MediaClock
public class Clock extends DispatcherObject
The base .NET class managing System.Windows.Media.Animation.Clock, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Animation.Clock
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: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationCorestatic java.lang.String
className
Qualified class name: System.Windows.Media.Animation.Clockstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCompleted(EventHandler handler)
void
addCurrentGlobalSpeedInvalidated(EventHandler handler)
void
addCurrentStateInvalidated(EventHandler handler)
void
addCurrentTimeInvalidated(EventHandler handler)
void
addRemoveRequested(EventHandler handler)
static Clock
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoClock
, a cast assert is made to check if types are compatible.ClockController
getController()
ClockState
getCurrentState()
boolean
getHasControllableRoot()
boolean
getIsPaused()
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 objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeDuration
getNaturalDuration()
Clock
getParent()
Timeline
getTimeline()
void
removeCompleted(EventHandler handler)
void
removeCurrentGlobalSpeedInvalidated(EventHandler handler)
void
removeCurrentStateInvalidated(EventHandler handler)
void
removeCurrentTimeInvalidated(EventHandler handler)
void
removeRemoveRequested(EventHandler handler)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Media.Animation.Clock- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDispatcherObject
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDispatcherObject
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDispatcherObject
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDispatcherObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classDispatcherObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDispatcherObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Clock cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoClock
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Clock
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getHasControllableRoot
public boolean getHasControllableRoot() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsPaused
public boolean getIsPaused() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNaturalDuration
public Duration getNaturalDuration() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParent
public Clock getParent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getController
public ClockController getController() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidEnumArgumentException, InvalidOperationException, Win32Exception, SecurityException, FormatException
-
getCurrentState
public ClockState getCurrentState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTimeline
public Timeline getTimeline() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCompleted
public void addCompleted(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCompleted
public void removeCompleted(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCurrentGlobalSpeedInvalidated
public void addCurrentGlobalSpeedInvalidated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCurrentGlobalSpeedInvalidated
public void removeCurrentGlobalSpeedInvalidated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCurrentStateInvalidated
public void addCurrentStateInvalidated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCurrentStateInvalidated
public void removeCurrentStateInvalidated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCurrentTimeInvalidated
public void addCurrentTimeInvalidated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCurrentTimeInvalidated
public void removeCurrentTimeInvalidated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addRemoveRequested
public void addRemoveRequested(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeRemoveRequested
public void removeRemoveRequested(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-