|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGxContentsViewColumns
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).
Method Summary | |
---|---|
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 |
updateColumns()
Refresh columns in contents view after insert or remove columns. |
Method Detail |
---|
void insertColumn(int index, IGxContentsViewColumn pColumn) throws IOException, AutomationException
index
- 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.void removeColumn(IGxContentsViewColumn pColumn) throws IOException, AutomationException
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.void removeAllColumns() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateColumns() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getColumnCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGxContentsViewColumn getColumnByIndex(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGxContentsViewColumn getColumnByProperty(String property) throws IOException, AutomationException
property
- 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 |