com.esri.arcgis.display
Interface ITimeDisplay2

All Superinterfaces:
ITimeDisplay, Serializable
All Known Implementing Classes:
GlobeDisplay, SceneGraph, ScreenDisplay, SimpleDisplay

public interface ITimeDisplay2
extends ITimeDisplay, Serializable

Provides access to members that control the Time Extent.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getTimeRelation()
          Time relation for the time query.
 void setTimeRelation(int relation)
          Time relation for the time query.
 
Methods inherited from interface com.esri.arcgis.display.ITimeDisplay
getTimeReference, getTimeValue, setTimeReference, setTimeValue
 

Method Detail

getTimeRelation

int getTimeRelation()
                    throws IOException,
                           AutomationException
Time relation for the time query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.system.esriTimeRelation constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeRelation

void setTimeRelation(int relation)
                     throws IOException,
                            AutomationException
Time relation for the time query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
relation - A com.esri.arcgis.system.esriTimeRelation constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.