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
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
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 readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void viewAtLookAtPoint(IGlobe pGlobe, IKmlLayer pKmlLayer)
          Kml Node description.
 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

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.

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