public class IPictureProxy extends com.esri.arcgis.interop.Dispatch implements IPicture, java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
|
IPictureProxy() |
|
IPictureProxy(java.lang.Object obj) |
protected |
IPictureProxy(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 |
getAttributes()
getAttributes
|
int |
getCurDC()
getCurDC
|
int |
getHandle()
getHandle
|
int |
getHeight()
getHeight
|
int |
getHPal()
getHPal
|
short |
getType()
getType
|
int |
getWidth()
getWidth
|
boolean |
isKeepOriginalFormat()
isKeepOriginalFormat
|
void |
pictureChanged()
pictureChanged
|
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 |
saveAsFile(int pstm,
boolean fSaveMemCopy,
int[] pcbSize)
saveAsFile
|
void |
selectPicture(int hdcIn,
int[] phdcOut,
int[] phbmpOut)
selectPicture
|
void |
setHdc(int hdc)
setHdc
|
void |
setHPal(int phpal)
setHPal
|
void |
setKeepOriginalFormat(boolean pfkeep)
setKeepOriginalFormat
|
java.awt.Image |
toImage()
Converts this IPicture 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 IPictureProxy()
public IPictureProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected IPictureProxy(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 IPicturejava.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 IPicturejava.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 IPicturejava.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 IPicturejava.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 IPicturejava.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 IPicturehdc - 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.public void setHPal(int phpal)
throws java.io.IOException,
AutomationException
setHPal in interface IPicturephpal - The phpal (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getCurDC()
throws java.io.IOException,
AutomationException
getCurDC in interface IPicturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void selectPicture(int hdcIn,
int[] phdcOut,
int[] phbmpOut)
throws java.io.IOException,
AutomationException
selectPicture in interface IPicturehdcIn - The hdcIn (in)phdcOut - The phdcOut (out: use single element array)phbmpOut - The phbmpOut (A COM typedef) (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isKeepOriginalFormat()
throws java.io.IOException,
AutomationException
isKeepOriginalFormat in interface IPicturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setKeepOriginalFormat(boolean pfkeep)
throws java.io.IOException,
AutomationException
setKeepOriginalFormat in interface IPicturepfkeep - The pfkeep (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void pictureChanged()
throws java.io.IOException,
AutomationException
pictureChanged in interface IPicturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void saveAsFile(int pstm,
boolean fSaveMemCopy,
int[] pcbSize)
throws java.io.IOException,
AutomationException
saveAsFile in interface IPicturepstm - A COM void* (in)fSaveMemCopy - The fSaveMemCopy (in)pcbSize - The pcbSize (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getAttributes()
throws java.io.IOException,
AutomationException
getAttributes in interface IPicturejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHdc(int hdc)
throws java.io.IOException,
AutomationException
setHdc in interface IPicturehdc - The hdc (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.