Getting started with the SymbologyControl property editor
- To get started, create a new ArcGIS Engine Project in Eclipse IDE with ArcGIS plug-in and build a simple visual application using SymbologyControl.
- Right-click on SymbologyControl and choose Customize Java Bean from the context menu. The Java Property Editor appears. The visual Properties of the SymbologyControl such as Border Style, Appearance, BackGround Color, Mouse Pointer, Display Style can be set using the Java Property Editor.
The consequences of the other checkbox widgets in the Java Property Editor are explained as follows:
Label
|
SymbologyControl Methods
|
Description
|
Default Value
|
Enabled
|
Indicates whether the SymbologyControl can respond to user generated events
|
true
|
|
Show Context Menu
|
Determines whether the 'Style Class' context menu will popup when the user right clicks on the control.
|
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
|
- To set the Style Files of the SymbologyControl:
- Select Styles Tab.
- Click the Open folder icon and, onClick event an Open dialog box appears.
- In the Open dialog box, navigate to the folder containing the style files.
- Select the style file of your choice and click the Open button. You could see that the name and location of the Style File appears on the text box.
- Click Add button to add it to the list of style files in the SymbologyControl.
- Repeat the above steps as many times your business logic may require.
To remove the already added files, Select the specific style file and click Remove button.
- Alternatively, the properties of the SymbologyControl can also be modified using the properties window in Eclipse IDE.
Thus the SymbologyControl property editor avoids the redundant code that a developer might need to write time and again. It presents a convenient interface for the developers to initialize a simple ArcGIS Engine Application.
See Also:
SymbologyControl classDevelopment licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |