|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.globecore.ILookAtKmlNodeProxy
public class ILookAtKmlNodeProxy
LookAt support for a KML Node.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public ILookAtKmlNodeProxy()
public ILookAtKmlNodeProxy(Object obj) throws IOException
IOException
protected ILookAtKmlNodeProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public boolean isHasLookAtPoint() throws IOException, AutomationException
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.
isHasLookAtPoint
in interface ILookAtKmlNode
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void viewAtLookAtPoint(IGlobe pGlobe, IKmlLayer pKmlLayer) throws IOException, AutomationException
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.
viewAtLookAtPoint
in interface ILookAtKmlNode
pGlobe
- A reference to a com.esri.arcgis.globecore.IGlobe (in)pKmlLayer
- A reference to a com.esri.arcgis.globecore.IKmlLayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |