| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.catalogUI.GxContentsView
public class GxContentsView
GxView that represents the contents view.
The Explorer-style iconic view available in ArcCatalog is the GxContentsView. It shows the children of the current selection location in a variety of styles: large icons, list, report, and thumbnails. You can set the style it uses by changing the DisplayStyle property on IGxContentsView.
| Constructor Summary | |
|---|---|
GxContentsView()
Constructs a GxContentsView using ArcGIS Engine.  | 
|
GxContentsView(Object obj)
Construct a GxContentsView 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 | 
beginRename()
Starts a rename operation on the current selection.  | 
 void | 
deactivate()
Deactivates the view.  | 
 boolean | 
equals(Object o)
Compare this object with another  | 
 IUID | 
getClassID()
The class ID of the view.  | 
 void | 
getClassID(GUID[] pClassID)
getClassID  | 
static String | 
getClsid()
getClsid.  | 
 IGxContentsViewColumn | 
getColumnByIndex(int index)
A column by its index.  | 
 IGxContentsViewColumn | 
getColumnByProperty(String property)
A column by its property.  | 
 int | 
getColumnCount()
The total number of columns (include both visible and invisible columns).  | 
 IUID | 
getDefaultToolbarCLSID()
The class ID of the view's default toolbar.  | 
 int | 
getDisplayStyle()
The current display style.  | 
 int | 
getHWnd()
The view's window handle.  | 
 String | 
getName()
The name of the view.  | 
 void | 
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax  | 
 int | 
hashCode()
the hashcode for this object  | 
 void | 
insertColumn(int index,
             IGxContentsViewColumn pColumn)
Inserts a GxContentsViewColumn before the specified index.  | 
 boolean | 
isAllowMultiSelect()
Indicates if multiple objects can be selected.  | 
 void | 
isDirty()
isDirty  | 
 boolean | 
isSupportsTools()
Indicates if the view supports tools.  | 
 void | 
load(IStream pstm)
load  | 
 void | 
onObjectAdded(IGxCatalogEventsOnObjectAddedEvent theEvent)
Called when an object has been added to some part of the catalog.  | 
 void | 
onObjectChanged(IGxCatalogEventsOnObjectChangedEvent theEvent)
Called when an object in some part of the catalog has been changed.  | 
 void | 
onObjectDeleted(IGxCatalogEventsOnObjectDeletedEvent theEvent)
Called when an object has been deleted from some part of the catalog.  | 
 void | 
onObjectRefreshed(IGxCatalogEventsOnObjectRefreshedEvent theEvent)
Called when an object in some part of the catalog has been refreshed.  | 
 void | 
onRefreshAll(IGxCatalogEventsOnRefreshAllEvent theEvent)
Called when the whole catalog has changed.  | 
 void | 
onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
Called when the selection contents have changed.  | 
 void | 
readExternal(ObjectInput in)
 | 
 void | 
refresh()
Refreshes the view.  | 
 void | 
removeAllColumns()
Removes all columns except Name and Type column (they are always shown).  | 
 void | 
removeColumn(IGxContentsViewColumn pColumn)
Removes a GxContentsViewColumn.  | 
 void | 
save(IStream pstm,
     int fClearDirty)
save  | 
 void | 
setAllowMultiSelect(boolean multiSelect)
Indicates if multiple objects can be selected.  | 
 void | 
setDisplayStyle(int contentsStyle)
The current display style.  | 
 void | 
setObjectFilterByRef(IGxObjectFilter rhs1)
The object filter used for controlling what objects are displayed.  | 
 void | 
systemSettingChanged(int flag,
                     String section)
Informs the view that a system setting has changed.  | 
 void | 
updateColumns()
Refresh columns in contents view after insert or remove columns.  | 
 void | 
writeExternal(ObjectOutput out)
 | 
| 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 GxContentsView()
               throws IOException,
                      UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GxContentsView(Object obj)
               throws IOException
obj to GxContentsView.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
  GxContentsView theGxContentsView = (GxContentsView) obj;| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void onRefreshAll(IGxCatalogEventsOnRefreshAllEvent theEvent)
                  throws IOException,
                         AutomationException
onRefreshAll in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectAdded(IGxCatalogEventsOnObjectAddedEvent theEvent)
                   throws IOException,
                          AutomationException
onObjectAdded in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectDeleted(IGxCatalogEventsOnObjectDeletedEvent theEvent)
                     throws IOException,
                            AutomationException
onObjectDeleted in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectChanged(IGxCatalogEventsOnObjectChangedEvent theEvent)
                     throws IOException,
                            AutomationException
onObjectChanged in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onObjectRefreshed(IGxCatalogEventsOnObjectRefreshedEvent theEvent)
                       throws IOException,
                              AutomationException
onObjectRefreshed in interface IGxCatalogEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDisplayStyle()
                    throws IOException,
                           AutomationException
getDisplayStyle in interface IGxContentsViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayStyle(int contentsStyle)
                     throws IOException,
                            AutomationException
setDisplayStyle in interface IGxContentsViewcontentsStyle - A com.esri.arcgis.catalogUI.esriContentsViewStyle constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAllowMultiSelect()
                           throws IOException,
                                  AutomationException
isAllowMultiSelect in interface IGxContentsViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowMultiSelect(boolean multiSelect)
                         throws IOException,
                                AutomationException
setAllowMultiSelect in interface IGxContentsViewmultiSelect - The multiSelect  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setObjectFilterByRef(IGxObjectFilter rhs1)
                          throws IOException,
                                 AutomationException
setObjectFilterByRef in interface IGxContentsViewrhs1 - A reference to a com.esri.arcgis.catalog.IGxObjectFilter  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void beginRename()
                 throws IOException,
                        AutomationException
beginRename in interface IGxContentsViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void insertColumn(int index,
                         IGxContentsViewColumn pColumn)
                  throws IOException,
                         AutomationException
insertColumn in interface IGxContentsViewColumnsindex - The index  (in)pColumn - A reference to a com.esri.arcgis.catalogUI.IGxContentsViewColumn  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeColumn(IGxContentsViewColumn pColumn)
                  throws IOException,
                         AutomationException
removeColumn in interface IGxContentsViewColumnspColumn - A reference to a com.esri.arcgis.catalogUI.IGxContentsViewColumn  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAllColumns()
                      throws IOException,
                             AutomationException
removeAllColumns in interface IGxContentsViewColumnsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateColumns()
                   throws IOException,
                          AutomationException
updateColumns in interface IGxContentsViewColumnsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getColumnCount()
                   throws IOException,
                          AutomationException
getColumnCount in interface IGxContentsViewColumnsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxContentsViewColumn getColumnByIndex(int index)
                                       throws IOException,
                                              AutomationException
getColumnByIndex in interface IGxContentsViewColumnsindex - The index  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxContentsViewColumn getColumnByProperty(String property)
                                          throws IOException,
                                                 AutomationException
getColumnByProperty in interface IGxContentsViewColumnsproperty - The property  (in)
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 IGxSelectionEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
               throws IOException,
                      AutomationException
getName in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getClassID()
                throws IOException,
                       AutomationException
getClassID in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHWnd()
            throws IOException,
                   AutomationException
getHWnd in interface IGxViewIOException - 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 IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsTools()
                        throws IOException,
                               AutomationException
isSupportsTools in interface IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean applies(IGxObject selection)
                throws IOException,
                       AutomationException
applies in interface IGxViewselection - 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 IGxViewapplication - 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 IGxViewIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
             throws IOException,
                    AutomationException
refresh in interface IGxViewIOException - 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 IGxViewflag - The flag  (in)section - The section  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
             throws IOException,
                    AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream  (in)fClearDirty - The fClearDirty  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
                   throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||