|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalogUI.GxPreview
public class GxPreview
GxView that represents the preview.
The GxPreview coclass is the only type of GxView that also is a type of GxViewContainer. The class is implemented as a tab within ArcCatalog, but within that tab it is a container for additional views. These views provide "previews" of the selected object depending on which ones are applicable. For instance, the geography and table previews are available for a shape file, while only the table preview is available for a table.
Constructor Summary | |
---|---|
GxPreview()
Constructs a GxPreview using ArcGIS Engine. |
|
GxPreview(Object obj)
Construct a GxPreview using a reference to such an object returned from ArcGIS Engine or Server. |
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. |
boolean |
equals(Object o)
Compare this object with another |
IGxView |
findView(IUID pUID,
boolean bRecursive)
Finds a view by CLSID. |
IUID |
getClassID()
The class ID of the view. |
static String |
getClsid()
getClsid. |
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. |
ISet |
getSupportedViewClassIDs()
A list of the class IDs for the views that are supported given the current selection. |
IGxView |
getView()
The current view. |
IUID |
getViewClassID()
The class ID of the current view. |
IEnumGxView |
getViews()
All Gxviews in the application. |
int |
hashCode()
the hashcode for this object |
boolean |
isSupportsTools()
Indicates if the view supports tools. |
void |
onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
Called when the selection contents have changed. |
void |
refresh()
Refreshes the view. |
void |
setViewClassID(IUID viewClassID)
The class ID of the current view. |
void |
systemSettingChanged(int flag,
String section)
Informs the view that a system setting has changed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GxPreview() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxPreview(Object obj) throws IOException
obj
to GxPreview
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GxPreview theGxPreview = (GxPreview) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
getClassID
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
getHWnd
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getDefaultToolbarCLSID
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportsTools() throws IOException, AutomationException
isSupportsTools
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean applies(IGxObject selection) throws IOException, AutomationException
applies
in interface IGxView
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.public void activate(IGxApplication application, IGxCatalog catalog) throws IOException, AutomationException
activate
in interface IGxView
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.public void deactivate() throws IOException, AutomationException
deactivate
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IGxView
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void systemSettingChanged(int flag, String section) throws IOException, AutomationException
systemSettingChanged
in interface IGxView
flag
- The flag (in)section
- The section (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxView getView() throws IOException, AutomationException
getView
in interface IGxPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getViewClassID() throws IOException, AutomationException
TheViewClassID property is used to set and retrieve the current view through its UID. Setting the UID is the only method for changing the current view within the GxPreview object.
getViewClassID
in interface IGxPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setViewClassID(IUID viewClassID) throws IOException, AutomationException
setViewClassID
in interface IGxPreview
viewClassID
- A reference to a com.esri.arcgis.system.IUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISet getSupportedViewClassIDs() throws IOException, AutomationException
getSupportedViewClassIDs
in interface IGxPreview
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent) throws IOException, AutomationException
onSelectionChanged
in interface IGxSelectionEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxView findView(IUID pUID, boolean bRecursive) throws IOException, AutomationException
findView
in interface IGxViewContainer
pUID
- A reference to a com.esri.arcgis.system.IUID (in)bRecursive
- The bRecursive (in, optional, pass false if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxView getViews() throws IOException, AutomationException
getViews
in interface IGxViewContainer
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 |