com.esri.arcgis.output
Class SpotPlate

java.lang.Object
  extended by com.esri.arcgis.output.SpotPlate
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISpotPlate, ISupportErrorInfo, Serializable

public class SpotPlate
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISpotPlate, ISupportErrorInfo

Class used to print maps with a PostScript Spot Plate.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
SpotPlate()
          Constructs a SpotPlate using ArcGIS Engine.
SpotPlate(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SpotPlate theSpotPlate = (SpotPlate) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IPostScriptColor getColor()
          The Color for Separation.
 double getScreenAngle()
          The Screen Angle for the Separation.
 int getSeparate()
          The Separation will be used.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void setColor(IPostScriptColor color)
          The Color for Separation.
 void setScreenAngle(double angle)
          The Screen Angle for the Separation.
 void setSeparate(int separate)
          The Separation will be used.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SpotPlate

public SpotPlate()
          throws IOException,
                 UnknownHostException
Constructs a SpotPlate using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SpotPlate

public SpotPlate(Object obj)
          throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SpotPlate theSpotPlate = (SpotPlate) obj;

Construct a SpotPlate using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SpotPlate.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setColor

public void setColor(IPostScriptColor color)
              throws IOException,
                     AutomationException
The Color for Separation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setColor in interface ISpotPlate
Parameters:
color - A reference to a com.esri.arcgis.display.IPostScriptColor (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

public IPostScriptColor getColor()
                          throws IOException,
                                 AutomationException
The Color for Separation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getColor in interface ISpotPlate
Returns:
A reference to a com.esri.arcgis.display.IPostScriptColor
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSeparate

public void setSeparate(int separate)
                 throws IOException,
                        AutomationException
The Separation will be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setSeparate in interface ISpotPlate
Parameters:
separate - A com.esri.arcgis.output.esriPSDriverSeparates constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeparate

public int getSeparate()
                throws IOException,
                       AutomationException
The Separation will be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSeparate in interface ISpotPlate
Returns:
A com.esri.arcgis.output.esriPSDriverSeparates constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setScreenAngle

public void setScreenAngle(double angle)
                    throws IOException,
                           AutomationException
The Screen Angle for the Separation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setScreenAngle in interface ISpotPlate
Parameters:
angle - The angle (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScreenAngle

public double getScreenAngle()
                      throws IOException,
                             AutomationException
The Screen Angle for the Separation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getScreenAngle in interface ISpotPlate
Returns:
The angle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Description

Indicates whether the interface supports IErrorInfo.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.