Getting started with the SceneControl property editor
Do the following to get started with the SceneControl property editor:
- Design a new ArcGIS Engine project in the Eclipse IDE using SceneControl (for more information, see How to build an application in Eclipse using visual beans). The following screen shot shows an example JFrame in design mode:
- Right-click the ESRI SceneControl and click Customize Java Bean; the Java Property Editor dialog box appears. The visual properties of the SceneControl, such as Border Style, Appearance, Mouse Pointer, and ToolTip Style can be set using the Java Property Editor. (To change the background color, click the Color tab on the Java Property Editor dialog box and choose a color.) See the following screen shot:
- On the Java Property Editor dialog box, click the General tab. The following table explains the other areas that can be selected under the General tab:
Label
|
SceneControl methods
|
Description
|
Default value
|
Enabled
|
Indicates whether the SceneControl can respond to user generated events.
|
True
|
|
Navigate
|
Indicates if the SceneControl performs default scene navigation in response to mouse events.
|
False
|
|
Override Document BackColor
|
Indicates whether to override the background color of the scene document.
|
False
|
|
Arrow Key Intercept
|
A property that specifies interception of key strokes that are normally handled by the container. When intercepted, the OnKeyDown and OnKeyUp events will be called.
|
0
|
|
Show Scene Tips
|
Determines whether scene tips display (if they exist) as the mouse pointer hovers over layer features.
|
False
|
|
Scene Document
|
The file name of the last scene document loaded into the control.
|
None
|
- Do the following to set the Scene Document property on the Java Property Editor dialog box for the SceneControl:
- Click the Open folder icon; the Open dialog box appears.
- On the Open dialog box, browse to the folder containing the scene document.
- Select the applicable document, then click Open; the file path of your selected document shows in the Scene Document text field.
Alternatively, the properties of the SceneControl can also be set using the Properties window in the Eclipse IDE. See the following screen shot:
The SceneControl properties can be modified using the Java Property Editor dialog box and the Properties window in the Eclipse IDE.
See Also:
ISceneControlSceneControl class
How to build an application in Eclipse using visual beans
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |