|
|||||||||
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.ITimeControlBaseProxy com.esri.arcgis.trackinganalyst.ITimeControlProxy
public class ITimeControlProxy
Provides access to methods and properties needed to manage Playback Manager functions.
The Time control interface is the main interface to interact with the timecontrol. This interface allows a consumer to set a time controls properties such as:
The main purpose of the time control is to control TemporalReference Objects. The Timecontrol adjusts one or more temporal reference's temporal perspective property.
In this way many temporal references are synchronized.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITimeControlProxy()
|
|
ITimeControlProxy(Object obj)
|
protected |
ITimeControlProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
addTemporalReference(ITemporalReference varTemporalReference)
Adds playback window, which defines the temporal reference of the data during playback. |
IMap |
getCurrentMap()
Indicates value of the current map display during playback. |
Object |
getCurrentTime()
Indicates current time during playback. |
int |
getDefaultDateFormat()
Indicates the default date format used in the Playback Manager. |
Object |
getEndTime()
Indicates end time for playback window. |
int |
getHistogramBackgroundColor()
Indicates background color on the Playback Manager's histogram display. |
int |
getHistogramFillColor()
Indicates fill color on the Playback Manager's histogram display. |
int |
getHistogramOutlineColor()
Indicates outline color on the Playback Manager's histogram display. |
int |
getHWnd()
Application handle used by the time control. |
int |
getNudgeMethod()
Indicates whether or not to nudge the playback needle forward or backward by an increment determined by the current playback rate adjusted by the speed factor. |
short |
getNumberOfSamples()
Indicates the number of samples used to draw the events on the map during playback. |
double |
getPlaySpeedFactor()
Indicates the factor by which the playback rate is multiplied to speed or slow the playback of data. |
Object |
getStartTime()
Indicates start time for playback window. |
int |
getStatus()
Indicates current status of playback. |
int |
getTemporalMode()
Indicates whether data is being shown in real-time or playback mode. |
ITemporalReference |
getTemporalReference(int nIndex)
The value of the playback window applied to the data during playback. |
int |
getTemporalReferenceCount()
Number of playback windows applied to the data. |
double |
getTimeSequenceInterval(int enumUnits)
Indicates interval between events played on the map. |
double |
getTimeSequenceRate()
Indicates rate at which temporal data is played in playback. |
int |
getTimeSequenceUnits()
Indicates time units used in playback. |
String |
getWindowTitle()
Text appearing in the title bar of the Playback Manager window. |
boolean |
isHideHistogram()
Indicates whether the histogram is hidden from view in the Playback Manager. |
boolean |
isPlayContinously()
Indicates whether the Continuous Loop check box is activated, to replay the data repeatedly. |
boolean |
isUpdateDisplay()
Indicates display update information. |
boolean |
isVisible()
Indicates whether or not object is visible during playback. |
void |
monitor()
Configures the temporal reference for real-time and evaluates the temporal meta data. |
void |
play(int enumDir)
Starts playback of data on the map. |
void |
removeAllTemporalReferences()
Removes all playback window boundaries from the data during playback. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
removeTemporalReference(ITemporalReference pvarTemporalReference)
Removes the playback window, which defines the temporal reference of the data during playback. |
void |
setCurrentMapByRef(IMap ppiCurrentMap)
Indicates value of the current map display during playback. |
void |
setCurrentTime(Object pvarCurrentTime)
Indicates current time during playback. |
void |
setDefaultDateFormat(int penumDefaultDateFormat)
Indicates the default date format used in the Playback Manager. |
void |
setEndTime(Object pvarEndTime)
Indicates end time for playback window. |
void |
setHideHistogram(boolean pbvarHideHistogram)
Indicates whether the histogram is hidden from view in the Playback Manager. |
void |
setHistogramBackgroundColor(int pVal)
Indicates background color on the Playback Manager's histogram display. |
void |
setHistogramFillColor(int pVal)
Indicates fill color on the Playback Manager's histogram display. |
void |
setHistogramOutlineColor(int pVal)
Indicates outline color on the Playback Manager's histogram display. |
void |
setNudgeMethod(int penumMethod)
Indicates whether or not to nudge the playback needle forward or backward by an increment determined by the current playback rate adjusted by the speed factor. |
void |
setNumberOfSamples(short pVal)
Indicates the number of samples used to draw the events on the map during playback. |
void |
setPlayContinously(boolean pbvarPlayContinously)
Indicates whether the Continuous Loop check box is activated, to replay the data repeatedly. |
void |
setPlaySpeedFactor(double pdPlaySpeedFactor)
Indicates the factor by which the playback rate is multiplied to speed or slow the playback of data. |
void |
setStartTime(Object pvarStartTime)
Indicates start time for playback window. |
void |
setTemporalMode(int pVal)
Indicates whether data is being shown in real-time or playback mode. |
void |
setTemporalReferencesFromMap()
Sets the playback window values for the data based on map values during playback. |
void |
setTimeRangeFromLayers(String bstrLayerName)
Sets playback window based on a specific layer's temporal extent. |
void |
setTimeSequenceRate(double pdTimeSequenceRate)
Indicates rate at which temporal data is played in playback. |
void |
setUpdateDisplay(boolean pVal)
Indicates display update information. |
void |
setVisible(int hParentWindow,
boolean bvarVisible)
Sets object to display during playback as a visible item on the map. |
void |
setWindowTitle(String pbstrWindowTitle)
Text appearing in the title bar of the Playback Manager window. |
void |
stop()
Stops playback of data on the map. |
Methods inherited from class com.esri.arcgis.trackinganalyst.ITimeControlBaseProxy |
---|
setTimeSequenceInterval |
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 |
Methods inherited from interface com.esri.arcgis.trackinganalyst.ITimeControlBase |
---|
setTimeSequenceInterval |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public ITimeControlProxy()
public ITimeControlProxy(Object obj) throws IOException
IOException
protected ITimeControlProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class ITimeControlBaseProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class ITimeControlBaseProxy
IOException
public void play(int enumDir) throws IOException, AutomationException
The play method starts a play sequence. This method requires one argument, enumPlayDirection, which indicates which direction in time to sequence the time.
play
in interface ITimeControl
enumDir
- A com.esri.arcgis.trackinganalyst.enumDirection constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void stop() throws IOException, AutomationException
This method simply stops a play sequence. If a play sequence is not running then this method is a no-op.
stop
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void monitor() throws IOException, AutomationException
Reserved for future use. The monitor method configures the temporal reference for real-time and evaluates the temporal meta data.
See the enum TimeControl Status for more details.
monitor
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStatus() throws IOException, AutomationException
This property indicates the current status of the time control in Playback Manager. This status could indicate that the time control is playing forward, playing in reverse, stopped, using the slider, or monitoring real-time data display.
getStatus
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTimeSequenceRate() throws IOException, AutomationException
This property indicates how often, in seconds, to update the temporal reference's temporal perspective.
getTimeSequenceRate
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeSequenceRate(double pdTimeSequenceRate) throws IOException, AutomationException
This property indicates how often, in seconds, to update the temporal reference's temporal perspective.
setTimeSequenceRate
in interface ITimeControl
pdTimeSequenceRate
- The pdTimeSequenceRate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getTimeSequenceInterval(int enumUnits) throws IOException, AutomationException
getTimeSequenceInterval
in interface ITimeControl
enumUnits
- A com.esri.arcgis.trackinganalyst.enumTemporalUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
This property controls the visibility of the Playback Manager dialog box.
This method will create a new modeless window if one does not exist or will activate and make visible a previous window.
If the visibility is set to false it will close the window.
isVisible
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(int hParentWindow, boolean bvarVisible) throws IOException, AutomationException
This property controls the visibility of the Playback Manager dialog box.
This method will create a new modeless window if one does not exist or will activate and make visible a previous window.
If the visibility is set to false it will close the window.
setVisible
in interface ITimeControl
hParentWindow
- The hParentWindow (in)bvarVisible
- The bvarVisible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getStartTime() throws IOException, AutomationException
Returns the start time in a variant. This value is either a date, string, or internal format. The format is controlled by the Default Date format property.
getStartTime
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStartTime(Object pvarStartTime) throws IOException, AutomationException
Sets the start time in a variant. This value is either a date, string, or internal format.
setStartTime
in interface ITimeControl
pvarStartTime
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getCurrentTime() throws IOException, AutomationException
Returns the timecontrols current time in a variant. This value is either a date, string, or internal format. The format is controlled by the Default Date format property.
getCurrentTime
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentTime(Object pvarCurrentTime) throws IOException, AutomationException
Sets the current time control's time in a variant. This value can be either a date, string, or internal format.
setCurrentTime
in interface ITimeControl
pvarCurrentTime
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getEndTime() throws IOException, AutomationException
Returns the end time in a variant. This value is either a date, string, or internal format. The format is controlled by the Default Date format property.
getEndTime
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndTime(Object pvarEndTime) throws IOException, AutomationException
Sets the end time in a variant. This value can be either a date, string, or internal format.
setEndTime
in interface ITimeControl
pvarEndTime
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addTemporalReference(ITemporalReference varTemporalReference) throws IOException, AutomationException
addTemporalReference
in interface ITimeControl
varTemporalReference
- A reference to a com.esri.arcgis.trackinganalyst.ITemporalReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeTemporalReference(ITemporalReference pvarTemporalReference) throws IOException, AutomationException
Removes the specfied temporal reference from the time control's collection.
removeTemporalReference
in interface ITimeControl
pvarTemporalReference
- A reference to a com.esri.arcgis.trackinganalyst.ITemporalReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTemporalReferenceCount() throws IOException, AutomationException
Returns the number of temporal references that the timecontrol is adjusting.
getTemporalReferenceCount
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITemporalReference getTemporalReference(int nIndex) throws IOException, AutomationException
getTemporalReference
in interface ITimeControl
nIndex
- The nIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAllTemporalReferences() throws IOException, AutomationException
removes all temporal references from the timecontrols collection.
removeAllTemporalReferences
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalReferencesFromMap() throws IOException, AutomationException
scans all temporal layers in the provided map and adds the temporal layers temporal references to the timecontrols collection. In most cases all temporal references from a given map have one and only one temporal reference. Duplicate instances of temporalperspective objects are not added.
setTemporalReferencesFromMap
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeRangeFromLayers(String bstrLayerName) throws IOException, AutomationException
This method sets the temporal extent of the timecontrol based on the specfied layer. This method requires the presence of a valided currentmap property. Additionally the following strings support alternate behavior:
setTimeRangeFromLayers
in interface ITimeControl
bstrLayerName
- The bstrLayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDefaultDateFormat() throws IOException, AutomationException
The default date format that the EndTime CurrentTime, and StartTime properties return. The enumeration specifies:
getDefaultDateFormat
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultDateFormat(int penumDefaultDateFormat) throws IOException, AutomationException
The default date format that the EndTime CurrentTime, and StartTime properties return. The enumeration specifies:
setDefaultDateFormat
in interface ITimeControl
penumDefaultDateFormat
- A com.esri.arcgis.trackinganalyst.enumDefaultDateFormat constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getWindowTitle() throws IOException, AutomationException
getWindowTitle
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWindowTitle(String pbstrWindowTitle) throws IOException, AutomationException
setWindowTitle
in interface ITimeControl
pbstrWindowTitle
- The pbstrWindowTitle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPlayContinously() throws IOException, AutomationException
isPlayContinously
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlayContinously(boolean pbvarPlayContinously) throws IOException, AutomationException
The PlayContinously property indicates whether to start over at the opposite time when the end time is reached during play.
setPlayContinously
in interface ITimeControl
pbvarPlayContinously
- The pbvarPlayContinously (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPlaySpeedFactor() throws IOException, AutomationException
getPlaySpeedFactor
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlaySpeedFactor(double pdPlaySpeedFactor) throws IOException, AutomationException
setPlaySpeedFactor
in interface ITimeControl
pdPlaySpeedFactor
- The pdPlaySpeedFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNudgeMethod() throws IOException, AutomationException
getNudgeMethod
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNudgeMethod(int penumMethod) throws IOException, AutomationException
setNudgeMethod
in interface ITimeControl
penumMethod
- A com.esri.arcgis.trackinganalyst.enumPlaybackNudgeMethod constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTemporalMode() throws IOException, AutomationException
getTemporalMode
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalMode(int pVal) throws IOException, AutomationException
setTemporalMode
in interface ITimeControl
pVal
- A com.esri.arcgis.trackinganalyst.enumPlaybackTemporalMode constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUpdateDisplay() throws IOException, AutomationException
isUpdateDisplay
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdateDisplay(boolean pVal) throws IOException, AutomationException
setUpdateDisplay
in interface ITimeControl
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getNumberOfSamples() throws IOException, AutomationException
getNumberOfSamples
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNumberOfSamples(short pVal) throws IOException, AutomationException
setNumberOfSamples
in interface ITimeControl
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHistogramFillColor() throws IOException, AutomationException
getHistogramFillColor
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHistogramFillColor(int pVal) throws IOException, AutomationException
setHistogramFillColor
in interface ITimeControl
pVal
- The pVal (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHistogramBackgroundColor() throws IOException, AutomationException
getHistogramBackgroundColor
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHistogramBackgroundColor(int pVal) throws IOException, AutomationException
setHistogramBackgroundColor
in interface ITimeControl
pVal
- The pVal (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHistogramOutlineColor() throws IOException, AutomationException
getHistogramOutlineColor
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHistogramOutlineColor(int pVal) throws IOException, AutomationException
setHistogramOutlineColor
in interface ITimeControl
pVal
- The pVal (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHideHistogram() throws IOException, AutomationException
isHideHistogram
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHideHistogram(boolean pbvarHideHistogram) throws IOException, AutomationException
setHideHistogram
in interface ITimeControl
pbvarHideHistogram
- The pbvarHideHistogram (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getCurrentMap() throws IOException, AutomationException
The CurrentMap property indicates the current map that methods such as setTimeRangeFromLayers requires. In general this is the current map that is being controled temporally.
getCurrentMap
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentMapByRef(IMap ppiCurrentMap) throws IOException, AutomationException
The CurrentMap property indicates the current map that methods such as setTimeRangeFromLayers requires. In general this is the current map that is being controled temporally.
setCurrentMapByRef
in interface ITimeControl
ppiCurrentMap
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
getHWnd
in interface ITimeControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTimeSequenceUnits() throws IOException, AutomationException
getTimeSequenceUnits
in interface ITimeControl
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 |