|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.display.GraphicAttributeColorType
public class GraphicAttributeColorType
Color graphic attribute type.
GraphicAttributeColorType is a type of graphic attribute used for defining color objects such as RGBColor, GrayColor etc.
Constructor Summary | |
---|---|
GraphicAttributeColorType()
Constructs a GraphicAttributeColorType using ArcGIS Engine. |
|
GraphicAttributeColorType(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GraphicAttributeColorType theGraphicAttributeColorType = (GraphicAttributeColorType) obj; |
Method Summary | |
---|---|
void |
drawValue(Object value,
tagRECT rect,
int hDC,
boolean readOnly)
Draws a value on the device context. |
boolean |
equals(Object o)
Compare this object with another |
Object |
formatValue(Object value)
Formats the graphic attribute value. |
static String |
getClsid()
getClsid. |
int |
getType()
The graphic attribute type. |
int |
hashCode()
the hashcode for this object |
Object |
textToValue(String text)
Converts text to the graphic attribute value. |
String |
valueToText(Object value)
Converts the graphic attribute value to text. |
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 |
---|
public GraphicAttributeColorType() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GraphicAttributeColorType(Object obj) throws IOException
GraphicAttributeColorType theGraphicAttributeColorType = (GraphicAttributeColorType) obj;
obj
to GraphicAttributeColorType
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getType() throws IOException, AutomationException
getType
in interface IGraphicAttributeType
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object formatValue(Object value) throws IOException, AutomationException
formatValue
in interface IGraphicAttributeType
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object textToValue(String text) throws IOException, AutomationException
textToValue
in interface IGraphicAttributeType
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String valueToText(Object value) throws IOException, AutomationException
valueToText
in interface IGraphicAttributeType
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawValue(Object value, tagRECT rect, int hDC, boolean readOnly) throws IOException, AutomationException
drawValue
in interface IGraphicAttributeType
value
- A Variant (in)rect
- A Structure: com.esri.arcgis.system.tagRECT (in)hDC
- The hDC (A COM typedef) (in)readOnly
- The readOnly (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |