|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGxView
Provides access to members that control the GxView.
A GxView must minimally support the IGxView interface, which ArcCatalog uses to negotiate with the view. It asks the view for an HWND to display through the hWnd property. It reparents this HWND so that it is a child of an ArcCatalog HWND, and guarantees events are passed to the HWND correctly, and that it is resized when the ArcCatalog window is resized. Developers wishing to create their own custom views must implement this interface.
Use the Activate property to hold on to the GxApplication and GxCatalog objects that are passed in as parameters. The Deactivate property is used to release these references.
DefaultToolbarCLSID provides a reference to the default toolbar for the particular view. The default toolbar for a view would contain tools that were appropriate for the current type of GxView.
If the SupportsTools property returns True, ArcCatalog will intercept mouse events normally destined for the view, and instead send them to the active tool.
Method Summary | |
---|---|
void |
activate(IGxApplication application,
IGxCatalog catalog)
Activates the view. |
boolean |
applies(IGxObject selection)
Indicates if the view can display the given object. |
void |
deactivate()
Deactivates the view. |
IUID |
getClassID()
The class ID of the view. |
IUID |
getDefaultToolbarCLSID()
The class ID of the view's default toolbar. |
int |
getHWnd()
The view's window handle. |
String |
getName()
The name of the view. |
boolean |
isSupportsTools()
Indicates if the view supports tools. |
void |
refresh()
Refreshes the view. |
void |
systemSettingChanged(int flag,
String section)
Informs the view that a system setting has changed. |
Method Detail |
---|
String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUID getClassID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHWnd() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUID getDefaultToolbarCLSID() throws IOException, AutomationException
DefaultToolbarCLSID provides a reference to the default toolbar for the particular view. The default toolbar for a view would contain tools that were appropriate for the current type of GxView.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSupportsTools() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean applies(IGxObject selection) throws IOException, AutomationException
selection
- A reference to a com.esri.arcgis.catalog.IGxObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void activate(IGxApplication application, IGxCatalog catalog) throws IOException, AutomationException
application
- A reference to a com.esri.arcgis.catalogUI.IGxApplication (in)catalog
- A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deactivate() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refresh() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void systemSettingChanged(int flag, String section) throws IOException, AutomationException
flag
- The flag (in)section
- The section (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 |