com.esri.arcgis.globecore
Class IGlobeViewerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.globecore.IGlobeViewerProxy
All Implemented Interfaces:
IGlobeViewer, Externalizable, Serializable
Direct Known Subclasses:
IGlobeViewer2Proxy

public class IGlobeViewerProxy
extends com.esri.arcgis.interop.Dispatch
implements IGlobeViewer, Serializable

Provides access to members that manipulate the globe viewer.

Superseded By

IGlobeViewer2

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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
  IGlobeViewerProxy()
           
  IGlobeViewerProxy(Object obj)
           
protected IGlobeViewerProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IGlobeDisplay getGlobeDisplay()
          The globe display.
 void getIsTargetAtCenter(boolean[] pIsAtCenter, int[] pIndexGlobe)
          Finds if the target is at the center of a globe.
 double getSpinSpeed()
          The Speed for spinning.
 boolean isHUDEnabled()
          Indicates if heads up display is enabled.
 boolean isNorthArrowEnabled()
          Indicates if the north arrow is enabled.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void setGlobeDisplayByRef(IGlobeDisplay ppGlobeDisplay)
          The globe display.
 void setHUDEnabled(boolean pbHUD)
          Indicates if heads up display is enabled.
 void setNorthArrowEnabled(boolean pbNorthArrow)
          Indicates if the north arrow is enabled.
 void setSpinSpeed(double spinSpeed)
          The Speed for spinning.
 void startSpinning(int spinDirection)
          Starts the globe spinning.
 void stopSpinning()
          Stops the globe from further spinning.
 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

IGlobeViewerProxy

public IGlobeViewerProxy()

IGlobeViewerProxy

public IGlobeViewerProxy(Object obj)
                  throws IOException
Throws:
IOException

IGlobeViewerProxy

protected IGlobeViewerProxy(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

startSpinning

public void startSpinning(int spinDirection)
                   throws IOException,
                          AutomationException
Starts the globe spinning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
startSpinning in interface IGlobeViewer
Parameters:
spinDirection - A com.esri.arcgis.globecore.esriGlobeSpinDirection constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopSpinning

public void stopSpinning()
                  throws IOException,
                         AutomationException
Stops the globe from further spinning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setSpinSpeed

public void setSpinSpeed(double spinSpeed)
                  throws IOException,
                         AutomationException
The Speed for spinning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getSpinSpeed

public double getSpinSpeed()
                    throws IOException,
                           AutomationException
The Speed for spinning.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSpinSpeed in interface IGlobeViewer
Returns:
The spinSpeed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGlobeDisplay

public IGlobeDisplay getGlobeDisplay()
                              throws IOException,
                                     AutomationException
The globe display.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGlobeDisplay in interface IGlobeViewer
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeDisplay
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGlobeDisplayByRef

public void setGlobeDisplayByRef(IGlobeDisplay ppGlobeDisplay)
                          throws IOException,
                                 AutomationException
The globe display.

Product Availability

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

Specified by:
setGlobeDisplayByRef in interface IGlobeViewer
Parameters:
ppGlobeDisplay - A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIsTargetAtCenter

public void getIsTargetAtCenter(boolean[] pIsAtCenter,
                                int[] pIndexGlobe)
                         throws IOException,
                                AutomationException
Finds if the target is at the center of a globe.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getIsTargetAtCenter in interface IGlobeViewer
Parameters:
pIsAtCenter - The pIsAtCenter (out: use single element array)
pIndexGlobe - The pIndexGlobe (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNorthArrowEnabled

public void setNorthArrowEnabled(boolean pbNorthArrow)
                          throws IOException,
                                 AutomationException
Indicates if the north arrow is enabled.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isNorthArrowEnabled

public boolean isNorthArrowEnabled()
                            throws IOException,
                                   AutomationException
Indicates if the north arrow is enabled.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isNorthArrowEnabled in interface IGlobeViewer
Returns:
The pbNorthArrow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHUDEnabled

public void setHUDEnabled(boolean pbHUD)
                   throws IOException,
                          AutomationException
Indicates if heads up display is enabled.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isHUDEnabled

public boolean isHUDEnabled()
                     throws IOException,
                            AutomationException
Indicates if heads up display is enabled.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isHUDEnabled in interface IGlobeViewer
Returns:
The pbHUD
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