public class PictureProxy extends com.esri.arcgis.interop.Dispatch implements Picture, java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
|
PictureProxy() |
|
PictureProxy(java.lang.Object obj) |
protected |
PictureProxy(java.lang.Object obj,
java.lang.String iid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
int |
getHandle()
getHandle
|
int |
getHeight()
getHeight
|
int |
getHPal()
getHPal
|
short |
getType()
getType
|
int |
getWidth()
getWidth
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
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
|
java.awt.Image |
toImage()
Converts this Picture to a Java Image
|
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, writeExternalpublic PictureProxy()
public PictureProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected PictureProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic int getHandle()
throws java.io.IOException,
AutomationException
getHandle in interface Picturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHandle(int rhs)
throws java.io.IOException,
AutomationException
setHandle in interface Picturerhs - The rhs (A COM typedef) )java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getHPal()
throws java.io.IOException,
AutomationException
getHPal in interface Picturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHPal(int rhs)
throws java.io.IOException,
AutomationException
setHPal in interface Picturerhs - The rhs (A COM typedef) )java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public short getType()
throws java.io.IOException,
AutomationException
getType in interface Picturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setType(short rhs)
throws java.io.IOException,
AutomationException
setType in interface Picturerhs - The rhs )java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getWidth()
throws java.io.IOException,
AutomationException
getWidth in interface Picturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWidth(int rhs)
throws java.io.IOException,
AutomationException
setWidth in interface Picturerhs - The rhs (A COM typedef) )java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getHeight()
throws java.io.IOException,
AutomationException
getHeight in interface Picturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHeight(int rhs)
throws java.io.IOException,
AutomationException
setHeight in interface Picturerhs - The rhs (A COM typedef) )java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void render(int hdc,
int x,
int y,
int cx,
int cy,
int xSrc,
int ySrc,
int cxSrc,
int cySrc,
int prcWBounds)
throws java.io.IOException,
AutomationException
render in interface Picturehdc - 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)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.