|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.TableWindow
public class TableWindow
Window to display Tables in ArcMap.
Constructor Summary | |
---|---|
TableWindow()
Constructs a TableWindow using ArcGIS Engine. |
|
TableWindow(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TableWindow theTableWindow = (TableWindow) obj; |
Method Summary | |
---|---|
void |
addIDataWindowEventsListener(IDataWindowEvents theListener)
addIDataWindowEventsListener. |
void |
destroy()
Close and destroy the window. |
boolean |
equals(Object o)
Compare this object with another |
void |
findOpenTableWindows(ISet[] pTableWindows)
Gets all the open table windows. |
ITableWindow |
findViaFeatureLayer(IFeatureLayer pFeatureLayer,
boolean showSelected)
Is table (of a featurelayer) already being displayed. |
ITableWindow |
findViaLayer(ILayer pLayer)
Is table (of a layer) already being displayed. |
ITableWindow |
findViaStandaloneTable(IStandaloneTable pStandaloneTable)
Is table (of a standalonetable) already being displayed. |
ITableWindow |
findViaTable(ITable pTable,
boolean showSelected)
Is table already being displayed. |
ITableWindow |
getActiveTableWindow()
Gets the active table window. |
static String |
getClsid()
getClsid. |
IFeatureLayer |
getFeatureLayer()
Setup feature class to view/edit. |
int |
getHWnd()
The window's handle. |
ILayer |
getLayer()
Setup layer attributes to view. |
ISelectionSet |
getSelectionSet()
Current s1election set of the table. |
IStandaloneTable |
getStandaloneTable()
The standalone table to view/edit. |
ITable |
getTable()
Setup table to view/edit. |
ITableControl |
getTableControl()
The table control. |
int |
getTableSelectionAction()
Action to perform when table selections are made. |
String |
getTag()
For developer use. |
int |
hashCode()
the hashcode for this object |
boolean |
isDockable()
Indicates if the window is dockable. |
boolean |
isEnableContextMenu()
Indicates if the context menu should be enabled. |
boolean |
isOpen()
Indicates if the window is open in the table window docking pane. |
boolean |
isShowSelected()
Indicates whether to show only features that are selected. |
boolean |
isVisible()
Indicates if the window is visible. |
void |
putPosition(int left,
int top,
int right,
int bottom)
The window's position in screen pixels. |
void |
queryPosition(int[] left,
int[] top,
int[] right,
int[] bottom)
The window's position in screen pixels. |
void |
refresh()
Cause the window to redraw. |
void |
removeIDataWindowEventsListener(IDataWindowEvents theListener)
removeIDataWindowEventsListener. |
void |
setApplicationByRef(Object rhs1)
Provides the window with a reference to the application. |
void |
setEnableContextMenu(boolean enable)
Indicates if the context menu should be enabled. |
void |
setFeatureLayerByRef(IFeatureLayer ppFeatureLayer)
Setup feature class to view/edit. |
void |
setLayerByRef(ILayer ppLayer)
Setup layer attributes to view. |
void |
setShowAliasNamesInColumnHeadings(boolean rhs1)
Show alias names or the real field name in column headings. |
void |
setShowSelected(boolean pShowSelected)
Indicates whether to show only features that are selected. |
void |
setStandaloneTableByRef(IStandaloneTable table)
The standalone table to view/edit. |
void |
setTableByRef(ITable ppTable)
Setup table to view/edit. |
void |
setTableSelectionAction(int pAction)
Action to perform when table selections are made. |
void |
setTag(String tag)
For developer use. |
void |
show(boolean show)
Indicates if the window is shown. |
void |
updateSelection(ISelectionSet pSelection)
Updates current table selection. |
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 TableWindow() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TableWindow(Object obj) throws IOException
TableWindow theTableWindow = (TableWindow) obj;
obj
to TableWindow
.
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 addIDataWindowEventsListener(IDataWindowEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcmapui.IDataWindowEvents interface.
IOException
- If there are communications problems.public void removeIDataWindowEventsListener(IDataWindowEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.arcmapui.IDataWindowEvents interface.
IOException
- If there are communications problems.public void setTableByRef(ITable ppTable) throws IOException, AutomationException
setTableByRef
in interface ITableWindow
ppTable
- 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 ITable getTable() throws IOException, AutomationException
getTable
in interface ITableWindow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureLayerByRef(IFeatureLayer ppFeatureLayer) throws IOException, AutomationException
setFeatureLayerByRef
in interface ITableWindow
ppFeatureLayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureLayer getFeatureLayer() throws IOException, AutomationException
getFeatureLayer
in interface ITableWindow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTableSelectionAction(int pAction) throws IOException, AutomationException
setTableSelectionAction
in interface ITableWindow
setTableSelectionAction
in interface ITableWindow2
pAction
- A com.esri.arcgis.geodatabaseui.esriTableSelectionActions constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTableSelectionAction() throws IOException, AutomationException
getTableSelectionAction
in interface ITableWindow
getTableSelectionAction
in interface ITableWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShowSelected(boolean pShowSelected) throws IOException, AutomationException
setShowSelected
in interface ITableWindow
setShowSelected
in interface ITableWindow2
pShowSelected
- The pShowSelected (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isShowSelected() throws IOException, AutomationException
isShowSelected
in interface ITableWindow
isShowSelected
in interface ITableWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableWindow findViaFeatureLayer(IFeatureLayer pFeatureLayer, boolean showSelected) throws IOException, AutomationException
This method returns a reference to the TableWindow of the FeatureLayer referenced by pFeatureLayer. Set ShowSelected = True if you wish to show only features that are selected.
findViaFeatureLayer
in interface ITableWindow
pFeatureLayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (in)showSelected
- The showSelected (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableWindow findViaTable(ITable pTable, boolean showSelected) throws IOException, AutomationException
findViaTable
in interface ITableWindow
pTable
- A reference to a com.esri.arcgis.geodatabase.ITable (in)showSelected
- The showSelected (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet getSelectionSet() throws IOException, AutomationException
getSelectionSet
in interface ITableWindow
getSelectionSet
in interface ITableWindow2
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 ITableWindow
updateSelection
in interface ITableWindow2
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 setShowAliasNamesInColumnHeadings(boolean rhs1) throws IOException, AutomationException
setShowAliasNamesInColumnHeadings
in interface ITableWindow
setShowAliasNamesInColumnHeadings
in interface ITableWindow2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableControl getTableControl() throws IOException, AutomationException
getTableControl
in interface ITableWindow
getTableControl
in interface ITableWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setApplicationByRef(Object rhs1) throws IOException, AutomationException
setApplicationByRef
in interface IDataWindow
setApplicationByRef
in interface IDataWindow2
rhs1
- A reference to another Automation Object (IDispatch) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHWnd() throws IOException, AutomationException
getHWnd
in interface IDataWindow
getHWnd
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryPosition(int[] left, int[] top, int[] right, int[] bottom) throws IOException, AutomationException
queryPosition
in interface IDataWindow
queryPosition
in interface IDataWindow2
left
- The left (out: use single element array)top
- The top (out: use single element array)right
- The right (out: use single element array)bottom
- The bottom (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putPosition(int left, int top, int right, int bottom) throws IOException, AutomationException
putPosition
in interface IDataWindow
putPosition
in interface IDataWindow2
left
- The left (in)top
- The top (in)right
- The right (in)bottom
- The bottom (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVisible() throws IOException, AutomationException
isVisible
in interface IDataWindow
isVisible
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDockable() throws IOException, AutomationException
isDockable
in interface IDataWindow
isDockable
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void show(boolean show) throws IOException, AutomationException
Show specifies whether the data window should be shown or hidden. Use True to show the window and False to hide the window.
show
in interface IDataWindow
show
in interface IDataWindow2
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh() throws IOException, AutomationException
refresh
in interface IDataWindow
refresh
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTag() throws IOException, AutomationException
getTag
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTag(String tag) throws IOException, AutomationException
setTag
in interface IDataWindow2
tag
- The tag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnableContextMenu() throws IOException, AutomationException
isEnableContextMenu
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnableContextMenu(boolean enable) throws IOException, AutomationException
setEnableContextMenu
in interface IDataWindow2
enable
- The enable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void destroy() throws IOException, AutomationException
destroy
in interface IDataWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerByRef(ILayer ppLayer) throws IOException, AutomationException
setLayerByRef
in interface ITableWindow2
ppLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer() throws IOException, AutomationException
getLayer
in interface ITableWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStandaloneTableByRef(IStandaloneTable table) throws IOException, AutomationException
setStandaloneTableByRef
in interface ITableWindow2
table
- A reference to a com.esri.arcgis.carto.IStandaloneTable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IStandaloneTable getStandaloneTable() throws IOException, AutomationException
getStandaloneTable
in interface ITableWindow2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableWindow findViaLayer(ILayer pLayer) throws IOException, AutomationException
findViaLayer
in interface ITableWindow2
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableWindow findViaStandaloneTable(IStandaloneTable pStandaloneTable) throws IOException, AutomationException
findViaStandaloneTable
in interface ITableWindow2
pStandaloneTable
- A reference to a com.esri.arcgis.carto.IStandaloneTable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOpen() throws IOException, AutomationException
isOpen
in interface ITableWindow3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findOpenTableWindows(ISet[] pTableWindows) throws IOException, AutomationException
findOpenTableWindows
in interface ITableWindow3
pTableWindows
- A reference to a com.esri.arcgis.system.ISet (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITableWindow getActiveTableWindow() throws IOException, AutomationException
getActiveTableWindow
in interface ITableWindow3
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 |