com.esri.arcgis.arcmapui
Class MetaFileClipboardFormat

java.lang.Object
  extended by com.esri.arcgis.arcmapui.MetaFileClipboardFormat
All Implemented Interfaces:
IClipboardFormat, IClipboardFormat2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class MetaFileClipboardFormat
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IClipboardFormat, IClipboardFormat2

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

Description 'Windows Metafile Clipboard Format (WMF).' 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.IClipboardFormat
IID, IID52bb5361_947e_11d2_acff_0000f87808ee, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IClipboardFormat2
IID, IID9d584d2e_bbca_423b_a94c_a4d25a4d52e5, xxDummy
 
Constructor Summary
MetaFileClipboardFormat()
          Constructs a MetaFileClipboardFormat using ArcGIS Engine.
MetaFileClipboardFormat(java.lang.Object obj)
          Construct a MetaFileClipboardFormat using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void copy(IMxDocument mxDocument)
          Copy selection to the Clipboard.
 void copyMap(IMxDocument mxDocument)
          Copy the entire view to the Clipboard.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 void getDescription(java.lang.String[] description)
          Description of the Clipboard format.
 void getFormat(int[] format)
          The Clipboard Format.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getPriority(short[] priority)
          Priority of the Clipboard format for Paste (1 to 100, 100 highest priority).
 void getStorageMedium(int[] tymed)
          StorageMedium for Paste.
 int hashCode()
          the hashcode for this object
 void paste(IMxDocument mxDocument)
          Paste the Element in the GraphicsContainer to the Clipboard.
 void release()
          Release a MetaFileClipboardFormat.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaFileClipboardFormat

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

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

MetaFileClipboardFormat

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems MetaFileClipboardFormat theMetaFileClipboardFormat = (MetaFileClipboardFormat) 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 MetaFileClipboardFormat.

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

getFormat

public void getFormat(int[] format)
               throws java.io.IOException,
                      AutomationException
The Clipboard Format.

Specified by:
getFormat in interface IClipboardFormat
Specified by:
getFormat in interface IClipboardFormat2
Parameters:
format - The format (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPriority

public void getPriority(short[] priority)
                 throws java.io.IOException,
                        AutomationException
Priority of the Clipboard format for Paste (1 to 100, 100 highest priority).

Specified by:
getPriority in interface IClipboardFormat
Specified by:
getPriority in interface IClipboardFormat2
Parameters:
priority - The priority (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public void getDescription(java.lang.String[] description)
                    throws java.io.IOException,
                           AutomationException
Description of the Clipboard format.

Specified by:
getDescription in interface IClipboardFormat
Specified by:
getDescription in interface IClipboardFormat2
Parameters:
description - The description (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStorageMedium

public void getStorageMedium(int[] tymed)
                      throws java.io.IOException,
                             AutomationException
StorageMedium for Paste. (Look up the C++ TYMED enumeration on MSDN for details).

Specified by:
getStorageMedium in interface IClipboardFormat
Specified by:
getStorageMedium in interface IClipboardFormat2
Parameters:
tymed - The tymed (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public void copy(IMxDocument mxDocument)
          throws java.io.IOException,
                 AutomationException
Copy selection to the Clipboard.

Specified by:
copy in interface IClipboardFormat
Specified by:
copy in interface IClipboardFormat2
Parameters:
mxDocument - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

paste

public void paste(IMxDocument mxDocument)
           throws java.io.IOException,
                  AutomationException
Paste the Element in the GraphicsContainer to the Clipboard.

Specified by:
paste in interface IClipboardFormat
Specified by:
paste in interface IClipboardFormat2
Parameters:
mxDocument - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copyMap

public void copyMap(IMxDocument mxDocument)
             throws java.io.IOException,
                    AutomationException
Copy the entire view to the Clipboard.

Specified by:
copyMap in interface IClipboardFormat2
Parameters:
mxDocument - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.