|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.catalogUI.IGxContentsViewColumnsProxy
public class IGxContentsViewColumnsProxy
Provides access to members that control the columns of GxContentsView.
The
IGxContentsViewColumns interface serves as a
container for the GxContentsViewColumn objects contained
within the GxContentsView object. The objects in the
collection represent the columns in the tabbed display area of the
view (when Contents is the active tab).
After using the InsertColumn method to add your new
column, execute the UpdateColumn method to refresh the
column list. RemoveAllColumns will not remove the Name and
Type columns. These columns cannot be removed. Keep in mind that
removal of columns is not just for that session, it is
permanent.
The IGxContentsViewColumns interface serves as a containter for the GxContentsViewColumn objects contained within the GxContentsView object. The objects in the collection represent the columns in the tabbed display area of the view (when "Contents" is the active tab).
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IGxContentsViewColumnsProxy()
|
|
IGxContentsViewColumnsProxy(Object obj)
|
protected |
IGxContentsViewColumnsProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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). |
void |
insertColumn(int index,
IGxContentsViewColumn pColumn)
Inserts a GxContentsViewColumn before the specified index. |
void |
removeAllColumns()
Removes all columns except Name and Type column (they are always shown). |
void |
removeColumn(IGxContentsViewColumn pColumn)
Removes a GxContentsViewColumn. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
updateColumns()
Refresh columns in contents view after insert or remove columns. |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IGxContentsViewColumnsProxy()
public IGxContentsViewColumnsProxy(Object obj)
throws IOException
IOException
protected IGxContentsViewColumnsProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||