com.esri.arcgis.carto
Interface IViewRefresh

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IViewRefreshProxy, Map, PageLayout

public interface IViewRefresh
extends java.io.Serializable

COM Interface 'IViewRefresh'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that are useful for refreshing views.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID5f78435a_7443_4195_beb2_caefa63433d8
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void animationRefresh(int phase, java.lang.Object data, IEnvelope envelope)
          Use to quickly redraw a phase that has it's own cache, i.e., a tracking layer.
 void animationRefreshShape(int phase, java.lang.Object data, IGeometry geometry, double symbolSizePoints)
          Use to quickly redraw a phase that has it's own cache, i.e., a tracking layer.
 boolean isDrawing()
          Indicates whether the view is currently drawing or not.
 boolean isProgressiveDrawing()
          Indicates whether the view should progressively update the window during drawing.
 void partialRefresh(int phase, java.lang.Object data, IEnvelope envelope)
          Draws the specified view phase.
 void partialRefreshShape(int phase, java.lang.Object data, IGeometry geometry, double symbolSizePoints)
          Refreshes the specified shape on the specified view phase.
 void refresh()
          Causes the entire view to draw.
 void refreshCaches()
          Reallocate the display caches.
 void refreshItem(java.lang.Object data)
          Use to redraw a specific item and the content above it.
 void setProgressiveDrawing(boolean flag)
          Indicates whether the view should progressively update the window during drawing.
 

Field Detail

IID5f78435a_7443_4195_beb2_caefa63433d8

static final int IID5f78435a_7443_4195_beb2_caefa63433d8
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

isDrawing

boolean isDrawing()
                  throws java.io.IOException,
                         AutomationException
Indicates whether the view is currently drawing or not.

Returns:
The drawing
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isProgressiveDrawing

boolean isProgressiveDrawing()
                             throws java.io.IOException,
                                    AutomationException
Indicates whether the view should progressively update the window during drawing. False means just update the window once when all rendering is complete.

Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProgressiveDrawing

void setProgressiveDrawing(boolean flag)
                           throws java.io.IOException,
                                  AutomationException
Indicates whether the view should progressively update the window during drawing. False means just update the window once when all rendering is complete.

Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

void refresh()
             throws java.io.IOException,
                    AutomationException
Causes the entire view to draw.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

partialRefresh

void partialRefresh(int phase,
                    java.lang.Object data,
                    IEnvelope envelope)
                    throws java.io.IOException,
                           AutomationException
Draws the specified view phase. Use an envelope of zero to draw the entire phase.

Parameters:
phase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
data - A reference to another Object (IUnknown) (in)
envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

partialRefreshShape

void partialRefreshShape(int phase,
                         java.lang.Object data,
                         IGeometry geometry,
                         double symbolSizePoints)
                         throws java.io.IOException,
                                AutomationException
Refreshes the specified shape on the specified view phase. Use symbolSizePoints to indicate point and line sizes.

Parameters:
phase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
data - A reference to another Object (IUnknown) (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
symbolSizePoints - The symbolSizePoints (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

animationRefresh

void animationRefresh(int phase,
                      java.lang.Object data,
                      IEnvelope envelope)
                      throws java.io.IOException,
                             AutomationException
Use to quickly redraw a phase that has it's own cache, i.e., a tracking layer. Tradeoffs are made to ensure fast redrawing at the expense of quality.

Parameters:
phase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
data - A reference to another Object (IUnknown) (in)
envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

animationRefreshShape

void animationRefreshShape(int phase,
                           java.lang.Object data,
                           IGeometry geometry,
                           double symbolSizePoints)
                           throws java.io.IOException,
                                  AutomationException
Use to quickly redraw a phase that has it's own cache, i.e., a tracking layer. Tradeoffs are made to ensure fast redrawing at the expense of quality. See PartialRefreshShape for more info.

Parameters:
phase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
data - A reference to another Object (IUnknown) (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
symbolSizePoints - The symbolSizePoints (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshItem

void refreshItem(java.lang.Object data)
                 throws java.io.IOException,
                        AutomationException
Use to redraw a specific item and the content above it. When adding items to the view (i.e., layers or graphics). Refresh can be optimized by only drawing the newly added items.

Parameters:
data - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshCaches

void refreshCaches()
                   throws java.io.IOException,
                          AutomationException
Reallocate the display caches. Causes a full redraw. Normally caches are automatically maintained. Use this sparingly when programatically changing attributes that affect caching such as ILayer::Cached flag.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.