|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.esri.arcgis.beans.scene.SceneBean
The SceneBean is a wrapper class of SceneControl to
facilitate the use of SceneControl at the design time. Users could access
the actual control by getSceneControl method.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected SceneControl |
m_sceneControl
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
SceneBean()
Default constructor |
|
| Method Summary | |
void |
aboutBox()
Displays a dialog of information about the SceneControl. |
void |
addISceneControlEventsListener(ISceneControlEventsAdapter theListener)
|
void |
addITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
|
boolean |
checkSxFile(java.lang.String filename)
Checks if a filename is a scene document. |
void |
enumConnectionPoints(IEnumConnectionPoints[] iEnumConnectionPointsArray)
Supported Platforms |
boolean |
esri_isEnabled()
Indicates whether the SceneControl can respond to user generated events. |
void |
esri_setEnabled(boolean rhs1)
Indicates whether the SceneControl can respond to user generated events. |
void |
findConnectionPoint(GUID gUID,
IConnectionPoint[] iConnectionPointArray)
Supported Platforms |
IActiveView |
getActiveView()
Returns the underlying object implementing basic map and ActiveView. |
int |
getAppearance()
The appearance of the SceneControl. |
IConnectionPointContainer |
getAsIConnectionPointContainer()
|
IPersist |
getAsIPersist()
|
IPersistStreamInit |
getAsIPersistStreamInit()
|
ISceneControl |
getAsISceneControl()
|
ISceneControlDefault |
getAsISceneControlDefault()
|
ISupportErrorInfo |
getAsISupportErrorInfo()
|
ITOCBuddy |
getAsITOCBuddy()
|
IToolbarBuddy |
getAsIToolbarBuddy()
|
int |
getBackColor()
Background color of the SceneControl. |
int |
getBorderStyle()
The border style of the SceneControl. |
java.lang.Object |
getBuddyControl()
|
ICamera |
getCamera()
The Camera object associated with the SceneControl. |
void |
getClassID(GUID[] gUIDArray)
Supported Platforms |
ITool |
getCurrentTool()
Current active tool for the SceneControl. |
java.lang.Object |
getCustomProperty()
A property to associate data with a control. |
java.lang.String |
getDocumentFilename()
The filename of the last scene document loaded into the control. |
int |
getHWnd()
Handle to the window associated with the SceneControl. |
Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this interface indicates the implementing class references. |
int |
getKeyIntercept()
A property that specifies interception of key strokes that are normally handled by the container. |
Picture |
getMouseIcon()
Custom mouse icon used if MousePointer is 99. |
int |
getMousePointer()
The mouse pointer displayed over the SceneControl. |
java.lang.Object |
getObject()
A property that returns the underlying control. |
double |
getScale(IBasicMap pBasicMap)
Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap. |
IScene |
getScene()
The Scene object associated with the SceneControl. |
SceneControl |
getSceneControl()
Returns the actual SceneControl |
ISceneGraph |
getSceneGraph()
The SceneGraph object associated with the SceneControl. |
ISceneViewer |
getSceneViewer()
The SceneViewer associated with the SceneControl. |
void |
getSizeMax(_ULARGE_INTEGER[] _ULARGE_INTEGERArray)
Supported Platforms |
int |
getTipDelay()
The delay before scene tips are shown. |
int |
getTipStyle()
The style of scene tips. |
void |
initNew()
Supported Platforms |
void |
interfaceSupportsErrorInfo(GUID gUID)
Supported Platforms |
void |
isDirty()
Supported Platforms |
boolean |
isNavigate()
Indicates if the SceneControl performs default scene navigation in response to mouse events. |
boolean |
isOverrideBackColor()
Indicates whether to override the background color of the scene document. |
boolean |
isShowSceneTips()
Indicates if scene tips are shown. |
void |
load(IStream pStm)
Supported Platforms |
void |
loadSxFile(java.lang.String sxPath)
Loads a scene document into the SceneControl. |
void |
paint(java.awt.Graphics g)
Paints this component. |
void |
release()
Release this COM object reference |
void |
removeISceneControlEventsListener(ISceneControlEventsAdapter theListener)
|
void |
removeITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
|
void |
save(IStream pStm,
int fClearDirty)
Supported Platforms |
void |
setAppearance(int appearance)
The appearance of the SceneControl. |
void |
setBackColor(int rhs1)
Background color of the SceneControl. |
void |
setBorderStyle(int rhs1)
The border style of the SceneControl. |
void |
setCameraByRef(ICamera rhs1)
The Camera object associated with the SceneControl. |
void |
setCurrentToolByRef(ITool rhs1)
Current active tool for the SceneControl. |
void |
setCustomProperty(java.lang.Object rhs1)
A property to associate data with a control. |
void |
setDocumentFilename(java.lang.String filename)
The filename of the last scene document loaded into the control. |
void |
setKeyIntercept(int key)
A property that specifies interception of key strokes that are normally handled by the container. |
void |
setLayout(java.awt.LayoutManager layout)
Overrides the setLayout method of super class. |
void |
setMouseIconByRef(Picture picture)
Custom mouse icon used if MousePointer is 99. |
void |
setMousePointer(int pointer)
The mouse pointer displayed over the SceneControl. |
void |
setNavigate(boolean rhs1)
Indicates if the SceneControl performs default scene navigation in response to mouse events. |
void |
setOverrideBackColor(boolean rhs1)
Indicates whether to override the background color of the scene document. |
void |
setSceneGraphByRef(ISceneGraph rhs1)
The SceneGraph object associated with the SceneControl. |
void |
setShowSceneTips(boolean rhs1)
Indicates if scene tips are shown. |
void |
setTipDelay(int rhs1)
The delay before scene tips are shown. |
void |
setTipStyle(int style)
The style of scene tips. |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected SceneControl m_sceneControl
| Constructor Detail |
public SceneBean()
| Method Detail |
public void setLayout(java.awt.LayoutManager layout)
setLayout method of super class.
layout - LayoutManager - a LayoutManager object.public SceneControl getSceneControl()
public void paint(java.awt.Graphics g)
g - the graphics context to use for paintingpublic java.lang.Object getBuddyControl()
getBuddyControl in interface BuddyControl
public int getAppearance()
throws java.io.IOException
ISceneControlDefaultReturns or sets the paint style of a SceneControl to either Flat or 3D. By default the appearance is flat.
getAppearance in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void setAppearance(int appearance)
throws java.io.IOException
ISceneControlDefault
setAppearance in interface ISceneControlDefaultappearance - A com.esri.arcgis.controls.esriControlsAppearance constant (in)
java.io.IOException - If there are interop problems.
public int getBorderStyle()
throws java.io.IOException
ISceneControlDefaultReturns or sets the border style of a SceneControl. By default a border is drawn.
getBorderStyle in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void setBorderStyle(int rhs1)
throws java.io.IOException
ISceneControlDefault
setBorderStyle in interface ISceneControlDefaultrhs1 - A com.esri.arcgis.controls.esriControlsBorderStyle constant (in)
java.io.IOException - If there are interop problems.
public int getMousePointer()
throws java.io.IOException
ISceneControlDefaultUse this property when you want to indicate changes in functionality as the mouse pointer passes over the SceneControl. The esriPointerArrowHourglass setting (11) is useful for indicating that the user should wait for a process or operation to finish.
getMousePointer in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void setMousePointer(int pointer)
throws java.io.IOException
ISceneControlDefault
setMousePointer in interface ISceneControlDefaultpointer - A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
java.io.IOException - If there are interop problems.
public int getTipStyle()
throws java.io.IOException
ISceneControlDefaultReturns or sets the TipStyle used by the scene tips when ShowSceneTips is set to true to either solid or transparent. By default the TipStyle is solid.
getTipStyle in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void setTipStyle(int style)
throws java.io.IOException
ISceneControlDefault
setTipStyle in interface ISceneControlDefaultstyle - A com.esri.arcgis.systemUI.esriTipStyle constant (in)
java.io.IOException - If there are interop problems.
public boolean esri_isEnabled()
throws java.io.IOException
ISceneControlDefault
esri_isEnabled in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void esri_setEnabled(boolean rhs1)
throws java.io.IOException
ISceneControlDefault
esri_setEnabled in interface ISceneControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
public int getKeyIntercept()
throws java.io.IOException
ISceneControlDefaultReturns or sets keys on the keyboard that will be intercepted by the SceneControl, triggering the OnKeyDown and OnKeyUp events when pressed. These keys are often hidden from the SceneControl by the development environment container. By default the KeyIntercept is set to esriKeyInterceptNone.
Many development environment containers use the up, down, left and right arrow keys to change control focus on a form. These keys can also be useful for navigating around the display. To intercept the arrow keys and the Tab key combine the enum values using a logical OR operation (esriKeyInterceptArrowKeys OR esriKeyInterceptTabKey, which is 1 OR 4 = 5).
getKeyIntercept in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void setKeyIntercept(int key)
throws java.io.IOException
ISceneControlDefault
setKeyIntercept in interface ISceneControlDefaultkey - The rhs1 (in)
java.io.IOException - If there are interop problems.
public int getBackColor()
throws java.io.IOException
ISceneControlDefaultReturns or sets the Background Color of the SceneControl. Internally the OLE_Color is stored as a long integer where the value may be calculated for any RGB combination as follows:
OLE_Color = (Red) + (Green * 256) + (Blue * 256 * 256)
Where Red, Green and Blue are Long Integers within the range 0 - 255.
To ensure the BackColor property overrides any background color set in a scene document, set the OverrideBackColor to true.
getBackColor in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
public void setBackColor(int rhs1)
throws java.io.IOException
ISceneControlDefault
setBackColor in interface ISceneControlDefaultrhs1 - The rhs1 (A COM typedef) (in)
java.io.IOException - If there are interop problems.
public void setDocumentFilename(java.lang.String filename)
throws java.io.IOException
ISceneControlDefault
setDocumentFilename in interface ISceneControlDefaultfilename - The rhs1 (in)
java.io.IOException - If there are interop problems.
public java.lang.String getDocumentFilename()
throws java.io.IOException
ISceneControlDefaultReturns the DocumentFilename of the last document loaded into the SceneControl with the LoadSxFile method. An empty string will be returned if no document is loaded.
getDocumentFilename in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.public ISceneControlDefault getAsISceneControlDefault()
public ISceneControl getAsISceneControl()
public ITOCBuddy getAsITOCBuddy()
public IToolbarBuddy getAsIToolbarBuddy()
public IConnectionPointContainer getAsIConnectionPointContainer()
public IPersistStreamInit getAsIPersistStreamInit()
public IPersist getAsIPersist()
public ISupportErrorInfo getAsISupportErrorInfo()
public void addISceneControlEventsListener(ISceneControlEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public void removeISceneControlEventsListener(ISceneControlEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public void addITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public void removeITOCBuddyEventsListener(ITOCBuddyEventsAdapter theListener)
throws java.io.IOException
java.io.IOException
public java.lang.Object getObject()
throws java.io.IOException,
AutomationException
ISceneControlDefaultIn some development environments it is not possible to query interface directly on the control to other COM interfaces, beacuse the control is contained within a wrapper object. To get the real control use the Object property.
getObject in interface ISceneControlDefaultAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getHWnd()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThe operating environment identifies each window, form and control in an application by assigning it a handle, or hWnd. Many ArcObjects methods and Windows API calls require the hWnd as an argument.
getHWnd in interface ISceneControlDefaultAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void loadSxFile(java.lang.String sxPath)
throws java.io.IOException,
AutomationException
ISceneControlDefaultLoads a Scene document (*.sxd) into the SceneControl. Use the CheckSxFile method to determine if the specified scene document is a valid scene document.
loadSxFile in interface ISceneControlDefaultsxPath - The sxPath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IScene getScene()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThis is a shortcut to the ISceneGraph::Scene property.
getScene in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISceneGraph getSceneGraph()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThis is a shortcut to the ISceneViewer::SceneGraph property.
getSceneGraph in interface ISceneControlDefaultAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSceneGraphByRef(ISceneGraph rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setSceneGraphByRef in interface ISceneControlDefaultrhs1 - A reference to a com.esri.arcgis.analyst3d.ISceneGraph (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISceneViewer getSceneViewer()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThis is the SceneViewer contained within the SceneControl.
getSceneViewer in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICamera getCamera()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThis is a shortcut to the ISceneViewer::Camera property.
getCamera in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCameraByRef(ICamera rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setCameraByRef in interface ISceneControlDefaultrhs1 - A reference to a com.esri.arcgis.analyst3d.ICamera (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITool getCurrentTool()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThe CurrentTool is the tool used to interact will the SceneControl's display. Always check if a tool is enabled before setting it to the CurrentTool property, otherwise a user will be able to use a tool that is actually disabled.
When the CurrentTool is set the following events occur:
Within an ITool implementation it is recommended that the ITool::Deactivate event returns true. This allows a 'new' CurrentTool to be set, and allows the release of the CurrentTool when an application is shutting down.
getCurrentTool in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentToolByRef(ITool rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setCurrentToolByRef in interface ISceneControlDefaultrhs1 - A reference to a com.esri.arcgis.systemUI.ITool (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isNavigate()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThe Navigate property determines whether the default SceneControl navigation functionality is enabled at run time. By default the Navigate property is set to false. When the Navigate property is set to true, the end user can use the left mouse button to navigate backwards and forwards and to the left and right of the display, and the right mouse button to zoom in and out on the display.
When the Navigate property is set to true, the OnMouseDown, OnMouseMove, OnMouseUp events are being intercepted. As such, care must be taken by developers to avoid the display becoming confused when:
isNavigate in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNavigate(boolean rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setNavigate in interface ISceneControlDefaultrhs1 - The rhs1 (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean checkSxFile(java.lang.String filename)
throws java.io.IOException,
AutomationException
ISceneControlDefaultDetermines whether the specified Scene Document (*.sxd) is a valid scene document and can be loaded into the SceneControl. The method verifies the file exists and verifies the file internals conform to an expected storage format. The method does not read and validate the entire contents of the file; use the LoadSxFile to do this.
checkSxFile in interface ISceneControlDefaultfilename - The fileName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getCustomProperty()
throws java.io.IOException,
AutomationException
ISceneControlDefaultUse the CustomProperty to associate any useful data with the SceneControl. This is similar to a 'Tag' property, and can be use to store strings, numbers and objects.
getCustomProperty in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(java.lang.Object rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setCustomProperty in interface ISceneControlDefaultrhs1 - A Variant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setOverrideBackColor(boolean rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setOverrideBackColor in interface ISceneControlDefaultrhs1 - The rhs1 (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isOverrideBackColor()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThe OverrideBackColor property determines whether the background color of any document loaded into the SceneControl is overriden and replaced with the SceneControl's BackColor. By default this property is false.
isOverrideBackColor in interface ISceneControlDefaultAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShowSceneTips(boolean rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setShowSceneTips in interface ISceneControlDefaultrhs1 - The rhs1 (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isShowSceneTips()
throws java.io.IOException,
AutomationException
ISceneControlDefaultDetermines whether scene tips are displayed (if they exist) as the mouse moves over layer features. By default the ShowSceneTips property is set to false.
isShowSceneTips in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTipDelay(int rhs1)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setTipDelay in interface ISceneControlDefaultrhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTipDelay()
throws java.io.IOException,
AutomationException
ISceneControlDefaultReturns or sets the time delay in milliseconds before scene tips are displayed. By default TipDelay is 500 milliseconds.
getTipDelay in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IActiveView getActiveView()
throws java.io.IOException,
AutomationException
ITOCBuddyThe GetActiveView method returns the IActiveView interface of the ITOCControl::Buddy. This will either be a Map, PageLayout, Scene or Globe.
getActiveView in interface ITOCBuddyAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getScale(IBasicMap pBasicMap)
throws java.io.IOException,
AutomationException
ITOCBuddyThe GetScale method returns scale of the supplied Map or Scene. If the scale is unknown the GetScale method returns 0.0.
getScale in interface ITOCBuddypBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pStm)
throws java.io.IOException,
AutomationException
IPersistStreamInit
load in interface IPersistStreamInitpStm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pStm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamInit
save in interface IPersistStreamInitpStm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public Dispatch getJintegraDispatch()
RemoteObjRef
getJintegraDispatch in interface RemoteObjRefpublic void release()
RemoteObjRef
release in interface RemoteObjRef
public void setMouseIconByRef(Picture picture)
throws java.io.IOException,
AutomationException
ISceneControlDefault
setMouseIconByRef in interface ISceneControlDefaultpicture - A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Picture getMouseIcon()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThe MouseIcon property provides a custom icon that is used when the MousePointer property is set to esriPointerArrowHourglass (99).
In most development evironments the control's property pages can be used to load either a cursor (.cur) or icon (.ico) file. A cursor contains a custom 'hotspot' location and can be any size. The 'hotspot' location for an icon file defaults to the center of the icon. This property cannot be used to load animated cursor (.ani) files.
To programatically create an object implementing IPictureDisp there is the win32 function OleLoadPicture or helper methods depending on the development environment.
getMouseIcon in interface ISceneControlDefaultAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void aboutBox()
throws java.io.IOException,
AutomationException
ISceneControlDefaultThe AboutBox method causes a modal dialog box to display on top of the SceneControl, containing information about the version and creation date of the SceneControl as well as listing relevant legal and copyright information from ESRI.
aboutBox in interface ISceneControlDefaultjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] iEnumConnectionPointsArray)
throws java.io.IOException,
AutomationException
IConnectionPointContainerIConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContaineriEnumConnectionPointsArray - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID gUID,
IConnectionPoint[] iConnectionPointArray)
throws java.io.IOException,
AutomationException
IConnectionPointContainerIConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainergUID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)iConnectionPointArray - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] gUIDArray)
throws java.io.IOException,
AutomationException
IPersistIPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistgUIDArray - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamInit
isDirty in interface IPersistStreamInitAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getSizeMax(_ULARGE_INTEGER[] _ULARGE_INTEGERArray)
throws java.io.IOException,
AutomationException
IPersistStreamInit
getSizeMax in interface IPersistStreamInit_ULARGE_INTEGERArray - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void initNew()
throws java.io.IOException,
AutomationException
IPersistStreamInit
initNew in interface IPersistStreamInitjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID gUID)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInfogUID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||