|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeData
Provides access to time related properties of a layer.
The ITimeData interface is implemented by all layers that can display time-related data or respond to time-related queries. However, for a layer to properly support time, it must be configured by a user with information from the ITimeDataDisplay interface. Once this information has been configured, the UseTime property in this interface is set to true, indicating that the layer not only has the ability to display time-related data, but also has all of the information (meta-data) it needs to display time-related data.
Method Summary | |
---|---|
ITimeExtent |
getFullTimeExtent()
Returns the time extent for all the data in the layer. |
ITimeReference |
getTimeReference()
Time reference for the contents of the layer. |
boolean |
isSupportsTime()
Indicates whether the layer has any time data. |
boolean |
isUseTime()
Indicates whether to use the time for animation purposes. |
void |
setUseTime(boolean useTime)
Indicates whether to use the time for animation purposes. |
Method Detail |
---|
boolean isSupportsTime() throws IOException, AutomationException
This property indicates whether the layer is able to render time-related data. If this property is false, it means that time-related data cannot be handled by the underlying software.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseTime() throws IOException, AutomationException
This property indicates whether the meta-data used to properly configure time-related rendering has been provided. The property is also used to indicate whether the layer should use the time-related meta-data to render time-related data. If the property is false, it can mean two things:
1. The layer has not yet been provided with information like the name of the attribute in the data which contains the time of each feature.
2. The layer has simply been told not to display time-related data. This may be a temporary state change desired by a user that does not want the layer to change when running an animation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseTime(boolean useTime) throws IOException, AutomationException
useTime
- The useTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITimeReference getTimeReference() throws IOException, AutomationException
This is the time reference for the data that this layer is rendering/providing. This property is read-only in the ITimeData interface because not all layers have the ability to change the TimeReference property of the data they represent. If the layer has the ability to change this property, it will implement the ITimeTableDefinition interface, and through that interface provide the ability to change the property's value.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITimeExtent getFullTimeExtent() throws IOException, AutomationException
This property provides a TimeExtent which represents the time from the earliest time stamp in the data to the latests time stamp in the data.
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 |