|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.GenericWindow
public class GenericWindow
User data windows.
Constructor Summary | |
---|---|
GenericWindow()
Constructs a GenericWindow using ArcGIS Engine. |
|
GenericWindow(Object obj)
Construct a GenericWindow using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IGenericWindow |
getFindWindow(String windowName)
Find an already displayed window. |
int |
getHWnd()
The window's handle. |
String |
getName()
Name of data window. |
int |
hashCode()
the hashcode for this object |
boolean |
isDockable()
Indicates if the window is dockable. |
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 |
setActiveXUID(IUID rhs1)
UID of ActiveX component to place in data window. |
void |
setApplicationByRef(Object rhs1)
Provides the window with a reference to the application. |
void |
setName(String pWindowName)
Name of data window. |
void |
setTitle(String rhs1)
Name displayed on form. |
void |
show(boolean show)
Indicates if the window is shown. |
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 GenericWindow() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GenericWindow(Object obj) throws IOException
obj
to GenericWindow
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GenericWindow theGenericWindow = (GenericWindow) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setTitle(String rhs1) throws IOException, AutomationException
setTitle
in interface IGenericWindow
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String pWindowName) throws IOException, AutomationException
setName
in interface IGenericWindow
pWindowName
- The pWindowName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IGenericWindow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setActiveXUID(IUID rhs1) throws IOException, AutomationException
setActiveXUID
in interface IGenericWindow
rhs1
- A reference to a com.esri.arcgis.system.IUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGenericWindow getFindWindow(String windowName) throws IOException, AutomationException
getFindWindow
in interface IGenericWindow
windowName
- The windowName (in)
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
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
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
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
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
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDockable() throws IOException, AutomationException
isDockable
in interface IDataWindow
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
- 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
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 |