|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.carto.ITimeDataProxy
public class ITimeDataProxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITimeDataProxy()
|
|
ITimeDataProxy(Object obj)
|
protected |
ITimeDataProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
void |
setUseTime(boolean useTime)
Indicates whether to use the time for animation purposes. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public ITimeDataProxy()
public ITimeDataProxy(Object obj) throws IOException
IOException
protected ITimeDataProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public 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.
isSupportsTime
in interface ITimeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
isUseTime
in interface ITimeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseTime(boolean useTime) throws IOException, AutomationException
setUseTime
in interface ITimeData
useTime
- The useTime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getTimeReference
in interface ITimeData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getFullTimeExtent
in interface ITimeData
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 |