com.esri.arcgis.carto
Class IDataGraphTProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IDataGraphBaseProxy
          extended by com.esri.arcgis.carto.IDataGraphTProxy
All Implemented Interfaces:
IDataGraphBase, IDataGraphT, Externalizable, Serializable

public class IDataGraphTProxy
extends IDataGraphBaseProxy
implements IDataGraphT, Serializable

Provides access to members that control data graph.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IDataGraphTProxy()
           
  IDataGraphTProxy(Object obj)
           
protected IDataGraphTProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 ISeriesProperties addSeries(String seriesType)
          Add series from the provided graph type.
 void exportToFileEx(String filename, int width, int height)
          Exports the data graph to a file.
 int getAxisCount()
          Amount of axis.
 IDataGraphTAxisProperties getAxisProperties(int idx)
          Properties of graph axis.
 IDataGraphTGeneralProperties getGeneralProperties()
          General properties of the graph.
 IDataGraphTLegendProperties getLegendProperties()
          Properties of graph legend.
 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 identify(int iSeries, int ptX, int ptY, Object[] pOIDs)
          Identifies object ID for the series using graph coordinates.
 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.
 void loadTemplate(String file)
          Loads graph properties from the template file.
 void removeListener(String iidStr, Object theListener)
           
 void removeSeries(ISeriesProperties pSeriesProps)
          Remove series from the graph.
 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 setSeriesOrder(ISeriesProperties pSeriesProps, int pPos)
          Position of the series in the series list of the graph.
 void update(ITrackCancel pCancel)
          Updates graph after changes in graph or series properties.
 
Methods inherited from class com.esri.arcgis.carto.IDataGraphBaseProxy
copyToClipboard, drawToDC, exportToFile, getName, isUseSelectedSet, loadFromFile, reload, saveToFile, setName, setUseSelectedSet
 
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.carto.IDataGraphBase
copyToClipboard, drawToDC, exportToFile, getName, isUseSelectedSet, loadFromFile, reload, saveToFile, setName, setUseSelectedSet
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IDataGraphTProxy

public IDataGraphTProxy()

IDataGraphTProxy

public IDataGraphTProxy(Object obj)
                 throws IOException
Throws:
IOException

IDataGraphTProxy

protected IDataGraphTProxy(Object obj,
                           String iid)
                    throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IDataGraphBaseProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IDataGraphBaseProxy
Throws:
IOException

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.