com.esri.arcgis.arcmapui
Class GenericWindow

java.lang.Object
  extended by com.esri.arcgis.arcmapui.GenericWindow
All Implemented Interfaces:
IDataWindow, IGenericWindow, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GenericWindow
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGenericWindow

COM Class 'GenericWindow'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'User data windows.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.arcmapui.IGenericWindow
IID, IID4b043fa0_7906_11d2_a084_0000f8775bf9, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IDataWindow
IID04dbd416_aee2_11d1_8750_0000f8751720
 
Constructor Summary
GenericWindow()
          Constructs a GenericWindow using ArcGIS Engine.
GenericWindow(java.lang.Object obj)
          Construct a GenericWindow using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IGenericWindow getFindWindow(java.lang.String windowName)
          Find an already displayed window.
 int getHWnd()
          The window's handle.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.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 release()
          Release a GenericWindow.
 void setActiveXUID(IUID rhs1)
          UID of ActiveX component to place in data window.
 void setApplicationByRef(java.lang.Object rhs1)
          Provides the window with a reference to the application.
 void setName(java.lang.String pWindowName)
          Name of data window.
 void setTitle(java.lang.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
 

Constructor Detail

GenericWindow

public GenericWindow()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a GenericWindow using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GenericWindow

public GenericWindow(java.lang.Object obj)
              throws java.io.IOException
Construct a GenericWindow using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GenericWindow.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems GenericWindow theGenericWindow = (GenericWindow) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GenericWindow.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setTitle

public void setTitle(java.lang.String rhs1)
              throws java.io.IOException,
                     AutomationException
Name displayed on form.

Specified by:
setTitle in interface IGenericWindow
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String pWindowName)
             throws java.io.IOException,
                    AutomationException
Name of data window.

Specified by:
setName in interface IGenericWindow
Parameters:
pWindowName - The pWindowName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of data window.

Specified by:
getName in interface IGenericWindow
Returns:
The pWindowName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveXUID

public void setActiveXUID(IUID rhs1)
                   throws java.io.IOException,
                          AutomationException
UID of ActiveX component to place in data window.

Specified by:
setActiveXUID in interface IGenericWindow
Parameters:
rhs1 - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFindWindow

public IGenericWindow getFindWindow(java.lang.String windowName)
                             throws java.io.IOException,
                                    AutomationException
Find an already displayed window.

Specified by:
getFindWindow in interface IGenericWindow
Parameters:
windowName - The windowName (in)
Returns:
A reference to a com.esri.arcgis.arcmapui.IGenericWindow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setApplicationByRef

public void setApplicationByRef(java.lang.Object rhs1)
                         throws java.io.IOException,
                                AutomationException
Provides the window with a reference to the application.

Specified by:
setApplicationByRef in interface IDataWindow
Parameters:
rhs1 - A reference to another Automation Object (IDispatch) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

public int getHWnd()
            throws java.io.IOException,
                   AutomationException
The window's handle.

Specified by:
getHWnd in interface IDataWindow
Returns:
The hWnd (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPosition

public void queryPosition(int[] left,
                          int[] top,
                          int[] right,
                          int[] bottom)
                   throws java.io.IOException,
                          AutomationException
The window's position in screen pixels.

Specified by:
queryPosition in interface IDataWindow
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putPosition

public void putPosition(int left,
                        int top,
                        int right,
                        int bottom)
                 throws java.io.IOException,
                        AutomationException
The window's position in screen pixels.

Specified by:
putPosition in interface IDataWindow
Parameters:
left - The left (in)
top - The top (in)
right - The right (in)
bottom - The bottom (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates if the window is visible.

Specified by:
isVisible in interface IDataWindow
Returns:
The isVisible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDockable

public boolean isDockable()
                   throws java.io.IOException,
                          AutomationException
Indicates if the window is dockable.

Specified by:
isDockable in interface IDataWindow
Returns:
The isVisible
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(boolean show)
          throws java.io.IOException,
                 AutomationException
Indicates if the window is shown.

Specified by:
show in interface IDataWindow
Parameters:
show - The show (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Cause the window to redraw.

Specified by:
refresh in interface IDataWindow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.