|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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. |
void |
displayTimeChanged(ITimeDisplayEventsDisplayTimeChangedEvent theEvent)
Notifies clients when display time changed. |
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 problems
public 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 problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic 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 ITableWindowppTable - 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 ITableWindowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureLayerByRef(IFeatureLayer ppFeatureLayer)
throws IOException,
AutomationException
setFeatureLayerByRef in interface ITableWindowppFeatureLayer - 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 ITableWindowIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTableSelectionAction(int pAction)
throws IOException,
AutomationException
setTableSelectionAction in interface ITableWindowsetTableSelectionAction in interface ITableWindow2pAction - 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 ITableWindowgetTableSelectionAction in interface ITableWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowSelected(boolean pShowSelected)
throws IOException,
AutomationException
setShowSelected in interface ITableWindowsetShowSelected in interface ITableWindow2pShowSelected - 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 ITableWindowisShowSelected in interface ITableWindow2IOException - 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 ITableWindowpFeatureLayer - 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 ITableWindowpTable - 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 ITableWindowgetSelectionSet in interface ITableWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateSelection(ISelectionSet pSelection)
throws IOException,
AutomationException
updateSelection in interface ITableWindowupdateSelection in interface ITableWindow2pSelection - 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 ITableWindowsetShowAliasNamesInColumnHeadings in interface ITableWindow2rhs1 - 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 ITableWindowgetTableControl in interface ITableWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setApplicationByRef(Object rhs1)
throws IOException,
AutomationException
setApplicationByRef in interface IDataWindowsetApplicationByRef in interface IDataWindow2rhs1 - 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 IDataWindowgetHWnd in interface IDataWindow2IOException - 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 IDataWindowqueryPosition in interface IDataWindow2left - 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 IDataWindowputPosition in interface IDataWindow2left - 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 IDataWindowisVisible in interface IDataWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDockable()
throws IOException,
AutomationException
isDockable in interface IDataWindowisDockable in interface IDataWindow2IOException - 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 IDataWindowshow in interface IDataWindow2show - 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 IDataWindowrefresh in interface IDataWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTag()
throws IOException,
AutomationException
getTag in interface IDataWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTag(String tag)
throws IOException,
AutomationException
setTag in interface IDataWindow2tag - 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 IDataWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEnableContextMenu(boolean enable)
throws IOException,
AutomationException
setEnableContextMenu in interface IDataWindow2enable - 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 IDataWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerByRef(ILayer ppLayer)
throws IOException,
AutomationException
setLayerByRef in interface ITableWindow2ppLayer - 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 ITableWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStandaloneTableByRef(IStandaloneTable table)
throws IOException,
AutomationException
setStandaloneTableByRef in interface ITableWindow2table - 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 ITableWindow2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITableWindow findViaLayer(ILayer pLayer)
throws IOException,
AutomationException
findViaLayer in interface ITableWindow2pLayer - 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 ITableWindow2pStandaloneTable - 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 ITableWindow3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findOpenTableWindows(ISet[] pTableWindows)
throws IOException,
AutomationException
findOpenTableWindows in interface ITableWindow3pTableWindows - 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 ITableWindow3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void displayTimeChanged(ITimeDisplayEventsDisplayTimeChangedEvent theEvent)
throws IOException,
AutomationException
displayTimeChanged in interface ITimeDisplayEventstheEvent - The event
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 | ||||||||