com.esri.arcgis.framework
Class IWindowPositionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.framework.IWindowPositionProxy
All Implemented Interfaces:
IWindowPosition, java.io.Externalizable, java.io.Serializable

public class IWindowPositionProxy
extends com.esri.arcgis.interop.Dispatch
implements IWindowPosition, java.io.Serializable

Internal use class Proxy for COM Interface 'IWindowPosition'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description: 'Provides access to members that query or modify a window's position, size and state.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.framework.IWindowPosition
IID, IID88c995ae_64a7_43f5_bf12_88ac179b25a6
 
Constructor Summary
  IWindowPositionProxy()
          For internal use only
  IWindowPositionProxy(java.lang.Object obj)
           
protected IWindowPositionProxy(java.lang.Object obj, java.lang.String iid)
           
  IWindowPositionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IWindowPositionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 int getHeight()
          The height of the window.
 int getLeft()
          The distance between the internal left edge of the window and screen.
 int getState()
          The state of the window.
 int getTop()
          The distance between the internal top edge of the window and screen.
 int getWidth()
          The width of the window.
 void move(int left, int top, int width, int height)
          Moves and optionally resizes the windows in a single function.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setHeight(int height)
          The height of the window.
 void setLeft(int left)
          The distance between the internal left edge of the window and screen.
 void setState(int windowState)
          The state of the window.
 void setTop(int top)
          The distance between the internal top edge of the window and screen.
 void setWidth(int width)
          The width of the window.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IWindowPositionProxy

public IWindowPositionProxy(java.lang.String CLSID,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IWindowPositionProxy

public IWindowPositionProxy()
For internal use only


IWindowPositionProxy

public IWindowPositionProxy(java.lang.Object obj)
                     throws java.io.IOException
Throws:
java.io.IOException

IWindowPositionProxy

protected IWindowPositionProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException
Throws:
java.io.IOException

IWindowPositionProxy

protected IWindowPositionProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setLeft

public void setLeft(int left)
             throws java.io.IOException,
                    AutomationException
The distance between the internal left edge of the window and screen.

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

getLeft

public int getLeft()
            throws java.io.IOException,
                   AutomationException
The distance between the internal left edge of the window and screen.

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

setTop

public void setTop(int top)
            throws java.io.IOException,
                   AutomationException
The distance between the internal top edge of the window and screen.

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

getTop

public int getTop()
           throws java.io.IOException,
                  AutomationException
The distance between the internal top edge of the window and screen.

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

setWidth

public void setWidth(int width)
              throws java.io.IOException,
                     AutomationException
The width of the window.

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

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
The width of the window.

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

setHeight

public void setHeight(int height)
               throws java.io.IOException,
                      AutomationException
The height of the window.

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

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
The height of the window.

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

move

public void move(int left,
                 int top,
                 int width,
                 int height)
          throws java.io.IOException,
                 AutomationException
Moves and optionally resizes the windows in a single function.

Specified by:
move in interface IWindowPosition
Parameters:
left - The left (in)
top - The top (in)
width - The width (in, optional, pass 0 if not required)
height - The height (in, optional, pass 0 if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setState

public void setState(int windowState)
              throws java.io.IOException,
                     AutomationException
The state of the window.

Specified by:
setState in interface IWindowPosition
Parameters:
windowState - A com.esri.arcgis.framework.esriWindowState constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getState

public int getState()
             throws java.io.IOException,
                    AutomationException
The state of the window.

Specified by:
getState in interface IWindowPosition
Returns:
A com.esri.arcgis.framework.esriWindowState constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.