com.esri.arcgis.animation
Class MapLayerKeyframe

java.lang.Object
  extended by com.esri.arcgis.animation.MapLayerKeyframe
All Implemented Interfaces:
IAGKeyframe, IAGKeyframeUI, com.esri.arcgis.interop.RemoteObjRef, IClone, java.io.Serializable

public class MapLayerKeyframe
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAGKeyframe, IAGKeyframeUI, IClone

COM Class 'MapLayerKeyframe'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriAnimation.olb'

Description 'The keyframe for map layer animation.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.animation.IAGKeyframe
IID, IID7c35dc01_7cdf_463e_9b7a_87c9ae769bef, xxDummy
 
Fields inherited from interface com.esri.arcgis.animation.IAGKeyframeUI
IID, IID30a602cf_d150_44ef_8dc1_1d68b3cbfe04, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IClone
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
 
Constructor Summary
MapLayerKeyframe()
          Constructs a MapLayerKeyframe using ArcGIS Engine.
MapLayerKeyframe(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MapLayerKeyframe theMapLayerKeyframe = (MapLayerKeyframe) obj;
 
Method Summary
 void apply(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, java.lang.Object pObject)
          Apply to the object the active properties of the keyframe.
 void assign(IClone src)
          Assigns the properties of src to the receiver.
 void captureProperties(IAGAnimationContainer pContainer, java.lang.Object pObject)
          Copy the properties from the object to the keyframe.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IClone esri_clone()
          Clones the receiver and assigns the result to *clone.
 ILongArray getActiveProperties()
          The combination of active properties.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the keyframe.
 java.lang.Object getPropertyValue(int propIndex)
          The value of a typed property.
 java.lang.String getText(int propIndex, int columnIndex)
          Get the column text.
 double getTimeStamp()
          The time stamp (in the interval 0-1).
 int hashCode()
          the hashcode for this object
 IAGAnimationType IAGKeyframe_getAnimationType()
          The animation type.
 void interpolate(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, java.lang.Object pObject, int propertyIndex, double time, IAGKeyframe pNextKeyframe, IAGKeyframe pPrevKeyframe, IAGKeyframe pAfterNextKeyframe)
          Interpolates the values of an object property for a time between this keyframe and the next (time is in [0,1]).
 boolean isActiveProperty(int propIndex)
          Indicates if an animation property is active.
 boolean isEqual(IClone other)
          Indicates if the receiver and other have the same properties.
 boolean isIdentical(IClone other)
          Indicates if the receiver and other are the same object.
 boolean isObjectNeedsRefresh()
          Indicates if the object must be refreshed after interpolating its state.
 void refreshObject(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, java.lang.Object pObject)
          Recreates the object after its properties have been interpolated.
 void release()
          Release a MapLayerKeyframe.
 void setActiveProperties(ILongArray ppActiveProps)
          The combination of active properties.
 void setIsActiveProperty(int propIndex, boolean pbIsActiveProp)
          Indicates if an animation property is active.
 void setName(java.lang.String name)
          The name of the keyframe.
 void setPropertyValue(int propIndex, java.lang.Object pValue)
          The value of a typed property.
 void setText(int propIndex, int columnIndex, java.lang.String text)
          Set the column text.
 void setTimeStamp(double pTimeStamp)
          The time stamp (in the interval 0-1).
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLayerKeyframe

public MapLayerKeyframe()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a MapLayerKeyframe using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

MapLayerKeyframe

public MapLayerKeyframe(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MapLayerKeyframe theMapLayerKeyframe = (MapLayerKeyframe) obj;

Construct a MapLayerKeyframe using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MapLayerKeyframe.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a MapLayerKeyframe.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the keyframe.

Specified by:
getName in interface IAGKeyframe
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
The name of the keyframe.

Specified by:
setName in interface IAGKeyframe
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveProperties

public ILongArray getActiveProperties()
                               throws java.io.IOException,
                                      AutomationException
The combination of active properties.

Specified by:
getActiveProperties in interface IAGKeyframe
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveProperties

public void setActiveProperties(ILongArray ppActiveProps)
                         throws java.io.IOException,
                                AutomationException
The combination of active properties.

Specified by:
setActiveProperties in interface IAGKeyframe
Parameters:
ppActiveProps - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isActiveProperty

public boolean isActiveProperty(int propIndex)
                         throws java.io.IOException,
                                AutomationException
Indicates if an animation property is active.

Specified by:
isActiveProperty in interface IAGKeyframe
Parameters:
propIndex - The propIndex (in)
Returns:
The pbIsActiveProp
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIsActiveProperty

public void setIsActiveProperty(int propIndex,
                                boolean pbIsActiveProp)
                         throws java.io.IOException,
                                AutomationException
Indicates if an animation property is active.

Specified by:
setIsActiveProperty in interface IAGKeyframe
Parameters:
propIndex - The propIndex (in)
pbIsActiveProp - The pbIsActiveProp (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertyValue

public java.lang.Object getPropertyValue(int propIndex)
                                  throws java.io.IOException,
                                         AutomationException
The value of a typed property.

Specified by:
getPropertyValue in interface IAGKeyframe
Parameters:
propIndex - The propIndex (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPropertyValue

public void setPropertyValue(int propIndex,
                             java.lang.Object pValue)
                      throws java.io.IOException,
                             AutomationException
The value of a typed property.

Specified by:
setPropertyValue in interface IAGKeyframe
Parameters:
propIndex - The propIndex (in)
pValue - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeStamp

public void setTimeStamp(double pTimeStamp)
                  throws java.io.IOException,
                         AutomationException
The time stamp (in the interval 0-1).

Specified by:
setTimeStamp in interface IAGKeyframe
Parameters:
pTimeStamp - The pTimeStamp (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTimeStamp

public double getTimeStamp()
                    throws java.io.IOException,
                           AutomationException
The time stamp (in the interval 0-1).

Specified by:
getTimeStamp in interface IAGKeyframe
Returns:
The pTimeStamp
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

IAGKeyframe_getAnimationType

public IAGAnimationType IAGKeyframe_getAnimationType()
                                              throws java.io.IOException,
                                                     AutomationException
The animation type.

Specified by:
IAGKeyframe_getAnimationType in interface IAGKeyframe
Returns:
A reference to a com.esri.arcgis.animation.IAGAnimationType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

apply

public void apply(IAGAnimationTrack pTrack,
                  IAGAnimationContainer pContainer,
                  java.lang.Object pObject)
           throws java.io.IOException,
                  AutomationException
Apply to the object the active properties of the keyframe.

Specified by:
apply in interface IAGKeyframe
Parameters:
pTrack - A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)
pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
pObject - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

captureProperties

public void captureProperties(IAGAnimationContainer pContainer,
                              java.lang.Object pObject)
                       throws java.io.IOException,
                              AutomationException
Copy the properties from the object to the keyframe.

Specified by:
captureProperties in interface IAGKeyframe
Parameters:
pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
pObject - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolate

public void interpolate(IAGAnimationTrack pTrack,
                        IAGAnimationContainer pContainer,
                        java.lang.Object pObject,
                        int propertyIndex,
                        double time,
                        IAGKeyframe pNextKeyframe,
                        IAGKeyframe pPrevKeyframe,
                        IAGKeyframe pAfterNextKeyframe)
                 throws java.io.IOException,
                        AutomationException
Interpolates the values of an object property for a time between this keyframe and the next (time is in [0,1]).

Specified by:
interpolate in interface IAGKeyframe
Parameters:
pTrack - A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)
pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
pObject - A Variant (in)
propertyIndex - The propertyIndex (in)
time - The time (in)
pNextKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)
pPrevKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)
pAfterNextKeyframe - A reference to a com.esri.arcgis.animation.IAGKeyframe (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isObjectNeedsRefresh

public boolean isObjectNeedsRefresh()
                             throws java.io.IOException,
                                    AutomationException
Indicates if the object must be refreshed after interpolating its state.

Specified by:
isObjectNeedsRefresh in interface IAGKeyframe
Returns:
The pNeedsRefresh
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshObject

public void refreshObject(IAGAnimationTrack pTrack,
                          IAGAnimationContainer pContainer,
                          java.lang.Object pObject)
                   throws java.io.IOException,
                          AutomationException
Recreates the object after its properties have been interpolated.

Specified by:
refreshObject in interface IAGKeyframe
Parameters:
pTrack - A reference to a com.esri.arcgis.animation.IAGAnimationTrack (in)
pContainer - A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)
pObject - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getText

public java.lang.String getText(int propIndex,
                                int columnIndex)
                         throws java.io.IOException,
                                AutomationException
Get the column text.

Specified by:
getText in interface IAGKeyframeUI
Parameters:
propIndex - The propIndex (in)
columnIndex - The columnIndex (in)
Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setText

public void setText(int propIndex,
                    int columnIndex,
                    java.lang.String text)
             throws java.io.IOException,
                    AutomationException
Set the column text.

Specified by:
setText in interface IAGKeyframeUI
Parameters:
propIndex - The propIndex (in)
columnIndex - The columnIndex (in)
text - The text (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Clones the receiver and assigns the result to *clone.

Specified by:
esri_clone in interface IClone
Returns:
A reference to a com.esri.arcgis.system.IClone
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Assigns the properties of src to the receiver.

Specified by:
assign in interface IClone
Parameters:
src - A reference to a com.esri.arcgis.system.IClone (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Indicates if the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Indicates if the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.