com.esri.arcgis.carto
Class IDataGraphProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IDataGraphProxy
All Implemented Interfaces:
IDataGraph, Externalizable, Serializable

public class IDataGraphProxy
extends com.esri.arcgis.interop.Dispatch
implements IDataGraph, Serializable

Obsolete. Provides access to members that control the old data graph.

Product Availability

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IDataGraphProxy()
           
  IDataGraphProxy(Object obj)
           
protected IDataGraphProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void attach(int hWnd)
          Attaches the DataGraph to the input window.
 void copyToClipboard()
          Copies the graph to the clipboard.
 void detach()
          Detaches the DataGraph from its current window.
 void draw()
          Updates the display of the graph based upon the associated map's current settings.
 void drawToDC(int hDC, tagRECT pOutputRect, tagRECT pGraphRect)
          Draws the graph to the input device context.
 void exportToFile(String filename)
          Exports the graph to a file.
 int getCGraphHandle()
          The CGraph handle.
 String getFieldSet1()
          First field set as a comma delimited list.
 String getFieldSet2()
          Second field set as a comma delimited list.
 String getFieldSet3()
          Third field set as a comma delimited list.
 String getFieldSet4()
          Fourth field set as a comma delimited list.
 int getMaxDataPoints()
          Maximum number of features to make the graph.
 String getName()
          Name of the graph.
 ITable getTable()
          The table of the graph.
 boolean isPreviewMode()
          Indicates if the graph is in preview mode.
 boolean isReloadAlways()
          Indicates if the graph is always reloaded.
 boolean isSeriesByRecord()
          Indicates if the records or fields for the data series is used.
 boolean isUseSelectedSet()
          Indicates if the selected set is used.
 boolean isValid()
          Indicates if the graph is currently valid.
 void loadFromFile(String filename)
          Loads the graph from a file.
 void print()
          Prints the graph.
 void readExternal(ObjectInput in)
           
 void reload()
          Loads data values from a table.
 void removeListener(String iidStr, Object theListener)
           
 void resize(int nType, int width, int height)
          Resizes the graph display.
 void saveToFile(String filename)
          Saves the graph to a file.
 void setFieldSet1(String pFields)
          First field set as a comma delimited list.
 void setFieldSet2(String pFields)
          Second field set as a comma delimited list.
 void setFieldSet3(String pFields)
          Third field set as a comma delimited list.
 void setFieldSet4(String pFields)
          Fourth field set as a comma delimited list.
 void setMaxDataPoints(int pMaxPoints)
          Maximum number of features to make the graph.
 void setName(String pName)
          Name of the graph.
 void setPreviewMode(boolean pPreview)
          Indicates if the graph is in preview mode.
 void setReloadAlways(boolean pReloadAlways)
          Indicates if the graph is always reloaded.
 void setSeriesByRecord(boolean pByRecord)
          Indicates if the records or fields for the data series is used.
 void setTableByRef(ITable ppTable)
          The table of the graph.
 void setUseSelectedSet(boolean pUseSel)
          Indicates if the selected set is used.
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDataGraphProxy

public IDataGraphProxy()

IDataGraphProxy

public IDataGraphProxy(Object obj)
                throws IOException
Throws:
IOException

IDataGraphProxy

protected IDataGraphProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isValid

public boolean isValid()
                throws IOException,
                       AutomationException
Indicates if the graph is currently valid.

Product Availability

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

Specified by:
isValid in interface IDataGraph
Returns:
The pValid
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

attach

public void attach(int hWnd)
            throws IOException,
                   AutomationException
Attaches the DataGraph to the input window.

Product Availability

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

Specified by:
attach in interface IDataGraph
Parameters:
hWnd - The hWnd (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

detach

public void detach()
            throws IOException,
                   AutomationException
Detaches the DataGraph from its current window.

Product Availability

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

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

getName

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

Product Availability

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

Specified by:
getName in interface IDataGraph
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 graph.

Product Availability

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

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

getTable

public ITable getTable()
                throws IOException,
                       AutomationException
The table of the graph.

Product Availability

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

Specified by:
getTable in interface IDataGraph
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTableByRef

public void setTableByRef(ITable ppTable)
                   throws IOException,
                          AutomationException
The table of the graph.

Product Availability

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

Specified by:
setTableByRef in interface IDataGraph
Parameters:
ppTable - A reference to a com.esri.arcgis.geodatabase.ITable (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 is used.

Product Availability

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

Specified by:
isUseSelectedSet in interface IDataGraph
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 is used.

Product Availability

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

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

isSeriesByRecord

public boolean isSeriesByRecord()
                         throws IOException,
                                AutomationException
Indicates if the records or fields for the data series is used.

Product Availability

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

Specified by:
isSeriesByRecord in interface IDataGraph
Returns:
The pByRecord
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSeriesByRecord

public void setSeriesByRecord(boolean pByRecord)
                       throws IOException,
                              AutomationException
Indicates if the records or fields for the data series is used.

Product Availability

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

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

isReloadAlways

public boolean isReloadAlways()
                       throws IOException,
                              AutomationException
Indicates if the graph is always reloaded.

Product Availability

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

Specified by:
isReloadAlways in interface IDataGraph
Returns:
The pReloadAlways
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReloadAlways

public void setReloadAlways(boolean pReloadAlways)
                     throws IOException,
                            AutomationException
Indicates if the graph is always reloaded.

Product Availability

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

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

getMaxDataPoints

public int getMaxDataPoints()
                     throws IOException,
                            AutomationException
Maximum number of features to make the graph.

Product Availability

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

Specified by:
getMaxDataPoints in interface IDataGraph
Returns:
The pMaxPoints
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxDataPoints

public void setMaxDataPoints(int pMaxPoints)
                      throws IOException,
                             AutomationException
Maximum number of features to make the graph.

Product Availability

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

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

getFieldSet1

public String getFieldSet1()
                    throws IOException,
                           AutomationException
First field set as a comma delimited list.

Product Availability

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

Specified by:
getFieldSet1 in interface IDataGraph
Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet1

public void setFieldSet1(String pFields)
                  throws IOException,
                         AutomationException
First field set as a comma delimited list.

Product Availability

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

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

getFieldSet2

public String getFieldSet2()
                    throws IOException,
                           AutomationException
Second field set as a comma delimited list.

Product Availability

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

Specified by:
getFieldSet2 in interface IDataGraph
Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet2

public void setFieldSet2(String pFields)
                  throws IOException,
                         AutomationException
Second field set as a comma delimited list.

Product Availability

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

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

getFieldSet3

public String getFieldSet3()
                    throws IOException,
                           AutomationException
Third field set as a comma delimited list.

Product Availability

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

Specified by:
getFieldSet3 in interface IDataGraph
Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet3

public void setFieldSet3(String pFields)
                  throws IOException,
                         AutomationException
Third field set as a comma delimited list.

Product Availability

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

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

getFieldSet4

public String getFieldSet4()
                    throws IOException,
                           AutomationException
Fourth field set as a comma delimited list.

Product Availability

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

Specified by:
getFieldSet4 in interface IDataGraph
Returns:
The pFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldSet4

public void setFieldSet4(String pFields)
                  throws IOException,
                         AutomationException
Fourth field set as a comma delimited list.

Product Availability

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

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

isPreviewMode

public boolean isPreviewMode()
                      throws IOException,
                             AutomationException
Indicates if the graph is in preview mode.

Product Availability

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

Specified by:
isPreviewMode in interface IDataGraph
Returns:
The pPreview
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPreviewMode

public void setPreviewMode(boolean pPreview)
                    throws IOException,
                           AutomationException
Indicates if the graph is in preview mode.

Product Availability

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

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

resize

public void resize(int nType,
                   int width,
                   int height)
            throws IOException,
                   AutomationException
Resizes the graph display.

Product Availability

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

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

reload

public void reload()
            throws IOException,
                   AutomationException
Loads data values from a table.

Product Availability

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

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

draw

public void draw()
          throws IOException,
                 AutomationException
Updates the display of the graph based upon the associated map's current settings.

Product Availability

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

Specified by:
draw in interface IDataGraph
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 graph to the input device context.

Product Availability

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

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

print

public void print()
           throws IOException,
                  AutomationException
Prints the graph.

Product Availability

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

Specified by:
print in interface IDataGraph
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 graph from a file.

Product Availability

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

Specified by:
loadFromFile in interface IDataGraph
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 graph to a file.

Product Availability

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

Specified by:
saveToFile in interface IDataGraph
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 graph to a file.

Product Availability

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

Specified by:
exportToFile in interface IDataGraph
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 graph to the clipboard.

Product Availability

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

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

getCGraphHandle

public int getCGraphHandle()
                    throws IOException,
                           AutomationException
The CGraph handle. CGraph handle can only be used with C++ clients.

Product Availability

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

Specified by:
getCGraphHandle in interface IDataGraph
Returns:
The pCGraphHandle (A COM typedef)
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
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException