com.esri.arcgis.globecore
Class ILookAtKmlNodeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.globecore.ILookAtKmlNodeProxy
All Implemented Interfaces:
ILookAtKmlNode, Externalizable, Serializable

public class ILookAtKmlNodeProxy
extends com.esri.arcgis.interop.Dispatch
implements ILookAtKmlNode, Serializable

LookAt support for a KML Node.

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
  ILookAtKmlNodeProxy()
           
  ILookAtKmlNodeProxy(Object obj)
           
protected ILookAtKmlNodeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isHasLookAtPoint()
          Can LookAt a KmlNode.
 void removeListener(String iidStr, Object theListener)
           
 void viewAtLookAtPoint(IGlobe pGlobe, IKmlLayer pKmlLayer)
          Kml Node description.
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ILookAtKmlNodeProxy

public ILookAtKmlNodeProxy()

ILookAtKmlNodeProxy

public ILookAtKmlNodeProxy(Object obj)
                    throws IOException
Throws:
IOException

ILookAtKmlNodeProxy

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

isHasLookAtPoint

public boolean isHasLookAtPoint()
                         throws IOException,
                                AutomationException
Can LookAt a KmlNode.

Description

The property returns a boolean value (true/false) indicating if the KML Node has a LookAtPoint defined in the KML file.

The LookAtPoint is specified with a "<LookAt>" tag in the KML file.

Product Availability

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

Specified by:
isHasLookAtPoint in interface ILookAtKmlNode
Returns:
The pHasLookAt
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

viewAtLookAtPoint

public void viewAtLookAtPoint(IGlobe pGlobe,
                              IKmlLayer pKmlLayer)
                       throws IOException,
                              AutomationException
Kml Node description.

Description

This method takes in as parameters a variable of type IGlobe and a variable of type IKmlLayer that is the KML layer that contains the node.

If the Node has a LookAtPoint defined then calling this method will zoom the view to the LookAtPoint.

If a Node does not have a LookAtPoint defined then calling this method will zoom to the extent of the Node and its children's geometries. If no geometry exists then calling this method on the Node will zoom the view to full extent of its parent KML layer.

Product Availability

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

Specified by:
viewAtLookAtPoint in interface ILookAtKmlNode
Parameters:
pGlobe - A reference to a com.esri.arcgis.globecore.IGlobe (in)
pKmlLayer - A reference to a com.esri.arcgis.globecore.IKmlLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.