|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public 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 ITableView
setTableByRef
in interface ITableView2
setTableByRef
in interface ITableView3
rhs1
- 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 ITableView
setQueryFilterByRef
in interface ITableView2
setQueryFilterByRef
in interface ITableView3
rhs1
- 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 ITableView
setSelectionSetByRef
in interface ITableView2
setSelectionSetByRef
in interface ITableView3
ppSelection
- 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 ITableView
getSelectionSet
in interface ITableView2
getSelectionSet
in interface ITableView3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTableSelectionAction(int rhs1) throws IOException, AutomationException
setTableSelectionAction
in interface ITableView
setTableSelectionAction
in interface ITableView2
setTableSelectionAction
in interface ITableView3
rhs1
- 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 ITableView
setShowSelected
in interface ITableView2
setShowSelected
in interface ITableView3
rhs1
- 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 ITableView
setShowAliasNamesInColumnHeadings
in interface ITableView2
setShowAliasNamesInColumnHeadings
in interface ITableView3
rhs1
- 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 ITableView
setCallbackByRef
in interface ITableView2
setCallbackByRef
in interface ITableView3
rhs1
- 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 ITableView
show
in interface ITableView2
show
in interface ITableView3
parentHWnd
- 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 ITableView2
getTable
in interface ITableView3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowSelected() throws IOException, AutomationException
isShowSelected
in interface ITableView2
isShowSelected
in interface ITableView3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowAliasNamesInColumnHeadings() throws IOException, AutomationException
isShowAliasNamesInColumnHeadings
in interface ITableView2
isShowAliasNamesInColumnHeadings
in interface ITableView3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAllowEditing(boolean rhs1) throws IOException, AutomationException
setAllowEditing
in interface ITableView2
setAllowEditing
in interface ITableView3
rhs1
- 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 ITableView3
rhs1
- 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 ITableView4
rhs1
- 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 ITableView4
IOException
- 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 ITableViewOutput
left
- 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 ITableViewOutput
hDC
- 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 ITableViewOutput
pIsDirty
- 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 ITableViewOutput
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void editChanged() throws IOException, AutomationException
editChanged
in interface ITableControl
editChanged
in interface ITableControl2
editChanged
in interface ITableControl3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAndReloadCache() throws IOException, AutomationException
removeAndReloadCache
in interface ITableControl
removeAndReloadCache
in interface ITableControl2
removeAndReloadCache
in interface ITableControl3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateSelection(ISelectionSet pSelection) throws IOException, AutomationException
updateSelection
in interface ITableControl
updateSelection
in interface ITableControl2
updateSelection
in interface ITableControl3
pSelection
- 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 ITableControl
drawSelectedShapes
in interface ITableControl2
drawSelectedShapes
in interface ITableControl3
pDisplay
- 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 ITableControl
rereadFIDs
in interface ITableControl2
rereadFIDs
in interface ITableControl3
pSelection
- 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 ITableControl
setCurrentRow
in interface ITableControl2
setCurrentRow
in interface ITableControl3
isOid
- 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 ITableControl
getCurrentRow
in interface ITableControl2
getCurrentRow
in interface ITableControl3
getCurrentRow
in interface ITableControlInfo
isOid
- 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 ITableControl
redraw
in interface ITableControl2
redraw
in interface ITableControl3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void readToEndOfTable() throws IOException, AutomationException
readToEndOfTable
in interface ITableControl2
readToEndOfTable
in interface ITableControl3
IOException
- 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 ITableControl3
oid
- 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 ITableControl3
placement
- 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 ITableControl3
option
- 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 ITableControl3
rhs1
- 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 ITableControl3
rhs1
- 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 ITableControl3
rhs1
- 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 ITableControlWidth
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRecommendMinimumTableWidth() throws IOException, AutomationException
getRecommendMinimumTableWidth
in interface ITableControlWidth
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTopRow() throws IOException, AutomationException
getTopRow
in interface ITableControlInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLeftCol() throws IOException, AutomationException
getLeftCol
in interface ITableControlInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRecordCount() throws IOException, AutomationException
getRecordCount
in interface ITableControlInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAreAllRecordsRead() throws IOException, AutomationException
isAreAllRecordsRead
in interface ITableControlInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEditing() throws IOException, AutomationException
isEditing
in interface ITableControlInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCurrentCol() throws IOException, AutomationException
getCurrentCol
in interface ITableControlInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTableFieldsByRef(ITableFields tableFields) throws IOException, AutomationException
setTableFieldsByRef
in interface ITableViewTableFields
tableFields
- 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 ITableViewTableFields
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- 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 IClone
other
- 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 IClone
other
- 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 |