public class RgbColorDescription extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IColorDescription, IRGBColorDescription
Description 'A color description to describe RGB, red, green, blue colors.' 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 =
IID, IID54624289_e314_4d7f_85a3_53ddfc57cf55, xxDummy
IID, IID8e8ca536_36ea_4b06_8fa3_636074c5b162, xxDummy
Constructor and Description |
---|
RgbColorDescription()
Constructs a RgbColorDescription using ArcGIS Engine.
|
RgbColorDescription(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RgbColorDescription theRgbColorDescription = (RgbColorDescription) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
byte |
getAlpha()
The Alpha Blending value.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
getRGB()
The RGB value of color.
|
int |
hashCode()
the hashcode for this object
|
void |
queryRGB(int[] r,
int[] g,
int[] b)
Gets the red, green, blue components of a color respectively.
|
void |
release()
Release this COM object reference
|
void |
setAlpha(byte alphaValue)
The Alpha Blending value.
|
void |
setRGB(int rGB)
The RGB value of color.
|
void |
setRGB(int r,
int g,
int b)
Sets red, green, blue components of a color respectively.
|
public RgbColorDescription() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RgbColorDescription(java.lang.Object obj) throws java.io.IOException
RgbColorDescription theRgbColorDescription = (RgbColorDescription) obj;
obj
to RgbColorDescription
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic 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 setRGB(int rGB) throws java.io.IOException, AutomationException
setRGB
in interface IColorDescription
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 IColorDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAlpha(byte alphaValue) throws java.io.IOException, AutomationException
setAlpha
in interface IColorDescription
setAlpha
in interface IRGBColorDescription
alphaValue
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public byte getAlpha() throws java.io.IOException, AutomationException
getAlpha
in interface IColorDescription
getAlpha
in interface IRGBColorDescription
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRGB(int r, int g, int b) throws java.io.IOException, AutomationException
setRGB
in interface IRGBColorDescription
r
- The r (in)g
- The g (in)b
- The b (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryRGB(int[] r, int[] g, int[] b) throws java.io.IOException, AutomationException
queryRGB
in interface IRGBColorDescription
r
- The r (out: use single element array)g
- The g (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.