|
|||||||||
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.arcglobe.IGMxApplicationProxy
public class IGMxApplicationProxy
Provides access to members that control the ArcGlobe Application object.
The IGMxApplication interface contains methods/properties to customize the ArGlobe desktop application and allows you to manipulate ArcGlobe application specific properties and methods, such as create a new secondary viewer, setting the default background sky color, making the TOC visible, copying to clipboard and exporting the current display to 2D images. In order to change the sky background color, DefaultHighBackgroundColor and DefaultLowBackgroundColor can be used to change the color of the background color when at a higher and lower altitudes, respectively. For specifying the low and high altitudes of the transition distance within which the sky background color changes from default low background color to default high background color, the SetDefaultBackGroundTransitionDistances can be used.
To create a secondary viewer for viewing data in a different perspective, the CreateSubView method is used. The ShowTOC method and TOCVisible boolean property can be used to the show/hide the Table of Contents dockable window. SetDefaultContentsView can be used to set the default TOC view to the current ative Table of Contents view.
Inorder to clear/suspend/restore animated gestrues with the Navigation tool in ArcGlobe, you can use the ClearGesture, SuspendGesture, RestoreGesture methods.
IApplication
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IGMxApplicationProxy()
|
|
IGMxApplicationProxy(Object obj)
|
protected |
IGMxApplicationProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
clearGesture()
Clears gesture. |
void |
copyToClipboard()
Copies the current scene to the Clipboard. |
void |
createSubView()
Makes a new viewer. |
void |
export2d()
Exports the Current Document to a 2d file format. |
void |
export3d()
Exports the Current Document to a 3d file format. |
String |
getBuildNum()
The build number. |
void |
getDefaultBackgroundTransitionDistances(float[] lowAltitude,
float[] highAltitude)
The Default Background Transition Distances for New Documents. |
IRgbColor |
getDefaultHighBackgroundColor()
The Default High Background Color for New Documents. |
IRgbColor |
getDefaultLowBackgroundColor()
The Default Low Background Color for New Documents. |
IPage |
getPage()
The current page settings. |
IPaper |
getPaper()
The current paper settings. |
IPrinter |
getPrinter()
The current printer settings. |
ISelectionEnvironment |
getSelectionEnvironment()
The selection environment. |
boolean |
isTOCVisible()
Indicates if the TOC is visible. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
restoreGesture()
Restores gesture. |
void |
setDefaultBackgroundTransitionDistances(float lowAltitude,
float highAltitude)
The Default Background Transition Distances for New Documents. |
void |
setDefaultContentsViews()
Set current TOC configuration as defaults in Normal.3dt. |
void |
setDefaultHighBackgroundColor(IRgbColor ppRgbColor)
The Default High Background Color for New Documents. |
void |
setDefaultLowBackgroundColor(IRgbColor ppRgbColor)
The Default Low Background Color for New Documents. |
void |
setPrinterByRef(IPrinter printer)
The current printer settings. |
void |
showContextMenu(int x,
int y)
Displays a context menu for the current selection. |
void |
showTOC(boolean bShow)
Displays the table content. |
void |
suspendGesture()
Suspends gesture. |
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 IGMxApplicationProxy()
public IGMxApplicationProxy(Object obj) throws IOException
IOException
protected IGMxApplicationProxy(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 void showContextMenu(int x, int y) throws IOException, AutomationException
showContextMenu
in interface IGMxApplication
x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isTOCVisible() throws IOException, AutomationException
isTOCVisible
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void showTOC(boolean bShow) throws IOException, AutomationException
The ShowTOC method allows you to show/hide the Table of Contents (TOC) dockable window. The state of the TOC is applied to the current and new globe documents.
showTOC
in interface IGMxApplication
bShow
- The bShow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createSubView() throws IOException, AutomationException
Similar to the main viewer, secondary viewers allow you to display the data in perspective,which is independent from the perspective of the main viewer. This helps in viewing the same data from different directions.
createSubView
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void export2d() throws IOException, AutomationException
export2d
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void export3d() throws IOException, AutomationException
export3d
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copyToClipboard() throws IOException, AutomationException
copyToClipboard
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPrinterByRef(IPrinter printer) throws IOException, AutomationException
setPrinterByRef
in interface IGMxApplication
printer
- A reference to a com.esri.arcgis.output.IPrinter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPrinter getPrinter() throws IOException, AutomationException
getPrinter
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPaper getPaper() throws IOException, AutomationException
getPaper
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPage getPage() throws IOException, AutomationException
getPage
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionEnvironment getSelectionEnvironment() throws IOException, AutomationException
getSelectionEnvironment
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRgbColor getDefaultHighBackgroundColor() throws IOException, AutomationException
getDefaultHighBackgroundColor
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultHighBackgroundColor(IRgbColor ppRgbColor) throws IOException, AutomationException
This property allows you to change the sky background color when viewing the globe at high altitudes. The altitude, upto which this background color is visible, can be set using IGMxAppilcation::SetDefaultBackGroundTransitionDistances method.
By default, the default high background color is set to black. Changing the default high color is reflected in new documents.
setDefaultHighBackgroundColor
in interface IGMxApplication
ppRgbColor
- A reference to a com.esri.arcgis.display.IRgbColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRgbColor getDefaultLowBackgroundColor() throws IOException, AutomationException
getDefaultLowBackgroundColor
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultLowBackgroundColor(IRgbColor ppRgbColor) throws IOException, AutomationException
This property allows you to change the sky background color when viewing the globe at low altitude. The altitude, upto which this background color is visible, can be set using IGMxAppilcation::SetDefaultBackGroundTransitionDistances method.
By default, the default low background color is set to sky blue. Changing the default low color is reflected in new documents.
setDefaultLowBackgroundColor
in interface IGMxApplication
ppRgbColor
- A reference to a com.esri.arcgis.display.IRgbColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getDefaultBackgroundTransitionDistances(float[] lowAltitude, float[] highAltitude) throws IOException, AutomationException
getDefaultBackgroundTransitionDistances
in interface IGMxApplication
lowAltitude
- The lowAltitude (out: use single element array)highAltitude
- The highAltitude (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultBackgroundTransitionDistances(float lowAltitude, float highAltitude) throws IOException, AutomationException
setDefaultBackgroundTransitionDistances
in interface IGMxApplication
lowAltitude
- The lowAltitude (in)highAltitude
- The highAltitude (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearGesture() throws IOException, AutomationException
ClearGesture clears/disables the animated rotation gesture. This is similar to hitting the Escape key to stop the animated rotation with the Navaigate tool.
clearGesture
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void suspendGesture() throws IOException, AutomationException
SuspendGesture suspends the animated rotation gesture. This method allows you to suspend the animated rotation (enabled with the Navigate tool) when a different tool such as the Fly tool is chosen.
suspendGesture
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreGesture() throws IOException, AutomationException
RestoreGesture restores the animated rotation gesture. This method allows you to restore the animated rotation when the Navigate tool is chosen after a different tool such as the Fly tool was chosen.
restoreGesture
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getBuildNum() throws IOException, AutomationException
getBuildNum
in interface IGMxApplication
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultContentsViews() throws IOException, AutomationException
SetDefaultContentsView sets the TOC view of new ArcGlobe documents to be the TOC view of the current ArcGlobe document. ArcGlobe supports three TOC views - Display (esriArcGlobe::TOCGMxDisplayView), Source (esriArcGlobe::TOCGMxCatalogView), and Type (esriArcGlobe::TOCGMxTypeView ). Only one contents view can be active at a time.
setDefaultContentsViews
in interface IGMxApplication
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 |