com.esri.arcgis.cartoUI
Class DataGraphT

java.lang.Object
  extended by com.esri.arcgis.cartoUI.DataGraphT
All Implemented Interfaces:
IDataGraphBase, IDataGraphT, IConnectionPointContainer, IWorkspaceEditEvents, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, Externalizable, Serializable, EventListener

public class DataGraphT
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataGraphBase, IDataGraphT, IPersistStream, IConnectionPointContainer, IWorkspaceEditEvents, Externalizable

A container for the display and manipulation of graph series.

Remarks

DataGraphT is the container for graph series, it can be cocreated. Each graph should contain at least one series. To make a series (which is a non-cocreatable object), AddSeries (IDataGraphT::AddSeries) should be used. There are two kinds of series, they are graph series and function series (it also implements IFunctionSeriesProperties). A series can be added (IDataGraphT::AddSeries), removed (IDataGraphT::RemoveSeries), or reordered (IDataGraphT::SeriesOrder). Graph series can be made from feature layer, raster layer, or standalone table. Function series can only be made from existing graph series. Graph can either be displayed on graph window (IDataGraphWindow2 from DataGraphWindow coclass), or be displayed on layout view. Graphs are saved either within map document (IDataGraphCollection), or as grf file.

DataGraphT implements three interfaces, they are IDatagraphT, IDataGraphBase, and IDataGraphTEvents . There are different properties setting in a graph. They include legend properties, axis properties, and general properties.

Graphs can be built based on selected set from the input data. There are two methods available: HighlightSelection (from IDataGraphT) and UseSelectedSet (from IDataGraphBase). If UseSelectedSet is set to true, graph series will be built based on selection. There are two modes on how graph is drawn. The first one is by highlighting features on the graph (HighlightSelection is set to true in this case), and the second one is building graph from selected features only (HighlighteSelection is set to false in this case).

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
DataGraphT()
          Constructs a DataGraphT using ArcGIS Engine.
DataGraphT(Object obj)
          Construct a DataGraphT using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIDataGraphTEventsListener(IDataGraphTEvents theListener)
          addIDataGraphTEventsListener.
 ISeriesProperties addSeries(String seriesType)
          Add series from the provided graph type.
 void copyToClipboard()
          Copies the data graph to the clipboard as a metafile.
 void drawToDC(int hDC, tagRECT pOutputRect, tagRECT pGraphRect)
          Draws the data graph into the provided device context.
 void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
          enumConnectionPoints
 boolean equals(Object o)
          Compare this object with another
 void exportToFile(String filename)
          Exports the data graph to a file.
 void exportToFileEx(String filename, int width, int height)
          Exports the data graph to a file.
 void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP)
          findConnectionPoint
 int getAxisCount()
          Amount of axis.
 IDataGraphTAxisProperties getAxisProperties(int idx)
          Properties of graph axis.
 void getClassID(GUID[] pClassID)
          getClassID
static String getClsid()
          getClsid.
 IDataGraphTGeneralProperties getGeneralProperties()
          General properties of the graph.
 IDataGraphTLegendProperties getLegendProperties()
          Properties of graph legend.
 String getName()
          Name of the data graph.
 int getSeriesCount()
          The number of series in the graph.
 int getSeriesOrder(ISeriesProperties pSeriesProps)
          Position of the series in the series list of the graph.
 ISeriesProperties getSeriesProperties(int iSeries)
          Series properties for provided series index.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 int hashCode()
          the hashcode for this object
 void identify(int iSeries, int ptX, int ptY, Object[] pOIDs)
          Identifies object ID for the series using graph coordinates.
 void isDirty()
          isDirty
 boolean isHighlightSelection()
          Indicates whether graph handles selection in the input layer by creating series only from the selected data or highlights selected values on the graph made from entire dataset.
 boolean isUseSelectedSet()
          Indicates if the selected set of the series from input dataset is used to build graph.
 void load(IStream pstm)
          load
 void loadFromFile(String filename)
          Loads the data graph from a .grf file.
 void loadTemplate(String file)
          Loads graph properties from the template file.
 void onAbortEditOperation(IWorkspaceEditEventsOnAbortEditOperationEvent theEvent)
          This event is fired after an edit operation is aborted.
 void onRedoEditOperation(IWorkspaceEditEventsOnRedoEditOperationEvent theEvent)
          This event is fired after an undone edit operation is redone.
 void onStartEditing(IWorkspaceEditEventsOnStartEditingEvent theEvent)
          This event is fired after editing is started on a workspace.
 void onStartEditOperation(IWorkspaceEditEventsOnStartEditOperationEvent theEvent)
          This event is fired after an edit operation is started.
 void onStopEditing(IWorkspaceEditEventsOnStopEditingEvent theEvent)
          This event is fired after editing is stopped on a workspace.
 void onStopEditOperation(IWorkspaceEditEventsOnStopEditOperationEvent theEvent)
          This event is fired after an edit operation is stopped (successfully completed).
 void onUndoEditOperation(IWorkspaceEditEventsOnUndoEditOperationEvent theEvent)
          This event is fired after a (completed) edit operation is undone.
 void readExternal(ObjectInput in)
           
 void reload()
          Reloads data values in data graph series.
 void removeIDataGraphTEventsListener(IDataGraphTEvents theListener)
          removeIDataGraphTEventsListener.
 void removeSeries(ISeriesProperties pSeriesProps)
          Remove series from the graph.
 void save(IStream pstm, int fClearDirty)
          save
 void saveToFile(String filename)
          Saves the data graph to a .grf file.
 void setHighlightSelection(boolean b)
          Indicates whether graph handles selection in the input layer by creating series only from the selected data or highlights selected values on the graph made from entire dataset.
 void setName(String pName)
          Name of the data graph.
 void setSeriesOrder(ISeriesProperties pSeriesProps, int pPos)
          Position of the series in the series list of the graph.
 void setUseSelectedSet(boolean pUseSel)
          Indicates if the selected set of the series from input dataset is used to build graph.
 void update(ITrackCancel pCancel)
          Updates graph after changes in graph or series properties.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

DataGraphT

public DataGraphT()
           throws IOException,
                  UnknownHostException
Constructs a DataGraphT using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DataGraphT

public DataGraphT(Object obj)
           throws IOException
Construct a DataGraphT using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DataGraphT.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems DataGraphT theDataGraphT = (DataGraphT) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

addIDataGraphTEventsListener

public void addIDataGraphTEventsListener(IDataGraphTEvents theListener)
                                  throws IOException
addIDataGraphTEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.carto.IDataGraphTEvents interface.
Throws:
IOException - If there are communications problems.

removeIDataGraphTEventsListener

public void removeIDataGraphTEventsListener(IDataGraphTEvents theListener)
                                     throws IOException
removeIDataGraphTEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.carto.IDataGraphTEvents interface.
Throws:
IOException - If there are communications problems.

getName

public String getName()
               throws IOException,
                      AutomationException
Name of the data graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getName in interface IDataGraphBase
Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String pName)
             throws IOException,
                    AutomationException
Name of the data graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setName in interface IDataGraphBase
Parameters:
pName - The pName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseSelectedSet

public boolean isUseSelectedSet()
                         throws IOException,
                                AutomationException
Indicates if the selected set of the series from input dataset is used to build graph.

Remarks

Value is the only parameter. Graphs can be built based on selected set from the input data. There are two methods available: HighlightSelection (from IDataGraphT) and UseSelectedSet (from IDataGraphBase). If UseSelectedSet is set to true, graph series will be built based on selection. There are two modes on how graph is drawn. The first one is by highlighting features on the graph (HighlightSelection is set to true in this case), and the second one is building graph from selected features only (HighlighteSelection is set to false in this case).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isUseSelectedSet in interface IDataGraphBase
Returns:
The pUseSel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseSelectedSet

public void setUseSelectedSet(boolean pUseSel)
                       throws IOException,
                              AutomationException
Indicates if the selected set of the series from input dataset is used to build graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setUseSelectedSet in interface IDataGraphBase
Parameters:
pUseSel - The pUseSel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reload

public void reload()
            throws IOException,
                   AutomationException
Reloads data values in data graph series.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
reload in interface IDataGraphBase
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawToDC

public void drawToDC(int hDC,
                     tagRECT pOutputRect,
                     tagRECT pGraphRect)
              throws IOException,
                     AutomationException
Draws the data graph into the provided device context.

Remarks

There are three parameters. They are hdc, pOutputRect, and pGraphRect. hdc means handle device context, it is used for graph drawing. pOutputRect coordinates the rectangle in device context for graph drawing. pGraphRect is the rectangle that represents the size of the graph drawn in device context. The dimension of output rectangle is usually the same as graph rectangle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
drawToDC in interface IDataGraphBase
Parameters:
hDC - The hDC (A COM typedef) (in)
pOutputRect - A Structure: com.esri.arcgis.system.tagRECT (in)
pGraphRect - A Structure: com.esri.arcgis.system.tagRECT (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromFile

public void loadFromFile(String filename)
                  throws IOException,
                         AutomationException
Loads the data graph from a .grf file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
loadFromFile in interface IDataGraphBase
Parameters:
filename - The filename (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveToFile

public void saveToFile(String filename)
                throws IOException,
                       AutomationException
Saves the data graph to a .grf file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
saveToFile in interface IDataGraphBase
Parameters:
filename - The filename (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToFile

public void exportToFile(String filename)
                  throws IOException,
                         AutomationException
Exports the data graph to a file.

Remarks

fileName is the only parameter. It supports various export format, including Windows bitmap (.bmp), Encapsulated PostScript (.eps), Graphics Interchange Format (.gif), Joint Photographic Experts Group (.jpg or .jpeg), Windows Metafile (.wmf), Enhanced Windows Metafile (.emf), TeeChart Office Graphic (.tee), PC Paintbrush bitmap (.pcx), Portable Document Format (.pdf), Portable Network Graphics (.png), and Scalable Vector Graphics (.svg).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
exportToFile in interface IDataGraphBase
Parameters:
filename - The filename (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copyToClipboard

public void copyToClipboard()
                     throws IOException,
                            AutomationException
Copies the data graph to the clipboard as a metafile.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
copyToClipboard in interface IDataGraphBase
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHighlightSelection

public boolean isHighlightSelection()
                             throws IOException,
                                    AutomationException
Indicates whether graph handles selection in the input layer by creating series only from the selected data or highlights selected values on the graph made from entire dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isHighlightSelection in interface IDataGraphT
Returns:
The b
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHighlightSelection

public void setHighlightSelection(boolean b)
                           throws IOException,
                                  AutomationException
Indicates whether graph handles selection in the input layer by creating series only from the selected data or highlights selected values on the graph made from entire dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setHighlightSelection in interface IDataGraphT
Parameters:
b - The b (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSeries

public ISeriesProperties addSeries(String seriesType)
                            throws IOException,
                                   AutomationException
Add series from the provided graph type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
addSeries in interface IDataGraphT
Parameters:
seriesType - The seriesType (in)
Returns:
A reference to a com.esri.arcgis.carto.ISeriesProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeSeries

public void removeSeries(ISeriesProperties pSeriesProps)
                  throws IOException,
                         AutomationException
Remove series from the graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeSeries in interface IDataGraphT
Parameters:
pSeriesProps - A reference to a com.esri.arcgis.carto.ISeriesProperties (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeriesCount

public int getSeriesCount()
                   throws IOException,
                          AutomationException
The number of series in the graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSeriesCount in interface IDataGraphT
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeriesProperties

public ISeriesProperties getSeriesProperties(int iSeries)
                                      throws IOException,
                                             AutomationException
Series properties for provided series index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSeriesProperties in interface IDataGraphT
Parameters:
iSeries - The iSeries (in)
Returns:
A reference to a com.esri.arcgis.carto.ISeriesProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSeriesOrder

public void setSeriesOrder(ISeriesProperties pSeriesProps,
                           int pPos)
                    throws IOException,
                           AutomationException
Position of the series in the series list of the graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSeriesOrder in interface IDataGraphT
Parameters:
pSeriesProps - A reference to a com.esri.arcgis.carto.ISeriesProperties (in)
pPos - The pPos (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeriesOrder

public int getSeriesOrder(ISeriesProperties pSeriesProps)
                   throws IOException,
                          AutomationException
Position of the series in the series list of the graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSeriesOrder in interface IDataGraphT
Parameters:
pSeriesProps - A reference to a com.esri.arcgis.carto.ISeriesProperties (in)
Returns:
The pPos
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeneralProperties

public IDataGraphTGeneralProperties getGeneralProperties()
                                                  throws IOException,
                                                         AutomationException
General properties of the graph.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGeneralProperties in interface IDataGraphT
Returns:
A reference to a com.esri.arcgis.carto.IDataGraphTGeneralProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLegendProperties

public IDataGraphTLegendProperties getLegendProperties()
                                                throws IOException,
                                                       AutomationException
Properties of graph legend.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLegendProperties in interface IDataGraphT
Returns:
A reference to a com.esri.arcgis.carto.IDataGraphTLegendProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAxisCount

public int getAxisCount()
                 throws IOException,
                        AutomationException
Amount of axis.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAxisCount in interface IDataGraphT
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAxisProperties

public IDataGraphTAxisProperties getAxisProperties(int idx)
                                            throws IOException,
                                                   AutomationException
Properties of graph axis.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAxisProperties in interface IDataGraphT
Parameters:
idx - The idx (in)
Returns:
A reference to a com.esri.arcgis.carto.IDataGraphTAxisProperties
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

identify

public void identify(int iSeries,
                     int ptX,
                     int ptY,
                     Object[] pOIDs)
              throws IOException,
                     AutomationException
Identifies object ID for the series using graph coordinates.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
identify in interface IDataGraphT
Parameters:
iSeries - The iSeries (in)
ptX - The ptX (in)
ptY - The ptY (in)
pOIDs - A Variant (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

public void update(ITrackCancel pCancel)
            throws IOException,
                   AutomationException
Updates graph after changes in graph or series properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
update in interface IDataGraphT
Parameters:
pCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadTemplate

public void loadTemplate(String file)
                  throws IOException,
                         AutomationException
Loads graph properties from the template file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
loadTemplate in interface IDataGraphT
Parameters:
file - The file (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToFileEx

public void exportToFileEx(String filename,
                           int width,
                           int height)
                    throws IOException,
                           AutomationException
Exports the data graph to a file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
exportToFileEx in interface IDataGraphT
Parameters:
filename - The filename (in)
width - The width (in)
height - The height (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws IOException,
                    AutomationException
isDirty

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDirty in interface IPersistStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws IOException,
                 AutomationException
load

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
save

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
getSizeMax

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
getClassID

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

enumConnectionPoints

public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
                          throws IOException,
                                 AutomationException
enumConnectionPoints

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
enumConnectionPoints in interface IConnectionPointContainer
Parameters:
ppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findConnectionPoint

public void findConnectionPoint(GUID riid,
                                IConnectionPoint[] ppCP)
                         throws IOException,
                                AutomationException
findConnectionPoint

Description

IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
findConnectionPoint in interface IConnectionPointContainer
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStartEditing

public void onStartEditing(IWorkspaceEditEventsOnStartEditingEvent theEvent)
                    throws IOException,
                           AutomationException
This event is fired after editing is started on a workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onStartEditing in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStopEditing

public void onStopEditing(IWorkspaceEditEventsOnStopEditingEvent theEvent)
                   throws IOException,
                          AutomationException
This event is fired after editing is stopped on a workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onStopEditing in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStartEditOperation

public void onStartEditOperation(IWorkspaceEditEventsOnStartEditOperationEvent theEvent)
                          throws IOException,
                                 AutomationException
This event is fired after an edit operation is started.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onStartEditOperation in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onAbortEditOperation

public void onAbortEditOperation(IWorkspaceEditEventsOnAbortEditOperationEvent theEvent)
                          throws IOException,
                                 AutomationException
This event is fired after an edit operation is aborted. Any cached row objects must be discarded / refreshed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onAbortEditOperation in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onStopEditOperation

public void onStopEditOperation(IWorkspaceEditEventsOnStopEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after an edit operation is stopped (successfully completed).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onStopEditOperation in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onUndoEditOperation

public void onUndoEditOperation(IWorkspaceEditEventsOnUndoEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after a (completed) edit operation is undone. Any cached row objects must be discarded / refreshed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onUndoEditOperation in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onRedoEditOperation

public void onRedoEditOperation(IWorkspaceEditEventsOnRedoEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after an undone edit operation is redone. Any cached row objects must be discarded / refreshed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
onRedoEditOperation in interface IWorkspaceEditEvents
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException