|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabaseui.TableView
public class TableView
Window to display Tables.
| Constructor Summary | |
|---|---|
TableView()
Constructs a TableView using ArcGIS Engine. |
|
TableView(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TableView theTableView = (TableView) obj; |
|
| Method Summary | |
|---|---|
void |
addITableViewEventsListener(ITableViewEvents theListener)
addITableViewEventsListener. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
drawSelectedShapes(IDisplay pDisplay)
Draws selected features on display. |
void |
editChanged()
Call after start or stop editing, to update table grid. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
executeOptionCommand(int option)
Executes a command in the option menu. |
static String |
getClsid()
getClsid. |
int |
getCurrentCol()
The current col (FDO field index) the user is on. |
int |
getCurrentRow(boolean isOid)
The current row the user is on. |
int |
getFullTableWidth()
Table width of all columns, and scroll bars. |
int |
getLeftCol()
Gets the left visible column of the view window. |
int |
getRecommendMinimumTableWidth()
Recommend minimum table width, that will ensure all controls can be seen. |
int |
getRecordCount()
Number of records read. |
ISelectionSet |
getSelectionSet()
Selection set of records to show/select. |
ITable |
getTable()
Table to view/edit. |
ITableFields |
getTableFields()
The collection of field information for the table being viewed/edited. |
int |
getTopRow()
Gets the top visible row of the view window. |
int |
hashCode()
the hashcode for this object |
void |
insertNextRowAt(int placement,
int oid)
Determines where the next insert record is inserted when OnCreate is fired. |
boolean |
isAllowEditing()
Editing allowed on the table. |
boolean |
isAreAllRecordsRead()
Indicates whether all records have been read by the table window. |
boolean |
isEditing()
Indicates whether the table window is in an editing session. |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isMetafileDirty()
Indicates whether the metafile needs to be re-generated next time when Output is called. |
boolean |
isShowAliasNamesInColumnHeadings()
Show alias names or the real field name in column headings. |
boolean |
isShowSelected()
Show only features that are selected. |
int |
output(int hDC,
int dpi,
int left,
int top,
int width,
int height,
int startRow,
int startCol)
Draw the table to the specified device context, and return windows enhanced metafile. |
void |
readToEndOfTable()
Read all the OIDs/Rows in the table. |
void |
redraw()
Redraws the grid. |
void |
removeAndReloadCache()
Lose cache, so the table window is current with the underlying database. |
void |
removeITableViewEventsListener(ITableViewEvents theListener)
removeITableViewEventsListener. |
void |
rereadFIDs(ISelectionSet pSelection)
ReReads rows. |
void |
setAllowAddRow(boolean rhs1)
Allow add row to be displayed during editing. |
void |
setAllowDeleteRow(boolean rhs1)
Allow delete row during editing. |
void |
setAllowEditing(boolean rhs1)
Allow editing. |
void |
setCallbackByRef(ITableViewCallback rhs1)
The call back routine. |
void |
setCellFont(int oid,
String fieldName,
IColor pCellColor,
IFont pTextFont,
IColor pTextColor)
Overrides the font setting for table cells. |
void |
setCurrentRow(boolean isOid,
int rowNumber)
The current row the user is on. |
void |
setHideOptionsButton(boolean rhs1)
Hides the options button. |
void |
setHideViewToggleButtons(boolean rhs1)
Hides the view toggle buttons. |
void |
setIsMetafileDirty(boolean pIsDirty)
Indicates whether the metafile needs to be re-generated next time when Output is called. |
void |
setPosition(int left,
int top,
int width,
int height)
Sets the position of the view window. |
void |
setQueryFilterByRef(IQueryFilter rhs1)
QueryFilter of records to show. |
void |
setSelectionSetByRef(ISelectionSet ppSelection)
Selection set of records to show/select. |
void |
setSelectToggleAlwaysEnabled(boolean rhs1)
Ensures that the Select button is always active of the view toggle buttons. |
void |
setShowAliasNamesInColumnHeadings(boolean rhs1)
Show alias names or the real field name in column headings. |
void |
setShowSelected(boolean rhs1)
Show only features that are selected. |
void |
setTableByRef(ITable rhs1)
Table to view/edit. |
void |
setTableFieldsByRef(ITableFields tableFields)
The collection of field information for the table being viewed/edited. |
void |
setTableSelectionAction(int rhs1)
Action to perform when table selections are made. |
void |
show(int parentHWnd,
tagRECT initialExtent,
boolean initiallyVisible)
Show table. |
void |
updateSelection(ISelectionSet pSelection)
Updates the current selection, that the current selection is currently pointing to. |
| 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 TableView()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public TableView(Object obj)
throws IOException
TableView theTableView = (TableView) obj;
obj to TableView.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void addITableViewEventsListener(ITableViewEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabaseui.ITableViewEvents interface.
IOException - If there are communications problems.
public void removeITableViewEventsListener(ITableViewEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabaseui.ITableViewEvents interface.
IOException - If there are communications problems.
public void setTableByRef(ITable rhs1)
throws IOException,
AutomationException
setTableByRef in interface ITableViewsetTableByRef in interface ITableView2setTableByRef in interface ITableView3rhs1 - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setQueryFilterByRef(IQueryFilter rhs1)
throws IOException,
AutomationException
setQueryFilterByRef in interface ITableViewsetQueryFilterByRef in interface ITableView2setQueryFilterByRef in interface ITableView3rhs1 - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSelectionSetByRef(ISelectionSet ppSelection)
throws IOException,
AutomationException
setSelectionSetByRef in interface ITableViewsetSelectionSetByRef in interface ITableView2setSelectionSetByRef in interface ITableView3ppSelection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet getSelectionSet()
throws IOException,
AutomationException
getSelectionSet in interface ITableViewgetSelectionSet in interface ITableView2getSelectionSet in interface ITableView3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableSelectionAction(int rhs1)
throws IOException,
AutomationException
setTableSelectionAction in interface ITableViewsetTableSelectionAction in interface ITableView2setTableSelectionAction in interface ITableView3rhs1 - A com.esri.arcgis.geodatabaseui.esriTableSelectionActions constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowSelected(boolean rhs1)
throws IOException,
AutomationException
setShowSelected in interface ITableViewsetShowSelected in interface ITableView2setShowSelected in interface ITableView3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowAliasNamesInColumnHeadings(boolean rhs1)
throws IOException,
AutomationException
setShowAliasNamesInColumnHeadings in interface ITableViewsetShowAliasNamesInColumnHeadings in interface ITableView2setShowAliasNamesInColumnHeadings in interface ITableView3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCallbackByRef(ITableViewCallback rhs1)
throws IOException,
AutomationException
setCallbackByRef in interface ITableViewsetCallbackByRef in interface ITableView2setCallbackByRef in interface ITableView3rhs1 - A reference to a com.esri.arcgis.geodatabaseui.ITableViewCallback (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void show(int parentHWnd,
tagRECT initialExtent,
boolean initiallyVisible)
throws IOException,
AutomationException
show in interface ITableViewshow in interface ITableView2show in interface ITableView3parentHWnd - The parentHWnd (A COM typedef) (in)initialExtent - A Structure: com.esri.arcgis.system.tagRECT (in)initiallyVisible - The initiallyVisible (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
throws IOException,
AutomationException
getTable in interface ITableView2getTable in interface ITableView3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowSelected()
throws IOException,
AutomationException
isShowSelected in interface ITableView2isShowSelected in interface ITableView3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowAliasNamesInColumnHeadings()
throws IOException,
AutomationException
isShowAliasNamesInColumnHeadings in interface ITableView2isShowAliasNamesInColumnHeadings in interface ITableView3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowEditing(boolean rhs1)
throws IOException,
AutomationException
setAllowEditing in interface ITableView2setAllowEditing in interface ITableView3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowAddRow(boolean rhs1)
throws IOException,
AutomationException
setAllowAddRow in interface ITableView3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowDeleteRow(boolean rhs1)
throws IOException,
AutomationException
setAllowDeleteRow in interface ITableView4rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAllowEditing()
throws IOException,
AutomationException
isAllowEditing in interface ITableView4IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPosition(int left,
int top,
int width,
int height)
throws IOException,
AutomationException
setPosition in interface ITableViewOutputleft - The left (in)top - The top (in)width - The width (in)height - The height (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int output(int hDC,
int dpi,
int left,
int top,
int width,
int height,
int startRow,
int startCol)
throws IOException,
AutomationException
output in interface ITableViewOutputhDC - The hDC (A COM typedef) (in)dpi - The dpi (in)left - The left (in)top - The top (in)width - The width (in)height - The height (in)startRow - The startRow (in)startCol - The startCol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsMetafileDirty(boolean pIsDirty)
throws IOException,
AutomationException
setIsMetafileDirty in interface ITableViewOutputpIsDirty - The pIsDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isMetafileDirty()
throws IOException,
AutomationException
isMetafileDirty in interface ITableViewOutputIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void editChanged()
throws IOException,
AutomationException
editChanged in interface ITableControleditChanged in interface ITableControl2editChanged in interface ITableControl3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void removeAndReloadCache()
throws IOException,
AutomationException
removeAndReloadCache in interface ITableControlremoveAndReloadCache in interface ITableControl2removeAndReloadCache in interface ITableControl3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateSelection(ISelectionSet pSelection)
throws IOException,
AutomationException
updateSelection in interface ITableControlupdateSelection in interface ITableControl2updateSelection in interface ITableControl3pSelection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void drawSelectedShapes(IDisplay pDisplay)
throws IOException,
AutomationException
drawSelectedShapes in interface ITableControldrawSelectedShapes in interface ITableControl2drawSelectedShapes in interface ITableControl3pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rereadFIDs(ISelectionSet pSelection)
throws IOException,
AutomationException
rereadFIDs in interface ITableControlrereadFIDs in interface ITableControl2rereadFIDs in interface ITableControl3pSelection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentRow(boolean isOid,
int rowNumber)
throws IOException,
AutomationException
setCurrentRow in interface ITableControlsetCurrentRow in interface ITableControl2setCurrentRow in interface ITableControl3isOid - The isOid (in)rowNumber - The rowNumber (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurrentRow(boolean isOid)
throws IOException,
AutomationException
getCurrentRow in interface ITableControlgetCurrentRow in interface ITableControl2getCurrentRow in interface ITableControl3getCurrentRow in interface ITableControlInfoisOid - The isOid (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void redraw()
throws IOException,
AutomationException
redraw in interface ITableControlredraw in interface ITableControl2redraw in interface ITableControl3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void readToEndOfTable()
throws IOException,
AutomationException
readToEndOfTable in interface ITableControl2readToEndOfTable in interface ITableControl3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCellFont(int oid,
String fieldName,
IColor pCellColor,
IFont pTextFont,
IColor pTextColor)
throws IOException,
AutomationException
setCellFont in interface ITableControl3oid - The oid (in)fieldName - The fieldName (in)pCellColor - A reference to a com.esri.arcgis.display.IColor (in)pTextFont - A reference to a com.esri.arcgis.support.ms.stdole.IFont (in)pTextColor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void insertNextRowAt(int placement,
int oid)
throws IOException,
AutomationException
insertNextRowAt in interface ITableControl3placement - A com.esri.arcgis.geodatabaseui.esriTVRowInsertPlacement constant (in)oid - The oid (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void executeOptionCommand(int option)
throws IOException,
AutomationException
executeOptionCommand in interface ITableControl3option - A com.esri.arcgis.geodatabaseui.esriTableViewOptions constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHideOptionsButton(boolean rhs1)
throws IOException,
AutomationException
setHideOptionsButton in interface ITableControl3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSelectToggleAlwaysEnabled(boolean rhs1)
throws IOException,
AutomationException
setSelectToggleAlwaysEnabled in interface ITableControl3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHideViewToggleButtons(boolean rhs1)
throws IOException,
AutomationException
setHideViewToggleButtons in interface ITableControl3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFullTableWidth()
throws IOException,
AutomationException
getFullTableWidth in interface ITableControlWidthIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRecommendMinimumTableWidth()
throws IOException,
AutomationException
getRecommendMinimumTableWidth in interface ITableControlWidthIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getTopRow()
throws IOException,
AutomationException
getTopRow in interface ITableControlInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLeftCol()
throws IOException,
AutomationException
getLeftCol in interface ITableControlInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRecordCount()
throws IOException,
AutomationException
getRecordCount in interface ITableControlInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAreAllRecordsRead()
throws IOException,
AutomationException
isAreAllRecordsRead in interface ITableControlInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEditing()
throws IOException,
AutomationException
isEditing in interface ITableControlInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurrentCol()
throws IOException,
AutomationException
getCurrentCol in interface ITableControlInfoIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableFieldsByRef(ITableFields tableFields)
throws IOException,
AutomationException
setTableFieldsByRef in interface ITableViewTableFieldstableFields - A reference to a com.esri.arcgis.geodatabase.ITableFields (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITableFields getTableFields()
throws IOException,
AutomationException
getTableFields in interface ITableViewTableFieldsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (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 | ||||||||