com.esri.arcgis.support.ms.stdole
Class PictureProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.support.ms.stdole.PictureProxy
All Implemented Interfaces:
Picture, Externalizable, Serializable

public class PictureProxy
extends com.esri.arcgis.interop.Dispatch
implements Picture, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  PictureProxy()
           
  PictureProxy(Object obj)
           
protected PictureProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getHandle()
          getHandle
 int getHeight()
          getHeight
 int getHPal()
          getHPal
 short getType()
          getType
 int getWidth()
          getWidth
 void removeListener(String iidStr, Object theListener)
           
 void render(int hdc, int x, int y, int cx, int cy, int xSrc, int ySrc, int cxSrc, int cySrc, int prcWBounds)
          render
 void setHandle(int rhs)
          setHandle
 void setHeight(int rhs)
          setHeight
 void setHPal(int rhs)
          setHPal
 void setType(short rhs)
          setType
 void setWidth(int rhs)
          setWidth
 Image toImage()
          Converts this Picture to a Java Image
 
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, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PictureProxy

public PictureProxy()

PictureProxy

public PictureProxy(Object obj)
             throws IOException
Throws:
IOException

PictureProxy

protected PictureProxy(Object obj,
                       String iid)
                throws IOException
Throws:
IOException
Method Detail

addListener

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

removeListener

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

getHandle

public int getHandle()
              throws IOException,
                     AutomationException
getHandle

Specified by:
getHandle in interface Picture
Returns:
The return value (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHandle

public void setHandle(int rhs)
               throws IOException,
                      AutomationException
setHandle

Specified by:
setHandle in interface Picture
Parameters:
rhs - The rhs (A COM typedef) )
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHPal

public int getHPal()
            throws IOException,
                   AutomationException
getHPal

Specified by:
getHPal in interface Picture
Returns:
The return value (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHPal

public void setHPal(int rhs)
             throws IOException,
                    AutomationException
setHPal

Specified by:
setHPal in interface Picture
Parameters:
rhs - The rhs (A COM typedef) )
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public short getType()
              throws IOException,
                     AutomationException
getType

Specified by:
getType in interface Picture
Returns:
The return value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setType

public void setType(short rhs)
             throws IOException,
                    AutomationException
setType

Specified by:
setType in interface Picture
Parameters:
rhs - The rhs )
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws IOException,
                    AutomationException
getWidth

Specified by:
getWidth in interface Picture
Returns:
The return value (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWidth

public void setWidth(int rhs)
              throws IOException,
                     AutomationException
setWidth

Specified by:
setWidth in interface Picture
Parameters:
rhs - The rhs (A COM typedef) )
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws IOException,
                     AutomationException
getHeight

Specified by:
getHeight in interface Picture
Returns:
The return value (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeight

public void setHeight(int rhs)
               throws IOException,
                      AutomationException
setHeight

Specified by:
setHeight in interface Picture
Parameters:
rhs - The rhs (A COM typedef) )
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

render

public void render(int hdc,
                   int x,
                   int y,
                   int cx,
                   int cy,
                   int xSrc,
                   int ySrc,
                   int cxSrc,
                   int cySrc,
                   int prcWBounds)
            throws IOException,
                   AutomationException
render

Specified by:
render in interface Picture
Parameters:
hdc - The hdc (in)
x - The x (in)
y - The y (in)
cx - The cx (in)
cy - The cy (in)
xSrc - The xSrc (A COM typedef) (in)
ySrc - The ySrc (A COM typedef) (in)
cxSrc - The cxSrc (A COM typedef) (in)
cySrc - The cySrc (A COM typedef) (in)
prcWBounds - A COM void* (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toImage

public Image toImage()
              throws IOException
Converts this Picture to a Java Image

Specified by:
toImage in interface Picture
Returns:
the equivalent image in Java
Throws:
IOException - If there are interop problems.