|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.analyst3d.LayerKeyframe
public class LayerKeyframe
The ESRI LayerKeyframe coclass.
LayerKeyframe coclass manages the properties and methods that are applicable to a layer keyframe. There are 6 different layer properties that can be used in a layer animation through its IKeyframe interface.
Constructor Summary | |
---|---|
LayerKeyframe()
Constructs a LayerKeyframe using ArcGIS Engine. |
|
LayerKeyframe(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LayerKeyframe theLayerKeyframe = (LayerKeyframe) obj; |
Method Summary | |
---|---|
void |
apply(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
Apply to the object the active properties of the keyframe. |
void |
apply(IScene pScene,
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,
Object pObject)
Copy the properties from the object to the keyframe. |
void |
captureProperties(IScene pScene,
Object pObject)
Copy the properties from the object to the keyframe. |
boolean |
equals(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. |
IAnimationType |
getAnimationType()
The animation type. |
static String |
getClsid()
getClsid. |
String |
getName()
The name of the keyframe. |
Object |
getPropertyValue(int propIndex)
The value of a typed property. |
double |
getPropertyValueDouble(int propIndex)
The value of a double-typed property. |
IEnvelope |
getPropertyValueExtent(int propIndex)
The value of an Extent-typed property. |
int |
getPropertyValueInt(int propIndex)
The value of an integer typed property. |
int |
getPropertyValueLong(int propIndex)
The value of a long integer typed property. |
IPoint |
getPropertyValuePoint(int propIndex)
The value of a Point-typed property. |
IColor |
getPropertyValueRGBColor(int propIndex)
The value of an RGB Color-typed property. |
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,
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]). |
void |
interpolate(IScene pScene,
Object pObject,
int propertyIndex,
double time,
IKeyframe pNextKeyframe,
IKeyframe pPrevKeyframe,
IKeyframe 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. |
boolean |
isPropertyValueBoolean(int propIndex)
Indicates if the property is TRUE. |
void |
refreshObject(IAGAnimationTrack pTrack,
IAGAnimationContainer pContainer,
Object pObject)
Recreates the object after its properties have been interpolated. |
void |
refreshObject(IScene pScene,
Object pObject)
Recreates the object after its properties have been interpolated. |
void |
setActiveProperties(ILongArray ppActiveProps)
The combination of active properties. |
void |
setIsActiveProperty(int propIndex,
boolean pbIsActiveProp)
Indicates if an animation property is active. |
void |
setName(String name)
The name of the keyframe. |
void |
setPropertyValue(int propIndex,
Object pValue)
The value of a typed property. |
void |
setPropertyValueBoolean(int propIndex,
boolean pBoolValue)
Indicates if the property is TRUE. |
void |
setPropertyValueDouble(int propIndex,
double pDoubleValue)
The value of a double-typed property. |
void |
setPropertyValueExtent(int propIndex,
IEnvelope ppExtent)
The value of an Extent-typed property. |
void |
setPropertyValueInt(int propIndex,
int pIntValue)
The value of an integer typed property. |
void |
setPropertyValueLong(int propIndex,
int pLongValue)
The value of a long integer typed property. |
void |
setPropertyValuePoint(int propIndex,
IPoint ppPoint)
The value of a Point-typed property. |
void |
setPropertyValueRGBColor(int propIndex,
IColor ppColor)
The value of an RGB Color-typed property. |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public LayerKeyframe() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic LayerKeyframe(Object obj) throws IOException
LayerKeyframe theLayerKeyframe = (LayerKeyframe) obj;
obj
to LayerKeyframe
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IKeyframe
getName
in interface IAGKeyframe
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IKeyframe
setName
in interface IAGKeyframe
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray getActiveProperties() throws IOException, AutomationException
getActiveProperties
in interface IKeyframe
getActiveProperties
in interface IAGKeyframe
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveProperties(ILongArray ppActiveProps) throws IOException, AutomationException
setActiveProperties
in interface IKeyframe
setActiveProperties
in interface IAGKeyframe
ppActiveProps
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isActiveProperty(int propIndex) throws IOException, AutomationException
isActiveProperty
in interface IKeyframe
isActiveProperty
in interface IAGKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsActiveProperty(int propIndex, boolean pbIsActiveProp) throws IOException, AutomationException
setIsActiveProperty
in interface IKeyframe
setIsActiveProperty
in interface IAGKeyframe
propIndex
- The propIndex (in)pbIsActiveProp
- The pbIsActiveProp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPropertyValueInt(int propIndex) throws IOException, AutomationException
getPropertyValueInt
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPropertyValueLong(int propIndex) throws IOException, AutomationException
getPropertyValueLong
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPropertyValueDouble(int propIndex) throws IOException, AutomationException
getPropertyValueDouble
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPropertyValueBoolean(int propIndex) throws IOException, AutomationException
isPropertyValueBoolean
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getPropertyValuePoint(int propIndex) throws IOException, AutomationException
getPropertyValuePoint
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getPropertyValueExtent(int propIndex) throws IOException, AutomationException
getPropertyValueExtent
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getPropertyValueRGBColor(int propIndex) throws IOException, AutomationException
getPropertyValueRGBColor
in interface IKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValueInt(int propIndex, int pIntValue) throws IOException, AutomationException
setPropertyValueInt
in interface IKeyframe
propIndex
- The propIndex (in)pIntValue
- The pIntValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValueLong(int propIndex, int pLongValue) throws IOException, AutomationException
setPropertyValueLong
in interface IKeyframe
propIndex
- The propIndex (in)pLongValue
- The pLongValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValueDouble(int propIndex, double pDoubleValue) throws IOException, AutomationException
setPropertyValueDouble
in interface IKeyframe
propIndex
- The propIndex (in)pDoubleValue
- The pDoubleValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValueBoolean(int propIndex, boolean pBoolValue) throws IOException, AutomationException
setPropertyValueBoolean
in interface IKeyframe
propIndex
- The propIndex (in)pBoolValue
- The pBoolValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValuePoint(int propIndex, IPoint ppPoint) throws IOException, AutomationException
setPropertyValuePoint
in interface IKeyframe
propIndex
- The propIndex (in)ppPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValueExtent(int propIndex, IEnvelope ppExtent) throws IOException, AutomationException
setPropertyValueExtent
in interface IKeyframe
propIndex
- The propIndex (in)ppExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValueRGBColor(int propIndex, IColor ppColor) throws IOException, AutomationException
setPropertyValueRGBColor
in interface IKeyframe
propIndex
- The propIndex (in)ppColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeStamp(double pTimeStamp) throws IOException, AutomationException
setTimeStamp
in interface IKeyframe
setTimeStamp
in interface IAGKeyframe
pTimeStamp
- The pTimeStamp (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTimeStamp() throws IOException, AutomationException
getTimeStamp
in interface IKeyframe
getTimeStamp
in interface IAGKeyframe
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAnimationType getAnimationType() throws IOException, AutomationException
getAnimationType
in interface IKeyframe
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void apply(IScene pScene, Object pObject) throws IOException, AutomationException
The second argument of this method can be a Camera, a Layer, or a Scene object, which corresponds to one of the three built-in animation types.
apply
in interface IKeyframe
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void captureProperties(IScene pScene, Object pObject) throws IOException, AutomationException
captureProperties
in interface IKeyframe
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interpolate(IScene pScene, Object pObject, int propertyIndex, double time, IKeyframe pNextKeyframe, IKeyframe pPrevKeyframe, IKeyframe pAfterNextKeyframe) throws IOException, AutomationException
interpolate
in interface IKeyframe
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)propertyIndex
- The propertyIndex (in)time
- The time (in)pNextKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)pPrevKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)pAfterNextKeyframe
- A reference to a com.esri.arcgis.analyst3d.IKeyframe (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isObjectNeedsRefresh() throws IOException, AutomationException
isObjectNeedsRefresh
in interface IKeyframe
isObjectNeedsRefresh
in interface IAGKeyframe
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshObject(IScene pScene, Object pObject) throws IOException, AutomationException
refreshObject
in interface IKeyframe
pScene
- A reference to a com.esri.arcgis.analyst3d.IScene (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getPropertyValue(int propIndex) throws IOException, AutomationException
getPropertyValue
in interface IAGKeyframe
propIndex
- The propIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPropertyValue(int propIndex, Object pValue) throws IOException, AutomationException
setPropertyValue
in interface IAGKeyframe
propIndex
- The propIndex (in)pValue
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAGAnimationType IAGKeyframe_getAnimationType() throws IOException, AutomationException
IAGKeyframe_getAnimationType
in interface IAGKeyframe
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void apply(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, Object pObject) throws IOException, AutomationException
apply
in interface IAGKeyframe
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void captureProperties(IAGAnimationContainer pContainer, Object pObject) throws IOException, AutomationException
captureProperties
in interface IAGKeyframe
pContainer
- A reference to a com.esri.arcgis.animation.IAGAnimationContainer (in)pObject
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interpolate(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, Object pObject, int propertyIndex, double time, IAGKeyframe pNextKeyframe, IAGKeyframe pPrevKeyframe, IAGKeyframe pAfterNextKeyframe) throws IOException, AutomationException
interpolate
in interface IAGKeyframe
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshObject(IAGAnimationTrack pTrack, IAGAnimationContainer pContainer, Object pObject) throws IOException, AutomationException
refreshObject
in interface IAGKeyframe
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |