|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TemporalReference
public class TemporalReference
Maintains temporal perspective on data and notifies all clients when the value changes.
This class defines the CoClass characteristics for the TemperalReference object. This object is responsible for holding the temporal perspective and to notify all interested clients when this value changes.
Constructor Summary | |
---|---|
TemporalReference()
Constructs a TemporalReference using ArcGIS Engine. |
|
TemporalReference(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TemporalReference theTemporalReference = (TemporalReference) obj; |
Method Summary | |
---|---|
void |
add_ITemporalReferenceEventsListener(_ITemporalReferenceEvents theListener)
add_ITemporalReferenceEventsListener. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getTemporalMode()
Controls the behavior of temporal reference to reflect real-time or playback mode. |
double |
getTemporalPeriod()
Used by the temporal renderer property page to determine the default time period for the temporal legend classes. |
int |
getTemporalPeriodUnits()
Describes the temporal units that define the temporal period property. |
Object |
getTemporalPerspective()
Timestamp used by the temporal renderer to compare its time ranges stored in the temporal legend's temporal classes. |
Object |
getTemporalPerspectiveAsDate()
The current temporal perspective in COleDateTime format, so the temporal perspective can be retrieved from VB. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
remove_ITemporalReferenceEventsListener(_ITemporalReferenceEvents theListener)
remove_ITemporalReferenceEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setTemporalMode(int pVal)
Controls the behavior of temporal reference to reflect real-time or playback mode. |
void |
setTemporalPeriod(double pVal)
Used by the temporal renderer property page to determine the default time period for the temporal legend classes. |
void |
setTemporalPeriodUnits(int pVal)
Describes the temporal units that define the temporal period property. |
void |
setTemporalPerspective(Object pVal)
Timestamp used by the temporal renderer to compare its time ranges stored in the temporal legend's temporal classes. |
void |
writeExternal(ObjectOutput out)
|
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 TemporalReference() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TemporalReference(Object obj) throws IOException
TemporalReference theTemporalReference = (TemporalReference) obj;
obj
to TemporalReference
.
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 void add_ITemporalReferenceEventsListener(_ITemporalReferenceEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.trackinganalyst._ITemporalReferenceEvents interface.
IOException
- If there are communications problems.public void remove_ITemporalReferenceEventsListener(_ITemporalReferenceEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.trackinganalyst._ITemporalReferenceEvents interface.
IOException
- If there are communications problems.public Object getTemporalPerspective() throws IOException, AutomationException
The Temporal Perspective property is a timestamp of the current temporal perspective in time. This property has different roles for each temporal mode. When the object's temporal mode is fixed-time, the Temporal Reference's Temporal Perspective property is a static timestamp. This facilitates the view of temporally based data within a layer at a particular point in time. When the object's temporal mode is real-time, this object automatically updates the temporal perspective at the RealTimeUpdateFrequency Properties rate. This facilitates real-time or current time viewing of temporally enabled data. Any update to this property fires an OnUpdate event whether is comes from internally, in real-time mode, or externally thought the interface. Additionally this property will set the internal variable to the current system time if a null value is provided. This facilitates individual layers requesting a temporal update and the re-draw request is managed for all layers in a map.
The format of this value is a CTimeStamp Variant format which is a array of 3 long integers. See the CTimeStamp documentation for further details.
getTemporalPerspective
in interface ITemporalReference
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalPerspective(Object pVal) throws IOException, AutomationException
The Temporal Perspective property is a timestamp of the current temporal perspective in time. This property has different roles for each temporal mode. When the object's temporal mode is fixed-time, the Temporal Reference's Temporal Perspective property is a static timestamp. This facilitates the view of temporally based data within a layer at a particular point in time. When the object's temporal mode is real-time, this object automatically updates the temporal perspective at the RealTimeUpdateFrequency Properties rate. This facilitates real-time or current time viewing of temporally enabled data. Any update to this property fires an OnUpdate event whether is comes from internally, in real-time mode, or externally thought the interface. Additionally this property will set the internal variable to the current system time if a null value is provided. This facilitates individual layers requesting a temporal update and the re-draw request is managed for all layers in a map.
The format of this value is a CTimeStamp Variant format which is a array of 3 long integers. See the CTimeStamp documentation for further details.
setTemporalPerspective
in interface ITemporalReference
pVal
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTemporalMode() throws IOException, AutomationException
The TemporalMode property controls the behavior of the temporal reference. This property can have two values:
getTemporalMode
in interface ITemporalReference
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalMode(int pVal) throws IOException, AutomationException
The TemporalMode property controls the behavior of the temporal reference. This property can have two values:
setTemporalMode
in interface ITemporalReference
pVal
- A com.esri.arcgis.trackinganalyst.enumTemporalMode constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTemporalPeriod() throws IOException, AutomationException
This property is used by the Temporal Renderer property page to determine the default period of time to create Temporal legend classes for its temporal legend group.
getTemporalPeriod
in interface ITemporalReference
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalPeriod(double pVal) throws IOException, AutomationException
This property is used by the Temporal Renderer property page to determine the default period of time to create Temporal legend classes for its temporal legend group.
setTemporalPeriod
in interface ITemporalReference
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTemporalPeriodUnits() throws IOException, AutomationException
This property describes the temporal units that the Temporal Period property is based on.
getTemporalPeriodUnits
in interface ITemporalReference
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalPeriodUnits(int pVal) throws IOException, AutomationException
This property describes the temporal units that the Temporal Period property is based on.
setTemporalPeriodUnits
in interface ITemporalReference
pVal
- A com.esri.arcgis.trackinganalyst.enumTemporalUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getTemporalPerspectiveAsDate() throws IOException, AutomationException
This property will return the current temporal perspective in COleDateTime Format so that the Temporal Perspective can be gotten from VB.
getTemporalPerspectiveAsDate
in interface ITemporalReference
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |