|
|||||||||
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.trackinganalyst.ITAUpdateControlProxy
public class ITAUpdateControlProxy
Provides access to methods needed to manage the dynamic updating of events drawn in ArcMap.
This interface provides properties to indicate refresh rate, maximum update rate, update method, and whether or not update display manually or automatically.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITAUpdateControlProxy()
|
|
ITAUpdateControlProxy(Object obj)
|
protected |
ITAUpdateControlProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addLayer(ILayer piLayer)
Obsolete Method that is unsupported. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
double |
getMaxUpdateRate()
Indicates the minimum duration between which the map display updates, as defined in the dynamic update controller. |
double |
getRefreshRate()
Indicates the maximum duration between map display refreshes, as defined in the dynamic update controller. |
String |
getStatistics()
Various statistics about dynamic display processing. |
int |
getUpdateMethod()
Defines how the display refresh is determined: by number of points or CPU usage. |
int |
getUpdateValue()
Indicates the number of points or percentage of CPU usage used as the threshold for a map display refresh. |
boolean |
isAutoRefresh()
Indicates whether or not the map display will refresh automatically when no new data has been received. |
boolean |
isManualUpdate()
Indicates whether or not map display must be updated manually when new data is received. |
void |
refreshDisplay(int enumUpdateType)
Refreshes the map display in ArcMap. |
void |
removeLayer(ILayer piLayer)
Obsolete Method that is unsupported. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setAutoRefresh(boolean pVal)
Indicates whether or not the map display will refresh automatically when no new data has been received. |
void |
setManualUpdate(boolean pVal)
Indicates whether or not map display must be updated manually when new data is received. |
void |
setMaxUpdateRate(double pVal)
Indicates the minimum duration between which the map display updates, as defined in the dynamic update controller. |
void |
setRefreshRate(double pVal)
Indicates the maximum duration between map display refreshes, as defined in the dynamic update controller. |
void |
setUpdateMethod(int pVal)
Defines how the display refresh is determined: by number of points or CPU usage. |
void |
setUpdateValue(int pVal)
Indicates the number of points or percentage of CPU usage used as the threshold for a map display refresh. |
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 ITAUpdateControlProxy()
public ITAUpdateControlProxy(Object obj) throws IOException
IOException
protected ITAUpdateControlProxy(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 void addLayer(ILayer piLayer) throws IOException, AutomationException
This method adds a layer to the Display update controller. Only temporal layers are permitted. If a non-temporal layer is added it is rejected and S_False is returned.
addLayer
in interface ITAUpdateControl
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeLayer(ILayer piLayer) throws IOException, AutomationException
This method removes a layer from the Controller's management.
removeLayer
in interface ITAUpdateControl
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getRefreshRate() throws IOException, AutomationException
Gets and sets the maximum number of seconds between map refreshes if no new data has been received when AutoRefresh is enabled on the dynamic update controller. If no new data has been received to trigger an update refresh this timer will cause the map to refresh. This is important for maintaining time windows and aging. The RefreshRate must be greater than or equal to the MaxUpdateRate and less than or equal to 500 seconds.
getRefreshRate
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRefreshRate(double pVal) throws IOException, AutomationException
setRefreshRate
in interface ITAUpdateControl
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMaxUpdateRate() throws IOException, AutomationException
Gets and sets the minimum number of seconds between map refreshes when real-time data is being received and AutoRefresh is enabled. The MaxUpdateRate must be between 0.5 and 60 seconds. This timer is triggered only if new data has been received since the last refresh. If data stops being received for an extended period the timer specified by the RefreshRate property will execute to maintain temporal windows and aging.
getMaxUpdateRate
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxUpdateRate(double pVal) throws IOException, AutomationException
setMaxUpdateRate
in interface ITAUpdateControl
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refreshDisplay(int enumUpdateType) throws IOException, AutomationException
There are five types of screen updates available:
refreshDisplay
in interface ITAUpdateControl
enumUpdateType
- A com.esri.arcgis.trackinganalyst.enumScreenUpdateType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUpdateMethod() throws IOException, AutomationException
getUpdateMethod
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdateMethod(int pVal) throws IOException, AutomationException
setUpdateMethod
in interface ITAUpdateControl
pVal
- A com.esri.arcgis.trackinganalyst.enumScreenUpdateThresholdType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUpdateValue() throws IOException, AutomationException
getUpdateValue
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdateValue(int pVal) throws IOException, AutomationException
setUpdateValue
in interface ITAUpdateControl
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getStatistics() throws IOException, AutomationException
This method returns a XML string containing named variables of various statistics about display processing for temporal data.
getStatistics
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isManualUpdate() throws IOException, AutomationException
If ManualUpdate is set to true then you are responsible for causing map refreshes to animate the display of tracking data. The primary mechanism to cause a screen refresh is using RefreshDisplay. you can also using IActiveView::Refresh and IActiveView::PartialRefresh, but they are not as optimized for updating tracking data.
isManualUpdate
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setManualUpdate(boolean pVal) throws IOException, AutomationException
setManualUpdate
in interface ITAUpdateControl
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAutoRefresh() throws IOException, AutomationException
isAutoRefresh
in interface ITAUpdateControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoRefresh(boolean pVal) throws IOException, AutomationException
setAutoRefresh
in interface ITAUpdateControl
pVal
- The pVal (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 |