|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.CmykColor
public class CmykColor
COM Class 'CmykColor'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'A color in the CMYK(Cyan Magenta Yellow, Black) color system.' 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 =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.display.ICmykColor |
---|
IID, IID20cd40b2_8f3d_11d0_8590_0800091a2a72, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IColor |
---|
IID20cd40b0_8f3d_11d0_8590_0800091a2a72 |
Fields inherited from interface com.esri.arcgis.display.IPostScriptColor |
---|
IID, IID6060613e_1233_11d3_9f45_00c04f6bc709, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IClone |
---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize |
---|
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy |
Constructor Summary | |
---|---|
CmykColor()
Constructs a CmykColor using ArcGIS Engine. |
|
CmykColor(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CmykColor theCmykColor = (CmykColor) obj; |
Method Summary | |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
int |
getBlack()
The black component of an ICmykColor (0-255). |
void |
getCIELAB(double[] l,
double[] a,
double[] b)
The CIELAB value of color. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
int |
getCMYK()
The CMYK value of color. |
int |
getCyan()
The cyan component of an ICmykColor (0-255). |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getMagenta()
The magenta component of an ICmykColor (0-255). |
int |
getRGB()
The RGB value of color. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
java.lang.String |
getSpotDescription()
The description of the spot plate. |
short |
getSpotPercentage()
The saturation of the spot plate. |
byte |
getTransparency()
The Alpha Blending value. |
int |
getYellow()
The yellow component of an ICmykColor (0-255). |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isNullColor()
Indicates whether this color is null. |
boolean |
isOverprint()
Indicates if the color overprints. |
boolean |
isSpotColor()
Indicates if the color is a spot color. |
boolean |
isUseWindowsDithering()
Indicates if colors should be dithered to simulate colors that aren't supported by the display. |
void |
load(IStream pstm)
load |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a CmykColor. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setBlack(int black)
The black component of an ICmykColor (0-255). |
void |
setCIELAB(double l,
double a,
double b)
The CIELAB value of color. |
void |
setCMYK(int cMYK)
The CMYK value of color. |
void |
setCyan(int cyan)
The cyan component of an ICmykColor (0-255). |
void |
setMagenta(int magenta)
The magenta component of an ICmykColor (0-255). |
void |
setNullColor(boolean flag)
Indicates whether this color is null. |
void |
setOverprint(boolean flag)
Indicates if the color overprints. |
void |
setRGB(int rGB)
The RGB value of color. |
void |
setSpotColor(boolean isSpot)
Indicates if the color is a spot color. |
void |
setSpotDescription(java.lang.String desc)
The description of the spot plate. |
void |
setSpotPercentage(short percent)
The saturation of the spot plate. |
void |
setTransparency(byte alphaValue)
The Alpha Blending value. |
void |
setUseWindowsDithering(boolean useDithering)
Indicates if colors should be dithered to simulate colors that aren't supported by the display. |
void |
setYellow(int yellow)
The yellow component of an ICmykColor (0-255). |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public CmykColor() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic CmykColor(java.lang.Object obj) throws java.io.IOException
CmykColor theCmykColor = (CmykColor) obj;
obj
to CmykColor
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setCyan(int cyan) throws java.io.IOException, AutomationException
setCyan
in interface ICmykColor
cyan
- The cyan (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCyan() throws java.io.IOException, AutomationException
getCyan
in interface ICmykColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMagenta(int magenta) throws java.io.IOException, AutomationException
setMagenta
in interface ICmykColor
magenta
- The magenta (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMagenta() throws java.io.IOException, AutomationException
getMagenta
in interface ICmykColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYellow(int yellow) throws java.io.IOException, AutomationException
setYellow
in interface ICmykColor
yellow
- The yellow (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getYellow() throws java.io.IOException, AutomationException
getYellow
in interface ICmykColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBlack(int black) throws java.io.IOException, AutomationException
setBlack
in interface ICmykColor
black
- The black (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBlack() throws java.io.IOException, AutomationException
getBlack
in interface ICmykColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRGB(int rGB) throws java.io.IOException, AutomationException
setRGB
in interface IColor
rGB
- The rGB (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRGB() throws java.io.IOException, AutomationException
getRGB
in interface IColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCMYK(int cMYK) throws java.io.IOException, AutomationException
setCMYK
in interface IColor
cMYK
- The cMYK (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCMYK() throws java.io.IOException, AutomationException
getCMYK
in interface IColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseWindowsDithering(boolean useDithering) throws java.io.IOException, AutomationException
setUseWindowsDithering
in interface IColor
useDithering
- The useDithering (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseWindowsDithering() throws java.io.IOException, AutomationException
isUseWindowsDithering
in interface IColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCIELAB(double l, double a, double b) throws java.io.IOException, AutomationException
setCIELAB
in interface IColor
l
- The l (in)a
- The a (in)b
- The b (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCIELAB(double[] l, double[] a, double[] b) throws java.io.IOException, AutomationException
getCIELAB
in interface IColor
l
- The l (out: use single element array)a
- The a (out: use single element array)b
- The b (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparency(byte alphaValue) throws java.io.IOException, AutomationException
setTransparency
in interface IColor
alphaValue
- An unsigned byte (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte getTransparency() throws java.io.IOException, AutomationException
getTransparency
in interface IColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNullColor(boolean flag) throws java.io.IOException, AutomationException
setNullColor
in interface IColor
flag
- The flag (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isNullColor() throws java.io.IOException, AutomationException
isNullColor
in interface IColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOverprint(boolean flag) throws java.io.IOException, AutomationException
setOverprint
in interface IPostScriptColor
flag
- The flag (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isOverprint() throws java.io.IOException, AutomationException
isOverprint
in interface IPostScriptColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpotColor(boolean isSpot) throws java.io.IOException, AutomationException
setSpotColor
in interface IPostScriptColor
isSpot
- The isSpot (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSpotColor() throws java.io.IOException, AutomationException
isSpotColor
in interface IPostScriptColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpotDescription(java.lang.String desc) throws java.io.IOException, AutomationException
setSpotDescription
in interface IPostScriptColor
desc
- The desc (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSpotDescription() throws java.io.IOException, AutomationException
getSpotDescription
in interface IPostScriptColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpotPercentage(short percent) throws java.io.IOException, AutomationException
setSpotPercentage
in interface IPostScriptColor
percent
- The percent (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getSpotPercentage() throws java.io.IOException, AutomationException
getSpotPercentage
in interface IPostScriptColor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |